Commit Graph

51 Commits

Author SHA1 Message Date
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
calzoneman e737bc9f8a Strip ip, expire from Google Docs flashvars 2013-11-08 17:57:14 -06:00
calzoneman 4198f3ce2c Add support for Google Docs videos 2013-11-07 17:19:36 -06:00
calzoneman f2c996ebfa major refactoring 2013-10-11 16:31:40 -05:00
calzoneman 718a70bc60 Fix clean; minor error message fixes 2013-10-07 00:10:16 -05:00
calzoneman 9d35636be2 Resolve merge conflict 2013-10-01 23:05:02 -05:00
calzoneman 54dee9e25d Fix some error messages, intialize announcement to null 2013-09-30 21:59:04 -05:00
calzoneman 69ac0b39ad Check for videos where embedding is disabled 2013-09-29 21:32:04 -05:00
calzoneman 21bd270813 Improvements to playlist queue 2013-09-29 11:30:36 -05:00
calzoneman 6aae146f8b Fix ustream for channels with /channel/foo syntax; ustream wtf are you doing 2013-09-17 13:19:33 -05:00