• 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 Playlist Management

     
    • 0 Vote(s) - 0 Average

    Playlist Management

    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #1
    2024-07-30, 08:25 AM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-30, 02:52 PM
    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.
    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]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #3
    2024-07-31, 09:31 AM
    @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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-31, 02:36 PM
    I did some testing, if you aren't the owner of the playlist you won't be able to add to it.
    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]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #5
    2024-08-02, 07:51 AM
    @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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #6
    2024-08-02, 11:36 AM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-08-02, 02:31 PM
    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.
    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]
    wbravin
    Offline

    Member

    Posts: 92
    Threads: 19
    Joined: 2023 Sep
    Reputation: 0
    Country:Italy
    #8
    2024-08-03, 05:39 AM
    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
    Servers: Dell r720 128gb ram  2x 5690  24tb HGST
    Supermicro x10 32 gb ram 1 X 5675   20TB HGST
    Proxmox on all machines hosting OPNsense Home Assistant OS Truenas scale with Jellyfin  in a jail in truenas   
    I still say to use less internet and use more cabernet (responsibly (only if driving))
    be well now


    « 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