wedgekc 12 Posted March 13, 2021 Posted March 13, 2021 I would like to create a m3u playlist of my favorite music tracks in Emby. I have over 700 favorite tracks but Emby will only allow 300 tracks to be saved into a playlist from the queue. With smaller playlists I have parsed the Emby playlist xml file for the track file names and paths, which works fine. Is there another way to do this and why does Emby limit the number of playlist tracks?
Solution wedgekc 12 Posted March 15, 2021 Author Solution Posted March 15, 2021 For posterity...it appears that the only way to do something like this is to use the API, which I never used before. Unfortunately, it cannot be done via the web interface. After a bit of trial and error the following will return all favorite songs for a specific user. I wanted favorite song paths to create a m3u playlist: 1. On the dashboard under Advanced -- API create a new api key 2. find the a specific user "id" - Enter into browser http://emby-ip:8096/Users/Public 3. Return info on favorite tracks. http://emby-ip:8096/emby/users/enter-user-id-here/items?Fields=Path&Recursive=true&IncludeItemTypes=Audio&IsFavorite=True&api_key=enter-api-key-here 4. copy the returned data into a file and run the following command in linux. jq .Items[].Path test.json -r The result should be a list of file paths of favorite songs.
Luke 42078 Posted March 15, 2021 Posted March 15, 2021 Hi, thanks for following up. You may also want to check out this: https://support.emby.media/support/solutions/articles/44001159936-backup
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now