Jellyfin Forum
Playlist Transfer - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: Playlist Transfer (/t-playlist-transfer)



Playlist Transfer - Sneller61 - 2024-01-12

Hidy Ho from Colorado,

Long time user and first time forum user.

I am in the last stages of duplicating My Jellyfin server on my M2 Powerbook(MacOs Sonoma 14.2.1, Jellyfin-10.8.13) to a Terramaster NAS(TOS 5.x Jellyfin- 10.8.13). All libraries, structures, naming conventions  are identical.

I have over 50 playlists that I would like to transfer but after way to many hours I am still stumped.

Is this even possible? If not, a simplified process to do this this would be an AWESOME FEATURE! 

Do I have to bite the bullet and do it manually?

I'm really weak on line command solutions-just fyi.

Any help would be appreciated.


RE: Playlist Transfer - TheDreadPirate - 2024-01-12

There should be a playlist folder with a bunch of files in it for each playlist. IIRC there is a .config directory in your home folder. The playlist folder is somewhere in there.

Since you said you aren't familiar with command lines, the dot at the beginning of .config means it is hidden unless you tell the command line or UI to show hidden items.


RE: Playlist Transfer - Sneller61 - 2024-01-12

Thanks for responding.
I have the Jellyfin folder with all that(~/.local/share).
Contains metadata, playlist info (in xml format)

What do you suggest?


RE: Playlist Transfer - TheDreadPirate - 2024-01-12

It should be as simple as finding the playlist folder on your Terramaster and copying those XML files in there.


RE: Playlist Transfer - Sneller61 - 2024-01-16

(2024-01-12, 08:46 PM)TheDreadPirate Wrote: It should be as simple as finding the playlist folder on your Terramaster and copying those XML files in there.

Thanks again. I have tried that many times. The Jellyfin folder just gets overwritten(at least that's been my experience) when you fire up the server. I think the problem is with the volume name in the .xml file.  On the source server the volume is "/workmedia/yada/yada/yada". On the target server, the volume name is "Volume1/yada/yada/yada", so when you drag it over it has the old volume name. The rest of the path is valid.

I tried a global search and replace before and was unsuccessful, I think I'll try again. Open to any suggestions.


RE: Playlist Transfer - William Staven - 2025-06-21

Try tracklist .pro


RE: Playlist Transfer - wbravin - 2025-11-02

(2024-01-12, 06:30 PM)TheDreadPirate Wrote: There should be a playlist folder with a bunch of files in it for each playlist.  IIRC there is a .config directory in your home folder.  The playlist folder is somewhere in there.

Since you said you aren't familiar with command lines, the dot at the beginning of .config means it is hidden unless you tell the command line or UI to show hidden items.

@TheDreadPirate

hello all

Since January of this year i have been struggling with my whole sistem.. I bit the bullet and reinstalled everything from proxmox to truenas to jellyfin. and still was not working well so i re-develop the proxmox server to and just installed truenas with a jellyfin app.

This means that hi had to rebuild my jellyfin server from scratch.

I had all my Jellyfin playlists on my backup server and i tried to copy and paste all the playlists from my data/playlist     to my new server data/playlist.

as i restart jellyfin client i see the playlists in my playlist library however i always get a playerror.

How do i avoid re-building 167 playlists over and over again every time i need to reinstall Jellyfin
  

Thank you


RE: Playlist Transfer - gotkube64 - 2025-11-03

@wbravin

So, I've also recently had a problem with my playlists vanishing after migrating my library. With a little help from ChatGPT, it seems the xml files at jellyfin/data/playlists get written after the fact, and are also stored in the library.db file under the 'data' column of the TypedBaseItems table.

Going back to my old (known working) library.db, I was able to find a json blob containing my playlist details and dump it to a .json file, change the path of each file in the blob to the location on the new server, then restored that file on my new Jellyfin server for a playlist of the same name, and it worked!

Since I suspect I'll encounter this issue again in the future, I wrote a couple scripts to help the process along a little; I've posted them to my github in case it helps someone else: https://github.com/gotkube/jellyfin-playlist-dump


RE: Playlist Transfer - wbravin - 2025-11-03

@gotkube64

Thank you for your reply

I think it is a issue with Jellyfin architecture.

IMOH when installing Jellyfin, it should not be the installation attributing ownership of the playlist it should be the to decide the ownership and UID. Simply because a user may have more than one installation, either a redundant server (such as i do) a second home or a mobile device (other than a phone) which could be mobile home/camper boat etc.

I looked at the link provided. At the moment i do not understand how to use it or its benefits.

I will try it next week

I'm also a proud to be canadian


RE: Playlist Transfer - gotkube64 - 2025-11-04

@wbravin

Agreed, Jellyfin shouldn't make migration so difficult. Hopefully one day that'll be resolved. At least in the meantime we seem to know where/how playlist data is stored, so as long as you have an intact library.db file that hasn't had the playlist data wiped, we can retrieve it with the scripts on my github.

It does involve a bit of technical know-how and I've only tested them on my Linux boxes. MacOS *might* work, and Windows will need a bit of a different approach. Which OS are you running Jellyfin on?