Dan6erbond / jolt

The social hub for your media server. Rate, review and recommend movies and shows, as well as manage your watchlist, follow friends and more.
MIT License
166 stars 3 forks source link

Implement Sync of Watched Shows, Seasons and Episodes #9

Closed Dan6erbond closed 1 year ago

Dan6erbond commented 1 year ago

What is required?

Jolt should sync watched shows, seasons and episodes from supported media servers. Currently Jellyfin.

A sync jellyfin command has already been prepared in the develop branch, which needs to be refactored to use the JellyfinService for this purpose.

The /Users/{userId}/Items?recursive=true&includeItemTypes=Series&enableUserData=true endpoint will return all available series for a user, and the UserData object will include the played state.

For seasons and episodes, the /Shows/{seriesId}/Seasons and /Shows/{seriesId}/Episodes endpoints will return similar data if the userId and enableUserData query parameters are included.