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
4 stars 3 forks source link

Automate fixing the Archives playlist order #78

Closed tfabris closed 8 months ago

tfabris commented 8 months ago

I have a playlist called "CrowCam Archives" which contains all the videos I've specifically saved (by renaming them to something other than just "CrowCam"), as well as the most recent several days' worth of unsaved videos that haven't been pruned yet (still named "CrowCam" but which are younger than 10 days).

The recent "CrowCam"-titled videos are in the playlist automatically, having been put there by YouTube because I've configured it to do so. However, sometimes I see those new videos appearing at the END of the playlist instead of the beginning. This occurs even when the video data is copied to my web site to create the list widget on my web site.

NOTE: I'm not talking about the "Sort" option when viewing the playlist at the YouTube web page. Sorting that screen actually masks the problem. I'm talking about the playlist at the low level, how the playlist is returned to you when you query it with the API, the item's actual position in the playlist before any external sorting rules have been applied.

To do:

tfabris commented 8 months ago

Update: I think this is going to be automatically fixed by the fix to issue #75

tfabris commented 8 months ago

Fixed by checkin dac2b13 - All we have to do is add each newly-created video to the CrowCam Archives playlist, and make sure that it's at the top (position 0) each time we do it. Then the playlist is always in order.