smirgol / plugin.video.crunchyroll

Watch videos from the anime platform Crunchyroll.com on Kodi
GNU Affero General Public License v3.0
51 stars 10 forks source link

Use kodi database for progress when sync with crunchyroll is disabled #48

Closed smirgol closed 3 months ago

smirgol commented 9 months ago

When Synchronize play time progress is disabled in the settings, everything will show as unwatched, as that information is retrieved from crunchyroll only and only if the setting is enabled.

Use Kodi's internal database to store and fetch the information what has been viewed and what can be resumed and use that in case the setting is disabled. (always store, fetch only if setting is disabled).

smirgol commented 8 months ago

Actually sync option affects only the updating from the app to Crunchyroll. The progress is always fetched from Crunchyroll, where it is called playhead. If the playtime isn't updated to Crunchyroll, within the app everything will show as unwatched, as Crunchyroll returns a playhead of 0 for everything (given you have not watched something on CR itself).

The idea is to have some kind of offline-mode, where progress is only stored and retrieved with/from Kodi. For whatever that might be useful... :)

lumiru commented 3 months ago

Should not it be closed? This feature seams to be completed by #70 or maybe I miss something.

smirgol commented 3 months ago

You're right, must have missed that. :)