Don't add delete buttons to youtube search results

People kept clicking them resulting in database errors for unregistered channels.
This commit is contained in:
calzoneman 2013-09-23 16:25:45 -05:00
parent 851491e4ac
commit 0addff6bab
4 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,12 @@
Mon Sep 23 16:22 2013 CDT
* lib/user.js: distinguish search result return packets with a 'source'
field that specifies where the item came from (e.g 'yt' for youtube
search, 'library' for library search)
* www/assets/js/callbacks.js: account for the change in lib/user.js
which adds a 'source' field to library search results
* www/assets/js/util.js: don't add delete buttons for youtube search
results. Apparently people keep clicking them...
Sat Sep 21 23:53 2013 CDT
* lib/playlist.js, www/assets/js/player.js: Modify the server lead
function to have a 3 second lead-in period (to allow buffering).