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

Send notification when video play fails #4

Closed
wants to merge 10 commits into from

Conversation

scott967
Copy link

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?

@MoojMidge
Copy link
Owner

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

@MoojMidge MoojMidge force-pushed the master branch 4 times, most recently from 3844c3f to 3b84bf9 Compare January 25, 2025 00:26
@MoojMidge
Copy link
Owner

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.

@MoojMidge MoojMidge closed this Jan 26, 2025
@MoojMidge MoojMidge reopened this Jan 26, 2025
@MoojMidge MoojMidge closed this Jan 26, 2025
@MoojMidge
Copy link
Owner

MoojMidge commented Jan 26, 2025

@scott967 - 03bb599

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?

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.

2 participants