dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.44k stars 99 forks source link

Not skipping ads #13

Closed VivienARI closed 1 year ago

VivienARI commented 2 years ago

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.

dmunozv04 commented 2 years ago

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?

dogotcat05 commented 2 years ago

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.

dmunozv04 commented 2 years ago

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

dogotcat05 commented 2 years ago

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.

dmunozv04 commented 2 years ago

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?

dogotcat05 commented 2 years ago

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.

dmunozv04 commented 2 years ago

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

dogotcat05 commented 2 years ago

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 commented 2 years ago

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"]}

dmunozv04 commented 2 years ago

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 commented 2 years ago

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 
dogotcat05 commented 2 years ago

_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.

dmunozv04 commented 2 years ago

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

dschoorisse commented 2 years ago

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 commented 2 years ago

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

dmunozv04 commented 1 year ago

Closed for being stale