Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add menu option to play live streams from beginning of stream #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bellt
Copy link
Contributor

@bellt bellt commented Dec 5, 2024

Currently if a user starts playback of an in-progress game, the stream starts from wherever the live playback is currently up to. This has a high risk of spoilers.

This PR adds an option to the settings called "Start live stream playback from beginning" under a new submenu called "Playback". This controls a bool which is used to set the inputstream property inputstream.adaptive.play_timeshift_buffer which, when set to true, will play any ongoing live streams from the beginning of the stream. (see https://github.com/xbmc/inputstream.adaptive/wiki/Integration#inputstreamadaptiveplay_timeshift_buffer )

I originally wanted it to be chosen by the user on a per-stream basis, but that would have been more difficult and would also present the user with yet another dialog to click through when playing a stream which could be annoying. So the approach provided is probably cleaner anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant