Jump to content

How do I convert an Emby music playlist to an m3u playlist?


Recommended Posts

Posted

I'm in the process of moving my music files to a different directory, and I don't want to lose my favorites. I created a playlist of all my favorite songs, and I was hoping to just edit the playlist file pointers so it pointed to the new location making it easy to re-favorite all my favorite songs. Unfortunately, I can't seem to edit the Emby favorites xml file. I change it, but as soon as I rescan playlists and look at the playlist again, my favorite songs that are pointing at the new directory are gone. I don't have this problem with m3u's since they use relative paths.

Is there an easy way to convert an Emby music playlist to an m3u?

Or maybe some other solution to keep my favorite songs after moving all my music files to a different directory?

Posted

Ok, thanks. I got it working. I only moved 1 file to test, but it appears the library scan to pick up the 1 file took longer than I thought it would so when I opened the playlist it couldn't find it. Waiting just a little bit longer after moving the file to the new directory worked. AND....it was still marked as a favorite! I don't know how that's possible. I'll have to test that out a bit more before I cut and paste a 500 Gb directory to a new location. 😁

Happy2Play
Posted
42 minutes ago, mbarylski said:

it was still marked as a favorite! I don't know how that's possible

Favorites are a part of userdata so the providerid for the item will maintain this connection no matter what you do.  Now if the items don't have a providerid then this information will be lost as the new database tracking id would be different.

Posted
23 minutes ago, Happy2Play said:

Favorites are a part of userdata so the providerid for the item will maintain this connection no matter what you do.  Now if the items don't have a providerid then this information will be lost as the new database tracking id would be different.

That's interesting because it didn't work with Photos. I did the same exact thing and moved my photos directory to a different location and after rescanning all my favorites were gone. Why would it work for music and not photos?

Happy2Play
Posted
Just now, mbarylski said:

That's interesting because it didn't work with Photos. I did the same exact thing and moved my photos directory to a different location and after rescanning all my favorites were gone. Why would it work for music and not photos?

I would guess the music has a providerid like MusicBrainz, where Photos have no providerid so they rely on a database id that changes when moved,.

  • Like 1
Posted
On 8/19/2021 at 9:20 PM, Happy2Play said:

I would guess the music has a providerid like MusicBrainz, where Photos have no providerid so they rely on a database id that changes when moved,.

Yes that is correct.

Posted
2 minutes ago, Luke said:

Yes that is correct.

Got it. Thanks @Luke! It would be cool if it worked for photos too. 😉

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...