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

Graceful episode playback failure #997

Merged
merged 8 commits into from
Feb 9, 2023

Conversation

sevenrats
Copy link
Member

@sevenrats sevenrats commented Jan 31, 2023

#575 changed TVEpisodes.brs such that it attempts playback of failed media repeatedly because it hears the "OK" press that is used to close the error dialog and initiates playback logic. This causes the failed media to play over and over until "back" is pressed instead of "ok"
this pr removes the buttons from playback failure dialogs, forcing the user to press "back" instead. I don't love removing the ok button, but i don't see a better way.
solved this issue by extending Dialog, and overloading the keypress listener to eat releases instead of presses. now works as expected with no compromises.

other changes: handle invalid runtimeticks and don't autoplay next episode if the last episode failed.
Issues
fixes #989

@sevenrats sevenrats mentioned this pull request Jan 31, 2023
components/PlaybackDialog.xml Outdated Show resolved Hide resolved
source/VideoPlayer.brs Outdated Show resolved Hide resolved
@1hitsong 1hitsong merged commit 083a83a into jellyfin:unstable Feb 9, 2023
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.

tv show playback failure is completely broken
2 participants