Jellyfin Forum
Album Tracks Shuffle When Added to Playlists - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Album Tracks Shuffle When Added to Playlists (/t-album-tracks-shuffle-when-added-to-playlists)

Pages: 1 2


Album Tracks Shuffle When Added to Playlists - Visible-Day-2366 - 2024-09-22

When I add an album to a new or existing playlist, the order of the album's tracks is shuffled. The shuffled order is consistent; adding the same album to 2 other playlists will add the tracks in the same shuffled order, not sure where the incorrect logic is stemming from. Would really appreciate a solution to this, thanks.


RE: Album Tracks Shuffle When Added to Playlists - TheDreadPirate - 2024-09-22

I vaguely remember another user with a similar, but different, issue. IIRC, their issue was caused by the songs not having a track number in the metadata. I'm wondering if that is what is happening here as well.

Found it.

https://github.com/jellyfin/jellyfin/issues/10879

Conflict between track number of sort title. Is that what is happening here?


RE: Album Tracks Shuffle When Added to Playlists - Visible-Day-2366 - 2024-10-04

Sorry for the late response! All my tracks have track numbers in their metadata. What's really weird is that adding a playlist to another playlist retains the order, so this behavior is exclusive to albums.

Can anyone running the latest version on Docker confirm if this behavior can be reproduced? Hoping it's not an issue with my install.


RE: Album Tracks Shuffle When Added to Playlists - Visible-Day-2366 - 2024-10-16

Update: After testing, I can now confirm that this behavior is occurring even on new Jellyfin Docker containers (running version 10.9.11). What remains to be seen is if this is a Docker-exclusive issue or not.

If someone running v10.9.11 on a non-Docker setup can try adding an album to a playlist and compare the track order, we can hopefully narrow down the cause of this.


RE: Album Tracks Shuffle When Added to Playlists - theguymadmax - 2024-10-16

Tracks added to a playlist are sorted by their ItemIds (numerically first, then alphabetically), rather than by track number, title, or other metadata fields. If you click the Kebab Menu on a track, you can choose "Copy Stream URL" to view the ID. I'm not sure if this is a bug or a feature request, but you can submit an issue to the Jellyfin repository.


RE: Album Tracks Shuffle When Added to Playlists - Visible-Day-2366 - 2024-10-17

(2024-10-16, 03:54 AM)theguymadmax Wrote: Tracks added to a playlist are sorted by their ItemIds (numerically first, then alphabetically), rather than by track number, title, or other metadata fields. If you click the Kebab Menu on a track, you can choose "Copy Stream URL" to view the ID. I'm not sure if this is a bug or a feature request, but you can submit an issue to the Jellyfin repository.

Thank you for this find! Yes, I can confirm that this logic is indeed outputting the behavior I've been experiencing. I'm going to submit an issue, as I don't believe it is intuitive to sort by the ItemIds as opposed to the track numbers. Cheers!


RE: Album Tracks Shuffle When Added to Playlists - Visible-Day-2366 - 2024-10-19

Quick follow up, I submitted the issue a few days ago, but it now leads to a 404 error when trying to view it here: https://github.com/jellyfin/jellyfin/issues/12836

Can anyone confirm if they receive a 404 error when trying to view it?


RE: Album Tracks Shuffle When Added to Playlists - TheDreadPirate - 2024-10-19

It was probably moved to a different Jellyfin repo. I'll ask the team if they know which repo it was moved to.


RE: Album Tracks Shuffle When Added to Playlists - TheDreadPirate - 2024-10-19

What was the title of that github issue?


RE: Album Tracks Shuffle When Added to Playlists - TheDreadPirate - 2024-10-20

Looks like github auto nuked it?