Fix google docs autorefresh

This commit is contained in:
Calvin Montgomery 2014-05-22 20:04:43 -07:00
parent 738dd3fb75
commit ca5ad87414
2 changed files with 2 additions and 2 deletions

View File

@ -1031,7 +1031,7 @@ PlaylistModule.prototype.refreshGoogleDocs = function (cb) {
InfoGetter.getMedia(this.current.media.id, "gd", function (err, media) {
if (err) {
Logger.errlog.log("Google Docs autorefresh failed: " + err);
Logger.errlog.log("ID was: " + this.current.media.id);
Logger.errlog.log("ID was: " + self.current.media.id);
self.current.media.meta.object = self.current.media.meta.object || null;
cb && cb();
self.channel.activeLock.release();

View File

@ -683,7 +683,7 @@ var Getters = {
/* WARNING: hacks inbound */
var options = {
host: "docs.google.com",
path: "/file/d/" + id + "/edit",
path: "/file/d/" + id + "/view?sle=true",
port: 443
};