• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions change plublic/private for existing playlist

     
    • 0 Vote(s) - 0 Average

    change plublic/private for existing playlist

    deafhobbit
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #1
    2024-06-07, 02:45 PM
    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!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-07, 04:28 PM
    Going to do some testing and I'll get back to you.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-06-07, 05:28 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    deafhobbit
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #4
    2024-06-08, 01:27 PM
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-06-08, 04:03 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    deafhobbit
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #6
    2024-06-08, 04:35 PM (This post was last modified: 2024-06-10, 04:59 PM by deafhobbit. Edited 1 time in total.)
    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.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode