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

bug(YouTube - SponsorBlock): When Bluetooth headphones are connected, skipped SponsorBlock segments at the end of videos do not autoplay or go to the next video in a playlist #3015

Open
3 tasks done
bigyihsuan opened this issue Apr 11, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@bigyihsuan
Copy link

bigyihsuan commented Apr 11, 2024

Bug description

When my phone is connected to Bluetooth headphones, or a Bluetooth speaker, when SponsorBlock skips segments that go up to the end of a video, when that video is in a playlist (e.g. Watch Later), playback fails to go to the next video and gets stuck on the end of the current video.

To reproduce:

  1. Patch the YouTube version mentioned above with patches listed below.
  2. Find a video that has a skippable SponsorBlock segment at the end of the video, like the linked video above.
  3. Place the segmented video from above into a playlist before any video.
  4. Connect any Bluetooth speaker, headset, headphones, or ear buds, and select it for audio output.
  5. Play the segmented video, and let SponsorBlock skip the segment at the end of the video.
  6. Expected: The next video should play.
  7. Actual: Playback stops at the end of the segmented video, until the user performs a manual action (taps the "Next video" button, double-taps forward 10 seconds to move to the next video, or manually selecting the next video).

Error logs

No response

Solution

You can simply not use a Bluetooth speaker/headphones, but it is merely a workaround and not a solution.

Additional context

Patches:

  • Custom Branding
  • GmsCore support
  • SponsorBlock
  • Video ads

Revanced Settings:

"announcement_last_id": 9,
"disable_precise_seeking_gesture": false,
"disable_zoom_haptics": false,
"hdr_auto_brightness": false,
"hide_crowdfunding_box": true,
"hide_gray_separator": false,
"hide_info_cards": false,
"hide_info_cards_section": false,
"hide_shorts_home": true,
"hide_shorts_search": true,
"hide_shorts_subscriptions": true,
"hide_timed_reactions": false,
"seekbar_custom_color": true,
"spoof_signature_in_feed_enabled": true,
"video_quality_default_wifi": 1080,
"sb_filler": "skip",
"sb_highlight": "seekbar-only",
"sb_interaction": "skip",
"sb_intro": "skip",
"sb_local_time_saved_milliseconds": 18932700,
"sb_local_time_saved_number_segments": 765,
"sb_outro": "skip",
"sb_preview": "skip",
"sb_selfpromo": "skip",
"sb_sponsor": "skip"

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@bigyihsuan bigyihsuan added the Bug report Something isn't working label Apr 11, 2024
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title bug: When Bluetooth headphones are connected, skipped SponsorBlock segments at the end of videos don't go to the next video in a playlist bug(YouTube - SponsorBlock): When Bluetooth headphones are connected, skipped SponsorBlock segments at the end of videos don't go to the next video in a playlist Apr 11, 2024
@LisoUseInAIKyrios
Copy link
Contributor

I don't have any Bluetooth speaker devices to reproduce.

But this might be fixed by increasing an end of video skip offset from 250ms to a larger value, as described here.

Someone that can reproduce the issue and can build and install locally, would need to try making this change.

@bigyihsuan
Copy link
Author

Some updates later, can confirm this still happens with the following:

  • Revanced on Youtube 19.16.39
  • Non-root, OnePlus 12. OxygenOS Android 14, security update May 5, 2024.
  • Revanced MicroG Services v0.3.1.3.240913
  • OnePlus Buds 2, firmware 186.186.101

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title bug(YouTube - SponsorBlock): When Bluetooth headphones are connected, skipped SponsorBlock segments at the end of videos don't go to the next video in a playlist bug(YouTube - SponsorBlock): When Bluetooth headphones are connected, skipped SponsorBlock segments at the end of videos do not autoplay or go to the next video in a playlist Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants