Jellyfin Forum
Playlist Management - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Playlist Management (/t-playlist-management--7204)



Playlist Management - wbravin - 2024-07-30

Hello all

Since my server debacle several years ago, I had to rebuild all my playlists in Kodi at the time. 

Then came the second server reconfigurations and at that time i migrated to Jellyfin.

I listen to my music exclusively via playlists

I have created in an "apps" dataset on my truenas server which is a vm on proxmox. Jellyfin server is installed as an app within truenas scale 

As I rebuild all my playlist I am somewhat confused on how Jellyfin manages  (MACD) and play the playlist.

There is the creation and additions to a playlist. when i want to to add a track to a playlist i select add to playlists by clicking on the 3 dots of the song (or for that matter the whole album).

I box appears and offer to create a new playlist or add to an existing playlist. .... Perfect


My question are:
1) the available playlists shown in this box, were resides folder which jellyfin use to reads these playlist and populate this box?

On the main library screen the box is created I presume that once the playlist is created and populated, the playlist is saved in Jellyfin - data-playlists.
I regularly copy these playlists to my music dataset on my truenas server. 

2) why are the playlists located in my music dataset folder when copied back to Jellyfin-data - playlists do not show up in the box for creating and adding to playlist?

Now that my system is now fully redundant and this process is fully automated, I would like to continue to build new playlists and i want to ensure that if i screw again (i will) i could easily restore my apps , my configurations and contents.

Thank you for your help

If more experienced individuals have a better way to manage this environment  your recommendations are welcomed


RE: Playlist Management - TheDreadPirate - 2024-07-30

1) Playlists created through the Jellyfin UI are stored in container path /config/data/playlists/

2) Playlists that Jellyfin creates are way different than playlists that other apps create. AFAIK, Jellyfin will only read in M3U playlists stored in your library directories.


RE: Playlist Management - wbravin - 2024-07-31

@TheDreadPirate

Thank you very much for your prompt reply

I have the following configuration

As mentioned Jellyfin files are in a dataset called "app/jellyfin/data/playlists". I believe that this was set up during my latest install and configuration of Jellyfin app in truenas

If I look at the folder above, i have 20 playlists listed. The list is identical to the list of playlists shown in the Jellyfin gui and all are playable so far so good

How ever when i go to add a track to one of these 20 playlists The pop up window "add to playlists" i only see 7 playlists as an option plus the option to create a new one.

How to i fix this ?

Thank you as always


RE: Playlist Management - TheDreadPirate - 2024-07-31

I did some testing, if you aren't the owner of the playlist you won't be able to add to it.


RE: Playlist Management - wbravin - 2024-08-02

@TheDreadPirate

I do not know how this is possible.

I opened an existing playlist and select the 3 dots to add it to a new playlist "name1" and and it saved it to my path " /media/app/jellyfin/data/playlists and now i had 21 playlists in this folder and 21 playlist names in the jellyfin dashboard ("name and name1").

However in the add playlist dropbox i now had 8

I looked ad the playlist "name" and "name1" in wordpad and in fact i do see that the "name"playulist has 00000000000 as owner and the name1 playlist has xxxxxxxxxxxxxx in that field.

I could copy the owner id from "name1" to "name". This is too cumbersome using the process i use above is less prone to errors

Then in the /media/app/jellyfin/data/playlists delete all the old playlists ("name") and the rename the new playlists from "name1" to name. this works

However jellyfin must have a reason why they tag the playlist to an owner (i do not see it)

I honestly believe that this playlists functionality should be an option for the user if they need to segregate the access of the playlists this restriction should be implemented manually.

I v=can see the segregation of the playlists done by the web app (for general use) and by the player to limit the playlist to that player or group of players

Thank you for you input and the time you took to investigate and test this issue

Be well


RE: Playlist Management - wbravin - 2024-08-02

Hello All

After playing with this solution all morning., this is the current situation

After choosing a playlist i select the 3 dots on the bottom right hand corner and i select add to playlist, the playlist context box appears
the option are selecting from a list of presented playlists or to create a new one.

If i select new, and add a name of the original playlist+1 and click save

After updating the library i see the oldplaylistname+1 in the jellyfin player interface

I go to my share drive /media/app/jellyfin/data/playlists and see the new playlist name there and after clicking to edit i see a user ID of XXXXXXXXXXXXXXXX fine

I see the playlist in its correct place.

I try to add a track by 3 dots- add to playlist and i can see the new playlist in the context box

i went back to my shared folder and renamed the playlist to its correct name. The playlist shows up in the playlists listing. however if i try to add a track to this playlist. I cannot select the new playlist because its not there.

I go back to may shared drive and open the playlist.

To my surprise now the UID is all 000000000000000000

I even tried to edit the metadata (the name) of the new playlist and saved it ..... Same result 

From the sound of what @TheDreadPirate says i must be missing something

Thank you all for putting up with me


RE: Playlist Management - TheDreadPirate - 2024-08-02

Jellyfin writes the owner ID in the file, but also in the database. So your attempt to rename the new playlist to the old name conflicts with the ownership stored in the database for the old playlist.

Playlist ownership is new to 10.9. If playlists were created in 10.8 they are globally readable and, I think, writeable. New playlists can be globally readable, but I think only the owner can write to them.

I'd have to do some testing, but I believe that is how playlists work then and now.


RE: Playlist Management - wbravin - 2024-08-03

Thank you for your patience

Now i understand that i will need to change the name in 2 places.

The ownership issues you mentioned does seem to be at the foot of the problem. IMHO this is complicating issues with no added value.

Be that as it may, how to i get to edit the name of the playlists in the db? where is it?

Once again thank you