Commit Graph

60 Commits

Author SHA1 Message Date
calzoneman 976228683b Add note to config template, fix improper err callback 2015-04-07 15:42:24 -05:00
calzoneman 5522628363 Fix Google+ 2015-03-31 15:58:46 -05:00
calzoneman 27a50cb702 Add YouTube v3 API
YouTube v2 is still supported as a fallback, but will log a warning
message to the error log as v2 is expected to be closed shortly after
April 20, 2015.

See also:
http://youtube-eng.blogspot.com/2015/03/dude-are-you-still-on-youtube-api-v2.html
2015-03-27 18:44:46 -05:00
Calvin Montgomery 7539dc1544 Merge pull request #459 from Xaekai/3.0
Fix rare error where only unsupported qualities of video are present in ...
2015-03-25 20:19:56 -07:00
Xaekai 4b65b9128a Fix rare error where only unsupported qualities of video are present in metadata on Picasa 2015-03-25 11:32:14 -07:00
Calvin Montgomery e1c8d5c6c9 Fix Ustream 2015-03-23 16:10:00 -07:00
calzoneman e6bdbb99b1 Prefer MP4 over WebM because IE can't play webm apparently 2015-03-06 00:23:06 -06:00
calzoneman c9025fbb44 Fix titles and error messages 2015-02-20 23:17:34 -06:00
calzoneman ad13896739 Make gdocs retrieval less janky 2015-02-20 22:59:11 -06:00
Xaekai ca17c82c8c Make doubly sure fixed calzoneman/sync#445 2015-02-16 00:50:15 -08:00
Xaekai 26a9446d3d I commit this code in the name of Pinkie Pie. 2015-02-15 17:36:29 -08:00
calzoneman 50bf876010 Add hitbox support 2015-01-22 23:21:31 -06:00
calzoneman 139825168f Fix for private, but embeddable soundcloud tracks 2015-01-11 12:10:09 -06:00
Calvin Montgomery 414cbfdc5d Add more safeguards for socket errors 2015-01-06 10:54:14 -05:00
Calvin Montgomery 0c23b8a4c5 Update Copyright year; remove old junk 2014-12-31 12:06:29 -05:00
Calvin Montgomery 3689aafe3b Fix all video adds getting stuck when one fails
Whenever a urlRetrieve() fails due to an unexpected error (ENOTFOUND, ETIMEDOUT, Socket hang up, etc.), the domain handler and the global exception handler would detect this and not crash the server, however the dirty internal state would somehow prevent future HTTP requests from completing successfully.

Removed domain usage since that feature is marked "unstable" and is rumored to be marked for deprecation in future versions of node.  Using the "error" event of the request object itself, which means errors are local in scope and won't pollute global state.  This should have been the solution originally, but when urlRetrieve() was written, I was not as familiar with node.
2014-12-26 10:39:47 -05:00
calzoneman 918b865a9b Slight tweak to urlRetrieve error handler 2014-12-04 00:42:25 -06:00
calzoneman b587da6701 Several fixes
- User playlists should now list correctly (fixed a race condition)
  - Livestream types can autoplay (no longer stuck at currentTime = -3)
  - Playlist items with NaN duration do not break user playlist saving
  - ffmpeg support can handle live media (e.g. icecast)
  - Invalid volume is sanitized and an error message is added
  - JWPlayer displays correctly for both HTML5 and Flash
  - JWPlayer volume synchronization is fixed
  - <audio> and <video> tags are scaled correctly with .embed-responsive-item
2014-12-02 22:21:52 -06:00
calzoneman 4514151ad2 Add a better error message for google drive 1hr 2014-11-13 20:08:01 -06:00
calzoneman 681fc717c3 Fix google+ 2014-11-03 12:56:15 -06:00
calzoneman 2b60ab8e10 Add permission for #402; fix a strange jwplayer issue 2014-09-06 22:59:28 -05:00
calzoneman 3446eb5357 Add Google Docs checks for missing duration/title 2014-08-15 00:27:51 -05:00
calzoneman ecca806a58 Fix an issue with quality selection 2014-08-14 16:28:44 -05:00
calzoneman dc3efd94c8 Remove JustinTV support as it is no longer in service 2014-08-13 13:51:09 -05:00
calzoneman fae1609a50 Apparently redirector is https sometimes 2014-08-12 18:34:37 -05:00
calzoneman b88f1931c6 Prevent vimeo from logging errors when videos become private/removed 2014-08-11 11:58:03 -05:00
Calvin Montgomery 9ff23622a0 Fix a minor matching issue for google docs 2014-08-08 23:27:54 -07:00
Calvin Montgomery 4f7ec228d3 Fix regular expression for google docs parsing 2014-08-07 23:19:07 -07:00
Calvin Montgomery b7edfc31f9 Fix for google docs changing their video player: 2014-08-06 20:12:57 -07:00
Calvin Montgomery 35c6a68e5e Remove redundant RegExp constructor 2014-07-13 22:14:37 -07:00
Calvin Montgomery 989a737ea4 s/e.trace/e.stack 2014-07-13 11:31:41 -07:00
Calvin Montgomery 69772bf2ec Error handling for google+ 2014-07-13 11:29:50 -07:00
Calvin Montgomery 937ad04967 Change meta format so it persists in DB and on disk 2014-07-11 20:42:13 -07:00
Calvin Montgomery c522516b88 Implement serverside Google+ retrieval 2014-07-10 23:03:13 -07:00
Calvin Montgomery 052afaf2f6 Start working on google+ support 2014-07-10 20:10:00 -07:00
Erik 817c7ad4ba quickfix 2014-06-25 16:13:54 -04:00
Calvin Montgomery 8152008466 Crash fix 2014-06-15 16:34:32 -07:00
Calvin Montgomery f2769e5062 Start adding file playback queue support 2014-06-01 11:43:18 -07:00
Calvin Montgomery ca5ad87414 Fix google docs autorefresh 2014-05-22 20:04:43 -07:00
Calvin Montgomery 4e7dcbe7ef Fix for soundcloud returning 302 found instead of 200 OK 2014-05-21 20:53:13 -07:00
Calvin Montgomery 9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
Calvin Montgomery a2f2b1adc2 Add support for Vimeo's OAuth ("advanced") API
This allows for authenticated API requests.  Currently, the only reason
you would want to use this is to be able to add videos that are marked
private but still embeddable.
2014-04-04 20:06:16 -05:00
Calvin Montgomery 4577a2dbd5 Start working on vimeo advanced api support 2014-04-04 11:37:30 -05:00
calzoneman 379c121350 Fix urlRetrieve error handler 2014-03-03 17:55:55 -06:00
calzoneman f7bf915f87 Fix google drive links with \xkk in them 2014-02-15 17:33:39 -06:00
calzoneman 7b9162f890 Fix vimeo workaround 2014-02-04 22:02:27 -06:00
calzoneman e6acf92bdb Add volume normalization and vimeo workaround 2014-02-02 20:04:50 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 436df375c7 Fix #305 2013-11-10 22:26:30 -06:00
calzoneman d7a0297a8b Resolve merge conflict 2013-11-09 01:56:28 -06:00