Jellyfin Forum
playlist creation tools - 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 creation tools (/t-playlist-creation-tools)



playlist creation tools - Peter Weyandt - 2025-01-06

Is there any way to manually update a playlist in JellyFin?  I have some large music playlists I want to add.  They current methods I have seen are pretty much one off. 
I tried creating a playlist and found there is an xml file that is created.  I tried manually editing the playlist but it did not work and when I added another song the ones I manually added were over written.
I am thinking that the playlists are actually stored in a Db not in the xml files and the xml files are perhaps back up. 

Are there any instructions for manually editing the playlists?
Thanks for the help.


RE: playlist creation tools - TheDreadPirate - 2025-01-06

I think it is both the DB and the XML. How do you want to edit the playlist? Add songs? Remove songs? Move them around? You can do all of those things, as long as you are the owner of the playlist.


RE: playlist creation tools - Peter Weyandt - 2025-01-07

I am mostly just adding songs already in my library.  I have a lot of playlists that I have ported around for a few years. It would be a lot of work to add songs one at a time.  I saw that I can add albums and even genres or artists. 
I was planning on writing a script to iterate over the old list to extract the data I needed, I think just the link to the song based on what I saw, and then manipulate the text in the xml file. 
I think I did the same thing to import the playlists into Plex.  I think there may have been an API available with Plex to edit the DB.
It does look like the playlist is in the db.  If there is not an API I would need to figure out how I would work on the DB in my case.  I have Jellyfin running in a Podman container on Fedora.


RE: playlist creation tools - Peter Weyandt - 2025-01-07

I just found this.... https://api.jellyfin.org/#tag/Playlists
It looks like this is the way to go. I am going to play around a bit and see if I can update a playlist via the API.
I will update this post with my results as soon as I get some time to play around with it.
Thanks for your help "TheDreadPirate"


RE: playlist creation tools - TheDreadPirate - 2025-01-07

Jellyfin does not allow editing of, I'm assuming, M3U playlists that are in your music library folder.

BUT, if you do have existing M3U playlists you should be able to add that existing playlist to a new playlist that is Jellyfin created and managed.


RE: playlist creation tools - Peter Weyandt - 2025-01-08

are there instructions on how to do this? I am trying to work through the API but having a difficult time with the documentation.


RE: playlist creation tools - TheDreadPirate - 2025-01-08

Click on the "..." context menu for the playlist and "Add to playlist", select "new", name the playlist, done.