Fix google docs autorefresh
This commit is contained in:
parent
738dd3fb75
commit
ca5ad87414
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue