You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New search: Looking up YT data for video "<video name obscured>"
Error during lookup: list index out of range
Then there's regular outputs showing Title, Artist, Position and ID but Segments is empty. Python is 3.11.2. tvOS is the latest (17.6)
Something appears to be broken as Ads play and it doesn't appear to obtain all the relevant information. Also, if runme.sh is interrupted and then restarted, both ID and Segments are empty. Is that expected?
Thanks!
The text was updated successfully, but these errors were encountered:
It sounds like the video wasn't found for some reason. We can only see the channel name and video title from the Apple TV API, so the program has to look up the video ID using a search (which is just channel name + video title). Look at line 16 here: https://github.com/bsharper/sbremote/blob/main/sb_cache.py
That's where the error is happening. Unfortunately it looks like the YT search library I was using isn't updated any more, so I'll need to replace this at some point.
Were the videos you were watching new (recently released)? There's a local cache file called vidcache.json that attempts to prevent hammering SponsorBlocks's API by caching video data for 12 hours, so it's possible it was asking SB for details and there were none yet. You can try removing vidcache.json to see if it pulls the correct info now.
The output for every view starts as:
Then there's regular outputs showing Title, Artist, Position and ID but Segments is empty. Python is 3.11.2. tvOS is the latest (17.6)
Something appears to be broken as Ads play and it doesn't appear to obtain all the relevant information. Also, if runme.sh is interrupted and then restarted, both ID and Segments are empty. Is that expected?
Thanks!
The text was updated successfully, but these errors were encountered: