-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Disable Autoplay #82
Comments
That's something I didn't consider, but it seems like it can be detected to maintain autoplay settings when using iSponsorBlockTV |
I've got the opposite problem here, I do have autoplay enabled in youtube settings, but since setting this up videos aren't autoplaying anymore. It would definitely be nice for iSponsorBlockTV to not mess with that setting and just leave it be |
@tgkenney iSponsorBlockTV doesn’t touch those settings but somehow they get modified |
Yeah just seems like something weird is going on. For what it's worth, I didn't get this behavior using V1, it only started when I migrated to V2. Though that probably comes down to the different connection method |
@tgkenney v1 didn’t interact with YouTube, to the point that it could be any other app. V2 uses a YouTube specific feature that has some quirks. Autoplay seems to be one of them. Please test the new version to see if that works |
I just did some quick testing, using v2.0.2 of the docker image.
Edit to add: This is all on a Apple TV 4k |
@tgkenney that’s super odd. I’ve been using it for a few months on an Apple TV 4K with autoplay on and it’s always moved to the next video (albeit with the 5 second countdown) |
I'm using version 3.01.12 of the YouTube app, and TvOS 17. I wonder if it something with those versions? |
It doesn't work like that for me. |
The youtube app on iphone has an autoplay setting "Mobile phone/tablet" My TV keeps autoplaying, and that setting was previously enabled. (Disabling it made no difference) |
It shouldn’t make a difference. Somehow, I’m able to use the autoplay toggle on the YouTube app (with the v2.0.4 version) and it seems to just work; toggling autoplay correctly |
On CCwGTV, can't get rid of autoplay as well, whatever the autoplay setting in the Android TV app or the mobile app. |
The “fix” I attempted on the develop tag seems to not work for me. |
I can report the same problem on my AppleTV. Videos are now beeing autoplayed eventhough the settings are turned off... |
Can confirm this issue with a Shield TV - in the YT app autoplay was turned off and once iSponsorBlockTV became active in the network (working great for skipping segments) videos are now autoplaying (with the setting still being off). |
I also have the same issues with an ATV 4K 2022. |
If you're still experiencing issues with autoplay follow these steps:
Please let me know if autoplay is still broken after following ALL the steps |
I followed your guide and autoplay is still enabled on my tv. |
Same here. I even tried enabling autoplay and then disabling it again in the settings and that did not fix either. I'm on an Apple TV. |
tldr: same here; still causing forced autoplay @dmunozv04 -- as a work around until this can be fixed, can a STOP optionally be sent automatically within 5 seconds of video end? |
Is there an update on this situation? because it still autoplays for me |
I've been experimenting but haven't been able to make it work consistently |
Does if have something to do with this
|
That shouldn’t modify anything, it just requests the segments on the sponsorblock database |
So I was looking at the pyytlounge code and the youtube lounge api documentation. I see this
it seems that is what is happening here
I'm wondering if its possible to spoof the api into thinking the device doesn't support autoplay. |
or never mind couldn't u just process this event |
I attempted processing that event, and it managed to disable autoplay for people that wanted it enabled and also keep autoplay enabled for the ones that didn't want it. Feel free to experiment with it and report back, maybe it works now |
@dmunozv04 do u have the code that you used? |
This is what I tried |
ok I added |
cause u probably could just and the event_type = setAutoplayMode and the toggle variable and maybe that will work. |
Did this work? |
i believe so |
I wasn't able to get your suggested solution to work. However I think I found something that does.
This seems to work consistently as the onAutoplayModeChanged event is called regularly. |
Nice |
I tried @FarawaySounds' change, and it seems to work well most of the time on my Apple TV. and instead of showing the post-video screen (that allows replay), it exits to the main list screen, which I'm okay with. Once during my testing, one video ended, but the audio repeated from the beginning while the screen showed the post-video screen. It was a Jimmy Kimmel clip, but had no sponsors, and I'd jumped around a bit, and maybe that confused the YouTube.app. (https://www.youtube.com/watch?v=F7iANkAUB_k). Anyone else see any rare odd behavior? Anyway, maybe this works well enough to be merged, if it has a flag in the config.json, or something? |
it would be nice to use suggested change with the docker image. did anyone forked/pushed already? |
I've pushed a new version, it might help with autoplay issues, regardless if you want it to be ON or OFF. |
I've toggled it in the tv app, but it's still enabled. |
I've done some testing, and after updating and toggling autoplay on and off again, the video end screen would show a "next up" message instead of "playing in x seconds". Please make sure that you have the latest version |
I updated to 2.0.8 today |
My experience has been it has not been fixed. Updated to 2.0.8, restarted the Youtube app on Apple TV. Set autoplay from on to off, then off to on, one last time. Restarted the YT app and tested with 3 videos. All had autoplay enabled. |
No luck here either. |
Same issue on Sony Android TV. Autoplay in the youtube app is set to off but after the end of the video 5-sec autoplay countdown starts, with a note to prevent playing the next video "press the stop button on the mobile device" (which is obviously iSponsorBlockTV service). Also, it looks like all the videos played in the current session are stored in a separate playlist (accessible when pausing a video, under the controls section). Possibly the autoplay is somehow active with regard to this playlist. Latest version. Tried toggling it on and back off on the TV app, no effect. |
This is now fixed on v2.1.0 . Set the new config option |
Unfortunately it still autoplays for me on a ATV (I did edit the config file with the new option). Should I open a new issue? What information can I provide for debugging? |
@AN1MATEK Make sure you are using |
@AN1MATEK do please open a new issue if you still are having problems |
Well how in the hell I was supposed to know that lol. Thank you, I added it and we'll see if it works now. |
thanks a lot. everything worked after updating docker image, changing config by adding new line and a restart.
|
Since I connected my TV with iSponsorBlockTV, autoplay on youtube is enabled.
I checked the settings in my youtube app and there autoplay is disabled.
So it must come from iSponsorBlockTV.
It would be nice to control autoplay over the settings file.
The text was updated successfully, but these errors were encountered: