pbrink231 / plex_top_playlists

A python script for creating playlists and collections for all server users from sources like IMDB and Trakt
111 stars 22 forks source link

Add support for Emby #27

Open kesm opened 5 years ago

kesm commented 5 years ago

Hi,

Don't know if it's possible but it could be great to add support for Emby/Jellyfin. There is a some python APIs there :

https://github.com/mezz64/pyEmby https://github.com/andy29485/embypy

Don't know if it's hard or not to implement but it could be nice for users like me that use both systems to have the same playlists/librairies configured.

I hope you will find this interesting, have a good day!

pbrink231 commented 5 years ago

I will keep this open because I think its a good idea.

I dont use Emby myself and would like some help with this one. When I get time I will take a stab at it.

kesm commented 5 years ago

I won't be able to help you by coding but I can tell you that collections are made this way on Emby/Jellyfin :

They are all located in appdata folder (in my case '/mnt/user/appdata/EmbyServerBeta/data/collections/' ) and structure is like this :

folder name = Collection Name [boxset] files in folder :

And collection.xml file is like this : https://pastebin.com/WSkmSkTM

I attached the full folder for my Indiana Jones collection Indiana Jones - Saga [boxset].zip

karthistark commented 5 years ago

Have anyone find out the solution for this?. I really want this top_playlists in Emby.

pbrink231 commented 4 years ago

The new code base currently in develop will make implementing this so much easier. Hopefully it will help someone else put it in or me when I get to it.