iSponsorBlockTV icon indicating copy to clipboard operation
iSponsorBlockTV copied to clipboard

Not skipping ads

Open VivienARI opened this issue 2 years ago • 15 comments

Hello,

I'm running the docker version and python version of Isponsor on a debian 10 but it's not working on my apple TV.

Peering is ok with my apple TV on TVOS 15.0, Isponsor seems ok: starting Discovering devices on network... Connecting to X.X.X.X Push updater started

When I start a youtube video, I have adds but on my computer with Isponsor I can see codes like that appear 8F2s8ivKXNY and on my API interface I can see the requests: image

Am I wrong somewhere?

Or can I get more logs to debug this issue?

Thanks in advance,

Regards.

VivienARI avatar Mar 16 '22 12:03 VivienARI

Hello, that's really weird. However, seeing those codes is good, because they are youtube video ids. Could you send me the videos you tried and also test to play this video?

dmunozv04 avatar Mar 16 '22 19:03 dmunozv04

Hi, I have the app running in docker. In the logs it shows the following: starting Discovering devices on network... Connecting to 192.168.1.196 Push updater started

However no sponsors are being skipped in YouTube on Apple TV. Am I missing something here. Have updated the config.json with the correct values.

dogotcat05 avatar Mar 21 '22 13:03 dogotcat05

Could you test with the video that I sent on the previous comment, please?

dmunozv04 avatar Mar 21 '22 15:03 dmunozv04

Hi there,

I did that and nothing happened. Just played the sponsored section….

With the YouTube key, do we simply create one in the credentials section of the google console and place that in the config.json?

Sent from my iPhone

On 22 Mar 2022, at 1:47 am, David @.***> wrote:

 Could you test with the video that I sent on the previous comment, please?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

dogotcat05 avatar Mar 21 '22 20:03 dogotcat05

Looks weird. You should just put it there and it should work. Are you seeing any more logs after the Push updater started thing? You should see some codes like you said on the first message. One thing, what "skip_categories" do you have on the config.json file?

dmunozv04 avatar Mar 21 '22 22:03 dmunozv04

All is see is the message I posted above. Nothing when I play YouTube videos.

I have "skip_categories": ["sponsor”] in my config.

On 22 Mar 2022, at 8:46 am, David @.***> wrote:

Looks weird. You should just put it there and it should work. Are you seeing any more logs after the Push updater started thing? You should see some codes like you said on the first message. One thing, what "skip_categories" do you have on the config.json file?

— Reply to this email directly, view it on GitHub https://github.com/dmunozv04/iSponsorBlockTV/issues/13#issuecomment-1074495217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS5XPR42W2YJPUGBNFK562TVBD35DANCNFSM5Q3XLCAA. You are receiving this because you commented.

dogotcat05 avatar Mar 21 '22 22:03 dogotcat05

That may be because the container had issues with disconnects in the past. Can you give it a restart: docker restart iSponsorBlockTV ?. If then it works, you can update it to the latest version

dmunozv04 avatar Mar 21 '22 22:03 dmunozv04

Restarted the docker. Unfortunately still doesn’t work. Tested then with the LTT video from your example.

Sent from my iPhone

On 22 Mar 2022, at 8:55 am, David @.***> wrote:

 That may be because the container had issues with disconnects in the past. Can you give it a restart: docker restart iSponsorBlockTV . It then it works, you can update it to the latest version

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

dogotcat05 avatar Mar 22 '22 09:03 dogotcat05

Hi, is this how my config.json should look like for skipping categories? I have the app up and running but not skipping anything.

"skip_categories": ["sponsor", "selfpromo", "exclusive_access", "intro", "outro", "preview", "filler"]}

dogotcat05 avatar Apr 24 '22 00:04 dogotcat05

Is this the full config file? If that’s the case it isn’t skipping any ads because there aren’t any apple TV’s there.

dmunozv04 avatar Apr 24 '22 09:04 dmunozv04

It it’s another error, please run with debug enabled and send me the output. Run:

docker run --rm -it \
--network=host \
-v /PATH_TO_YOUR_CONFIG.json:/app/config.json \
ghcr.io/dmunozv04/isponsorblocktv \
--debug 

dmunozv04 avatar Apr 24 '22 09:04 dmunozv04

_strange_shtern_logs.txt

The above was just a snippet I took out to show you. The rest of the config.json has the data in it.

dogotcat05 avatar Apr 24 '22 09:04 dogotcat05

This suggests that it should work but I’m unable to work with such little data. Could you please send a full log dump when playing a video that should have sponsor segments on it? Also, make sure that you have updated to the latest docker version

dmunozv04 avatar Apr 24 '22 09:04 dmunozv04

I think I have the same problem. In the console output and I can see which video is playing and its position, but sponsor segments are not skipped. console output.txt

and the config file { "atvs": [ { "identifier": "F0:B3:EC:1F:C3:6D", "airplay_credentials": "ee44..c311f31a57d:234ce389287b8...0c28ecbf:36303332413534332d4145....383334:61656130....96230" } ], "apikey": "AI...QWQ", "skip_categories": [ "sponsor" ] }

dschoorisse avatar May 20 '22 21:05 dschoorisse

Sorry, solved my issue. I had an Youtube API key, but the API was not enabled yet. It's working now! 👍

dschoorisse avatar May 20 '22 22:05 dschoorisse

Closed for being stale

dmunozv04 avatar Jan 08 '23 13:01 dmunozv04