tfabris / CrowCam

A set of Bash scripts to control and maintain a YouTube live cam from a Synology NAS.
GNU General Public License v3.0
3 stars 3 forks source link

Video Id field being retrieved wrong in one message #88

Closed tfabris closed 5 months ago

tfabris commented 5 months ago

Investigate this error in the log:

2024-03-29 12:33:17 CrowCam Controller - The video youtube#liveBroadcastListResponse titled CrowCam was not found at the top of playlist PL8Fzg-YTf-GbfOHNxAAZEW9dixstuSzt| titled CrowCam Archives - Instead the video E19FJU6lYwg was found in that slot - Fixing the playlist now.

This was a problem because that should have been a broadcast ID field extracted in that slot, not a "kind" field there. Something went wrong and there was no video ID and the extractor just extracted the first thing it found, which was the "kind" field. I think it responded with an error and my code didn't properly check for that error. Need to add some more error checking in the code.

tfabris commented 5 months ago

Hopefully fixed with checkin aeddb93 - I'll keep an eye on the log output and re-open if needed.

tfabris commented 3 months ago

Issue was not fully fixed by the prior checkin, issue recurred. See issue #92 for the continuing work on the bug.