music: fix music loading crash with weird genres

Fix an issue where genres consisting only of whitespace crash the genre
parser, and thus the music loader.

Band-aid this by moving the trimming code out of splitEscaped and into
maybeParseSeparators. In a future version I'll need to figure out how I
want to handle these weird edge cases.
This commit is contained in:
Alexander Capehart
2022-12-29 21:09:35 -07:00
parent 6db50a0e45
commit 05cf0f7261
4 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ audio focus was lost
- Switched to issue forms
- Completed migration to reactive playback system
- Refactor music backends into a unified chain of extractors
- Add bluetooth connection reciever (No functionality in app yet)
- Add bluetooth connection receiver (No functionality in app yet)
## 2.6.4