diff --git a/src/youtube.js b/src/youtube.js index b9785528..f0c97085 100644 --- a/src/youtube.js +++ b/src/youtube.js @@ -286,11 +286,11 @@ var YouTubeClient = GObject.registerClass({ } this.lastInfo = info; + debug('video info is ready to use'); + this.emit('info-resolved', true); this.downloadingVideoId = null; - debug('video info is ready to use'); - return resolve(info); }