Taiko2k / Tauon

The music player of today! :city_sunrise:
https://tauonmusicbox.rocks
GNU General Public License v3.0
1.64k stars 64 forks source link

Jellyfin: albums with same name but different year get merged #1091

Open axelsimon opened 4 months ago

axelsimon commented 4 months ago

Hello! An example: Bad Religion's 1998 album Suffer was remastered in 2004, and i have both in my Jellyfin collection.

They show up as two different albums in Jellyfin's web interface, but once added to the magic Tauon playlist that represents the Jellyfin collection, they are merged:

image

This is annoying as it means you can't just put the album on and have to skip every other song (unless you want to listen to each song twice).

Any possible fix?

Taiko2k commented 4 months ago

Ok I committed a probable fix, not tested yet though. On update you will need to re import the main playlist for the change to take effect.

This fix works by adding the album year to Tauons internal "folder title" metadata of the track, which should indirectly cause the sorting algo to keep them apart. This might not cover all cases though, such as if the album doesn't have a year, might need to come up with a different strategy in that case.

axelsimon commented 3 months ago

Very nice, thanks @Taiko2k. I'm on 7.7.1 now, i can see it's different, but it looks like this now: image

Which seems to be the same issue i just confirmed/reported in #1085 :)