Jellyfin Forum
Music Playlists - 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: Music Playlists (/t-music-playlists)



Music Playlists - wbravin - 2024-06-20

Hello all

I am running the latest Jellyfin server as an app on trunas scale which in turn is installed as a VM on proxmox since last november.

During this period i had to rebuild my server twice and there were several updates and upgrades  to truenas and jellyfin.

I listen to music via music playlists that i build. (when I was using Kody I had 365 playlists which now do not work in Jellyfin. ...bummer)

During this period I came to the realisation that i can save my Jellyfin files on my nas. This included the playlists that i built in Jellyfin Great

In the last 2 weeks that was an issue caused by the updates of truenan Jellyfin server and Jellyfin client. 

I had to delete the Jellyfin app from truenas and reinstall it.

Before doing this i made a copy of all the playlists i created in Jellyfin to another dataset. 

and once the jellyfin server app was installed and configured, I copied back the old jellyfing playlists to the new Jellyfin location.

I thought this way i did not have to rebuild or add to my existing playlist

when the Jellyfin client starts and i go to the playlists in my media heddings,     I saw all my old playlists and they played correctly therefor no issue ... so i thought

As my playlist are always evolving, when i listen to my music i decided to add a track to another playlist (let's call it soft rock).

As mentioned the soft rock playlist shows up in the old Jellyfin playlists, however while playing the track form another playlist or from the list o songs i have, when I right click on the 3 dots of the song and select add to playlist,

The add to playlist scene appears and offer only to add a new playlist

the names of the old Jellyfin playlists do not appear.

I believe this should be possible

What did i not set or do correctly? or is this an issue for Jellyfin to resolve?

Thank you in advance for any help provided


RE: Music Playlists - TheDreadPirate - 2024-06-20

You probably have to replace the owner ID in the old playlists files with your current user ID.


RE: Music Playlists - wbravin - 2024-06-22

@TheDreadPirate

Thank you for your reply.

On all of my Jellyfin installations I always use the same (always in lowercase) UID and PWD.

My truenas datasets (where i stored my Jellyfin playlists has the UID and PWD. In addition I set up full privileges for Jellyfin user just in case and for good measure.

I verified the credentials of all media datasets and no changes were done

I then rebooted truenas

alas to no avail

Thank you


Thank you for your reply


RE: Music Playlists - pixel24 - 2024-06-22

He doesn't mean the system user or the user in Jellyfin (name/UID). When you create a user with the same name/password on a different Jellyfin installation, it will have a different internal ID in Jellyfin.

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Item>
  <Added>04/13/2024 13:39:04</Added>
  <LockData>false</LockData>
  <LocalTitle>00000-Test</LocalTitle>
  <RunningTime>264</RunningTime>
  <Genres>
    <Genre>Big Beat</Genre>
    <Genre>Electronic</Genre>
...
  </Genres>
  <Studios>
    <Studio>Virgin</Studio>
    <Studio>Freestyle Dust</Studio>
    <Studio>Cashbeat</Studio
...
  </Studios>
  <OwnerUserId>f14345745756810a8df5eeab</OwnerUserId>
  <PlaylistItems>
    <PlaylistItem>
      <Path>/data01/Audio/Musik/Chemical Brothers/Dig Your Own Hole/The Chemical Brothers - Block Rockin’ Beats.ogg</Path>
    </PlaylistItem>
...

The tag
<OwnerUserId>.....</OwnerUserId>
in the playlist.xml file is relevant.


RE: Music Playlists - pixel24 - 2024-06-22

I've already tried the following approach:

I have two different Jellyfin installations with JF 10.9.6. The library path is the same on both installations (/data01/Audio/Music), and it's the same SMB share.
On the target system, I created a new playlist and copied the <OwnerUserId>.....</OwnerUserId> from its playlist.xml.
I then copied the old playlists from the source system to the target system and updated the OwnerUserId in all the playlists.
This approach seems logical to me. However, Jellyfin does not display these playlists, even after a restart.
Maybe you'll have better luck.


RE: Music Playlists - wbravin - 2024-06-22

Hello all

Thank you for your comments and replies.

I looked at the old playlist and yes the do have a user id of 00000000000000000
I tried to copy an old playlist to notepad and replaced the UID with the one created and displayed in a newly created small playlist
And saved it as a new playlist with a similar name as the old one

Even performing a search and replace the 00000000000000000 and replace with the newly created UID does not work

it did not work

If I may suggest

When adding Jellyfin server to an environment (be it as an app truenas or as LXC in proxmox) A new Jellyfin UID should be created and this is fine.

However the data for Jellyfin (which i have located in a dataset called Apps with a child called Jellyfin) the data in the dataset and its childs are controlled by ACL

when the server is setup and you cose to add data you point to the media datasets fine
When you set up the server and you add your credentials these credentials should govern the Jellyfin libraries and all its ancillaries.

If Jellyfin needs for whatever translate the UID to a numerical sequence this is fine however there should be a process whereby the end user has the possibility to edit this field, or better yet Jellyfin should create the same UID for the new playlists as the old UID if the user is the same the network is the same and the environment on which Jellyfin is installed the the UID generated should be Identical.

If the end user does not want this, the use must create new credentials

I presume that can be achieved within the Jellyfin server environment

From my part this will be again a massive undertaking that should/could be avoided

Any suggestion

Thank you all for taking time from your busy life to help me


RE: Music Playlists - wbravin - 2024-06-29

Hello all

I have been tinkering with playlists and i cannot find a way to edit the UID of the playlist created in one jellyfin instance to use the UID of the new jellyfin installation.

Any thoughts

Thank you


RE: Music Playlists - TheDreadPirate - 2024-06-30

Your other option is to make a new playlist and just copy the playlist items into the new XML. Between the <PlaylistItems> tags.


RE: Music Playlists - wbravin - 2024-06-30

Hello @TheDreadPirate

Thank you for this response

Since this morning I have been trying to tinker with your suggestion.

I will try this and give feedback

Once again thank you


RE: Music Playlists - wbravin - 2024-10-09

Hi @TheDreadedPirate

Sorry it took so long to update my situation.

I had to rebuild my environment several times and it not go as well as it should have.

However now is all up and running almost perfectly.

I did tinker with your suggestions and of course they worked well. Thank you

In addition i copied the owneruserid from a newly created playlist and substitute the owneruserid 000000000000 in the old playlists with the owneruser id from the newly created playlist. 

I see and play all my playlists well. However I do not see these playlists in the dropdown menu when adding a track to this playlist.

To allow this i need to go back to your recommendation and open this playlist copy it to a new playlist delete the od playlist and then rename the new playlist with the old name.

Now this playlist name is visible in the dropdown menu

This now it all works thank you.

I would however please ask the jellyfin team to spend some attention to this issue and simplify this process 

Once again thank you