luigi311 / JellyPlex-Watched

Sync watched between jellyfin and plex locally
GNU General Public License v3.0
422 stars 20 forks source link

Jellyfin/Emby: support marking item as partially watched #171

Closed awakenedhaggis closed 6 months ago

awakenedhaggis commented 6 months ago
luigi311 commented 6 months ago

This is great to see! I've moved a lot from jellyfin to jellyfin_emby.py as emby support has been merged in to dev. Is it possible for you to rebase this and limit it so it only feeds it the json when jellyfin is calling it and not emby since i dont think that api exists in emby.

awakenedhaggis commented 6 months ago

Hi! I don't have an emby instance to test with at the moment but it looks like there is the same endpoint. I'll set up a test instance to see how far back it goes version wise.

luigi311 commented 6 months ago

That sounds great! Hopefully it works there too so its working on all major server types.

awakenedhaggis commented 6 months ago

Yeah this endpoint is working with the latest emby verion, and there are mentions of this endpoint in the emby forum at least back in 2022 so looks like it'll be very widespread

awakenedhaggis commented 6 months ago

Updated changes:

Worth noting the jellyfin_video object might have to be renamed to avoid confusion

luigi311 commented 6 months ago

thats great! Let me test it on my side and then ill merge it in and then fix the ci afterwards since the ci should now include more lines.