-
Notifications
You must be signed in to change notification settings - Fork 0
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
Send notification when video play fails #4
Conversation
Reselve comments on PR
Sorry in the middle of changes so this will need to be rebased again. Suggest raising a PR in andxpanic/plugin.video.youtube instead to avoid the hassle |
3844c3f
to
3b84bf9
Compare
I'm going to close this as there are too many changes being made at the moment. I'll add the notification at a different location as part of a seperate commit to this repo, should also address the issue you raised about the history navigation. |
Can you test https://github.com/MoojMidge/plugin.video.youtube/archive/refs/heads/master.zip and see whether the failed notification works and also that the history modification doesn't occur when using another plugin? |
Messed up my history on my branch so closed the previous PR. sorry. Rebased and squashed the requested changes.
Comment from previous:
But looking at it from a higher level, if the intent is to close a dialog and re-open it once playback has completed, wouldn't a better way of doing this be to only close the dialog if the PLAYBACK_STARTED notification is received?
Looked at PLAYBACK_STARTED and ti seems to work, except it looked like a problem if Inputstream fails for some reason. But regardless I still need to have a way to know that Youtube plugin has "given up" or I end up with things like "One or more streams failed to play" confirm dialog getting buried under my restored dialogs, and user never gets to click "OK" on it which causes problems downstream.
Is there a preferred fork/branch you want PRs against?