CyTube/www/js
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
..
acp.js Allow channel path to be customizable 2017-06-16 20:09:36 -07:00
callbacks.js Ignore library cached metadata when queueing 2017-07-15 14:41:37 -07:00
chart.js Directory cleanup 2014-02-18 22:00:56 -06:00
data.js Allow channel path to be customizable 2017-06-16 20:09:36 -07:00
froogaloop.min.js Static content caching 2014-02-23 23:27:07 -06:00
jquery-1.11.0.min.js jquery cdn sucks 2015-02-10 23:07:57 -06:00
jquery-ui.js jquery cdn sucks 2015-02-10 23:07:57 -06:00
paginator.js Add emote search, sort toggle 2015-05-13 12:17:32 -05:00
player.js soundcloud: fix volume issue 2017-07-10 21:38:27 -07:00
sc.js Initial soundcloud implementation 2015-06-16 07:39:39 -04:00
tabcomplete.js Integrate new tab completion methods 2017-01-10 22:26:46 -08:00
theme.js Reduce the number of places the default theme is hardcoded from 6 to 1. 2016-07-08 19:01:31 -07:00
ui.js Allow channel path to be customizable 2017-06-16 20:09:36 -07:00
util.js Ignore library cached metadata when queueing 2017-07-15 14:41:37 -07:00
video.js Add HLS support (and upgrade Video.JS) 2016-08-06 21:14:52 -07:00
videojs-contrib-hls.min.js Add HLS support (and upgrade Video.JS) 2016-08-06 21:14:52 -07:00
videojs-resolution-switcher.js Add resolution switcher plugin for video.js 2017-07-01 16:54:19 -07:00