dmunozv04 / iSponsorBlockTV

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

[Troubleshooting] Runs but doesn't skip sponsor segments. #43

Closed systox closed 1 year ago

systox commented 1 year ago

name: Troubleshooting Request about: Create a report to help us improve. labels: Bug vs User Error


iSponsorBlockTV Latest Version?: Confirmed, I am on the latest version as of typing this.

Describe the bug This is my first install. I used pyatv and the first time setup to complete the config.json. The script runs and looks like its working in windows. But no sponsor segments are skipped. I tried rebooting the computer its installed on, rebooting the apple tv, and trying multiple newer and older videos on youtube.

iSponsorBlockTV server (please complete the following information):

Apple TV (please complete the following information):

Additional context --debug logs (some info obfuscated): https://pastebin.com/XHDHCGGz

dmunozv04 commented 1 year ago

Hello, line 1225 of your logs DEBUG:asyncio:Get address info www.googleapis.com:443, type=<SocketKind.SOCK_STREAM: 1>, flags=<AddressInfo.AI_ADDRCONFIG: 1024> suggests that at least the connection to the youtube api is working. Do you have a google api key with access to the youtube data api v3 on your config file?

systox commented 1 year ago

I have a google API key but i'm not sure about access to the youtube data api V3?

I went to https://console.cloud.google.com/apis, clicked create credentials, and then clicked "API Key". Not sure if I'm missing steps; looking into it more.

Update Fixed and working as expected. Thanks for the advice. Future users, once you create the google API, navigate to the "API Library" tab then search and add "Youtube Data API V3".

dmunozv04 commented 1 year ago

https://developers.google.com/youtube/registering_an_application This should help you get the api key working correctly

dmunozv04 commented 1 year ago

Thanks for your comment!