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

Occasionally, creating a new video fails to add it to the playlist #85

Closed tfabris closed 5 months ago

tfabris commented 5 months ago

This morning, today's new video stream was up and running, but it had not been added to the CrowCam Archives playlist. Also, the video's categoryId and thumbnail had not been set. The Synology system log had these entries in it:

Clearly the code where it sets the thumbnail, categoryId and adds it to the playlist has failed somehow. I looked at the video, and indeed, the thumbnail, categoryId and the playlist were not yet set on this video. Those are the last two things that the CreateNewStream function does, and so it created the video but then failed those last few steps.

Unfortunately, a bug in the log message has prevented me from seeing the details of the error that caused this issue. Still, there's stuff we can do.

To do:

tfabris commented 5 months ago

Fixed with checkins ffa16ca and b1f08a8