Jump to content

Update to server 4.6.7 has lost my playlists


Go to solution Solved by ScottBouch,

Recommended Posts

Posted (edited)

As above, is there any way to recover my playlists after the upgrade?

The playlists are still shown with 4x album art, however, no actual songs are listed within them.

Bit annoying as I had put together a mega Christmas playlist, and now have just 1 (busy) week to try and put it back together manually, unless there is a magic fix?

(Ubuntu 20.04, Emby Server 4.6.7)

Cheers, Scott.

Edited by ScottBouch
Posted (edited)

Screen-shots...

All playlists from before the upgrade are still listed:

emby-playlist-0.thumb.jpg.3c06eb3565cda395ac4472e93efd29f5.jpg

 

Samples of empty playlists, but note how the genre's are still shown as well as 4x album artworks, and the total play time:

emby-playlist-1.thumb.jpg.4d8f976875ff0ca7506f6b9ba27a6039.jpg

emby-playlist-2.thumb.png.e7931cc67491c53519ef9c7a1f950f6d.png

 

Thanks, Scott.

Edited by ScottBouch
Posted (edited)

Well, nothing else has changed, the media is still in the same place, I will go and check that xml info and feed back, thanks for the pointer.

Edited by ScottBouch
Happy2Play
Posted
3 minutes ago, ScottBouch said:

Well, nothing else has changed, the media is still in the same place, I will go and check that xml info and feed back, thanks for the pointer.

Also as a test can you create a new playlist to see if it brings back existing playlists.

Posted

Just followed the guidance, and the .xml files are present, and paths do align with the folders:

emby-playlist-xml.jpg.ec6fed817939e7b2adc8078430c27a59.jpg

emby-playlist-folder.jpg.121b88f7a82c9396c0ac859f8232ca50.jpg

 

I will go ahead now and test with a new one as you suggest. Thanks for this help dude!

 

Posted

Ok, sadly it failed the test.. .new playlist built ok, but old ones still missing their songs.

New playlist:

emby-playlist-test.thumb.jpg.744bb432aa4b4e97fc621a0ec0d5b3eb.jpg

As the .xml files are still there, it may be something in how the updated Emby server is reading them?

I will check between the new Test one and an old one for any differences.

Are any details of the playlists held separately to the xml files, like in a database? ie: wondering how Emby can recall certain aspects of the playlists, just not the song list.

Cheers, Scott

 

Posted

Ah, yes, the new test .xml is missing the Studios Shares and PlaylistMediaType tags:

<Studios>
    <Studio>.....</Studio>
</Studios>

....

  <Shares>
    <Share>
      <UserId>1</UserId>
      <CanEdit>true</CanEdit>
    </Share>
  </Shares>
  <PlaylistMediaType>Audio</PlaylistMediaType>

 

I'm going to back up one old playlist, edit these tags out of it and see if that helps.

Posted

BINGO!

Yes, deleting the tags listed in my last post has fixed it!! Awesome!

emby-playlist-fixed1.thumb.jpg.fa073aba53fc4f2ea22d00c252647406.jpg

 

Thanks again for the pointer!!

Cheers, Scott

  • Solution
Posted (edited)

For anyone else reading this in the future - for the changes to actually take effect:

  • On Ubuntu 20.04, I found the playlist files at: /var/lib/emby/data/playlists
  • The following lines need to be removed from the playlist .xml files (sudo privileges are required).

<Studios>
    <Studio>...(also remove everything in between)...</Studio>
</Studios>

......(leave the songs in place)......

  <Shares>
    <Share>
      <UserId>1</UserId>
      <CanEdit>true</CanEdit>
    </Share>
  </Shares>
  <PlaylistMediaType>Audio</PlaylistMediaType>

  • On the Emby home page, under My Media, and right click on Playlists icon image, select Scan Library Files, within a few seconds Emby will have read the  updated files and you're good to go.

Cheers, Scott

Edited by ScottBouch
  • Thanks 1
Happy2Play
Posted

If I had to guess it would be <Shares> as all/most of my playlists have <Studios> and <PlaylistMediaType>.  But it is hard to say.

There are a couple topics where users Playlists have disappeared but adding a playlist usually resolves the issue.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...