Closed L041S closed 9 months ago
I have the same problem
Please attach logs/device details
I'm having the same issue. Running Synology/Docker
Could not find video id Could not find video id ZteAovHJllk [{'start': 0, 'end': 4.2, 'UUID': ['5378f6709b14e39c814c8aff035fd48ce29ccd1d0c92e23b5d598db64d965c19d']}, {'start': 1212.709, 'end': 1283.594, 'UUID': ['59052147dd66c4a6b8f656a3fdb355d0e99be623155ae02d82eefaa491a4cd0d5']}]
The last 2 lines suggest that it is indeed working and finding the video id and the segments to skip correctly
same here, event after restarting the service,
{"atvs": [{"identifier": "xxx", "airplay_credentials": "xxx"}], "apikey": "AIzaSyCpmLw...CsCrZZHk", "skip_categories": ["sponsor", "selfpromo", "exclusive_access", "interaction", "poi_highlight", "intro", "outro", "preview", "filler", "music_offtopic"], "channel_whitelist": []}
Discovering devices on network...
Connecting to 192.x.x.115
Push updater started
Could not find video id
Could not find video id
Could not find video id
Could not find video id
...
What videos are you trying to watch? Please provide links Also, v2 is on the way and will avoid this issue entirely
What videos are you trying to watch? Please provide links Also, v2 is on the way and will avoid this issue entirely
well, almost any videos because form the log I didn't see anything else but the id not found
anyway, excited about the v2
This video is known to work: https://youtu.be/BtFdraQWVtM Please try with it and let me know if it does work
still id not found :(
Hi there,
I recently experienced the same error you reported. I traced the issue to this line in the code: https://github.com/dmunozv04/iSponsorBlockTV/blob/1aa06e677f4d1f30da11f86f5ba30cc91b019efc/iSponsorBlockTV/api_helpers.py#L25
The YouTube API returned an error message stating, "YouTube Data API v3 has not been used in project XXX before or it is disabled. Enable it by visiting..."
. This seems to be the underlying cause for the subsequent 'Could not find video id'
issue.
I want to propose enhancing API error handling. Could we print these error messages directly to the console? This might streamline the debugging process and help prevent similar misunderstandings in the future.
Looking forward to hearing your thoughts.
Enable the API seems work. Now there's only several "id not found" errors. Maybe we can print the guide to the console YouTube Data API Overview.
Just FYI for users from search engine. After creating API key, make sure you enabled YouTube Data API v3 at this URL and make sure you selected correct Project in GCP console https://console.cloud.google.com/apis/library/youtube.googleapis.com
@SystemZ Thanks! Although the API key won't be needed soon (except for the whitelist).
Closed due to being stale and V2 overhauling
Hello, The tool is working fine but on some videos, sponsored messages don’t get skipped. I checked the logs and it seems that the error "Could not find video id" is the problem.
For exemple it works with this video of Linus https://youtu.be/BtFdraQWVtM but not this one from Nozman https://youtu.be/A66mibBBAoo