iwalton3 / plex-mpv-shim

Cast media from Plex Mobile and Web apps to MPV. (Unofficial)
MIT License
368 stars 21 forks source link

If server owner stops playback from dashboard, display interruption message and don't skip/mark video as watched #36

Open enchained opened 3 years ago

enchained commented 3 years ago

Currently, if I stop playback of my own stream from the Plex Server Dashboard, Plex MPV Shim doesn't stop until the cached video part ends, and then it marks the episode as fully watched and skips to the next episode.

If this interruption info is accessible to the Plex MPV Shim, it should act like other Plex players - stop the playback and display a message about the playback being stopped + a custom admin message if there's any provided. It shouldn't be marked as watched or skip to the next one if it didn't reach the end.