swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
755 stars 41 forks source link

Genre separator #217

Open platypusgit opened 3 months ago

platypusgit commented 3 months ago

Hi there,

I recently updated my library with new genre-tags and the tool I used, uses ";" instead of "," as a separator between multiple genres. I only realized afterwards, that swingmusic is not able to split the genre with ";" and instead merges them.

Example:

Hip Hop; Rap

is parsed and shown as

"Hip Hoprap"

where as

Hip Hop, Rap

Is correctly separated.

In the settings you can customize artist separators, I would like to suggest to introduce the same customization for the genre-tag.

Thank you so much for your work, swingmusic is a great piece of work.

cwilvx commented 3 months ago

Hi @platypusgit

The genres are split using the following characters:

/ , & ;

Somehow ; does not work on your case and I don't know why. But I agree we should have allow users to customize genre separators like we do for artists.

We'll work on this in the future.

Thank you.

platypusgit commented 3 months ago

Hi @cwilvx,

thank you so much.

I dug through other issues here on github and it might also be connected to https://github.com/swingmx/swingmusic/issues/184 .

cwilvx commented 3 months ago

Hi @platypusgit

Just in case it's a problem with the underlying tag reading library we use, I've updated to the latest released version (Tinytag v1.10.1).