Jellyfin Forum
change plublic/private for existing playlist - 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: change plublic/private for existing playlist (/t-change-plublic-private-for-existing-playlist)



change plublic/private for existing playlist - deafhobbit - 2024-06-07

recently, i lost all the music playlists i had previously build on my truenas scale jellyfin server. the playlists all still existed, but they had all been set to include zero songs. i don't know why this happened, and will look into it eventually, but that's not today's problem. 

thankfully, i was able to recover my old playlists by cloning an old zfs snapshot, copying out everything from /config/data/playlists/, and pasting that back into the the same directory in the current version. issue is - all of these playlists appear to have been set to private when i did this. previously all users were able to see all of them, but now users can only see the ones they created.

i can create new public playlists all users can see, so i'm sure i could fix this by re-creating them, but that would be very time consuming. is there any way to change an existing playlist from private to public? i can't find an option for this in the gui, and i don't see a private/public flag anywhere in the playlist.xml files.

thanks!


RE: change plublic/private for existing playlist - TheDreadPirate - 2024-06-07

Going to do some testing and I'll get back to you.


RE: change plublic/private for existing playlist - TheDreadPirate - 2024-06-07

There is no property in the playlist XML itself that makes it private or public so I am assuming that there is a property stored in the database that tracks that. And I don't see a way in the UI to toggle that. So you'd have to dive into the database to flip that value.


RE: change plublic/private for existing playlist - deafhobbit - 2024-06-08

do you think it'd be easier to just delete and re-build them? i have all the old playlist.xml files, so i could just create new playlists that are set to public and drop them in.


RE: change plublic/private for existing playlist - TheDreadPirate - 2024-06-08

What you can do is copy the playlist file elsewhere and create a new playlist. Then just copy the section of the original file with the actual video/song list into the new XML.


RE: change plublic/private for existing playlist - deafhobbit - 2024-06-08

yeah, i figured something like that would work. i had a lot of playlists though, so i had hoped there'd be a way to just fix the existing ones, rather than rebuilding them.

edit - i ended up just deleting the live versions of the playlists which didn't include any tracks, creating new public ones with the same names, and restoring the old contents from my backups. i didn't even need to edit the new playlist.xml files - overwriting the full file with the old playlist.xml i'd recovered for each playlist worked just fine.

would be nice if there was a way to change public/private for playlists in the gui, but i know private playlists are a new feature.