CyTube/www
Calvin Montgomery c152a19624 Ignore library cached metadata when queueing
The use of the channel library as a cache for metadata to avoid
re-requesting metadata for known media is an optimization that dates
back to 1.0.  However, it doesn't have any TTL, is prone to bugs, and is
of dubious value.

This commit ignores the results of the library check when queueing a new
video, opting to always re-request the metadata.  This fixes a few bugs:

  * Google Drive metadata being lost when storing in library
  * Streamable metadata being lost when storing in library
  * Videos in the channel library that are now unavailable on their
    source website being queueable and then failing to play (e.g. deleted
    YouTube videos).

In its place, a small fail-open check is left behind to emit metric
counters on how many queues would have been cache-hits, to provide
insight into whether a proper caching solution (i.e. one not tacked on
top of the library) would be worth pursuing or not.  This will be
removed eventually.
2017-07-15 14:41:37 -07:00
..
css Add resolution switcher plugin for video.js 2017-07-01 16:54:19 -07:00
img Resolve #343 2014-04-14 19:22:01 -05:00
js Ignore library cached metadata when queueing 2017-07-15 14:41:37 -07:00
boop.wav Directory cleanup 2014-02-18 22:00:56 -06:00
StrobeMediaPlayback.swf Change Vimeo fallback player 2014-03-07 20:37:20 -06:00
video-js.swf Upgrade to video.js 5.0 2015-10-17 18:45:13 -07:00