[Feature Request]: Sync Recently Viewed and playback progress across devices with server storage
[Feature Request]: Sync Recently Viewed and playback progress across devices with server storage
Feature description
I'm using the self-hosted IPTVnator PWA with Docker and IPTVNATOR_STORAGE=server.
According to the Docker documentation, only source definitions are currently synchronized between devices. Recently Viewed items, playback progress, and favorites remain local to each browser.
It would be great to extend server-side storage to support synchronization of viewing activity across devices.
Requested functionality
When IPTVNATOR_STORAGE=server is enabled, the following data should be synchronized:
- Recently Viewed: Share recently watched TV channels, movies, and series across browsers and devices.
- Playback Progress: Resume movies and series from the last watched position on another device.
- Favorites (optional): Synchronize favorite channels and VOD items across devices.
Example use case
- Start watching a movie in IPTVnator on a desktop browser.
- Stop playback after 30 minutes.
- Open IPTVnator on a tablet or another browser.
- Find the movie under Recently Viewed.
- Resume playback from the saved position.
Expected behavior
With IPTVNATOR_STORAGE=server, viewing history and playback positions should be stored centrally and shared across all connected clients.
Additional context
I understand that the current implementation intentionally keeps viewing activity local, as described in the Docker README.
This request is intended as an enhancement to the existing server storage functionality.
Thanks for considering this feature!
Brain dumping some more suggestions.
I wonder if this could be implemented with an xml or json file that iptvnator can load to update progress and previously watched items? On start the app can load this file into the DB so all states are saved.
I also think for server storage having it link to dropbox/gdrive/local network share are likely enough, vs iptvnator providing the storage for this file.
Implemented in 0.25.0. In Settings → Server, you can enable Recently Viewed, Xtream and Stalker playback progress, and favorites separately for shared sources. Thanks for the suggestion! Release notes