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:
At the very least, fix the ordering when the "crowcam-videodata" file is created so that the items appear in the correct order on my web site widget.
Determine whether it's possible to re-order the videos in the playlist at the YouTube end of things. There is a "move to top" option on the web site which is fine for moving one video. But for an API call, I can't go through and "move to top" every single video when reordering the playlist because that would be a massive quota-buster I'd think. Is there an API call to fix the playlist ordering without having to fully rewrite everything one video at a time? Something that doesn't bust quotas?
Find out if this can be included in the work to fix issue #73 - Maybe there is a synergy to be had here.
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.
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: