diff --git a/index.js b/index.js index b5537be..dd4f20a 100755 --- a/index.js +++ b/index.js @@ -227,7 +227,15 @@ var ctrl = function(err, p, ctx) { p.on('playing', updateTitle); if (!ctx.options.disableSeek && ctx.options.seek) { - p.once('playing', initialSeek); + p.getStatus(function(err, status){ + if(status.playerState == 'PLAYING'){ + debug("already playing, seeking now"); + initialSeek(); + } + else{ + p.once('playing', initialSeek); + } + }); } updateTitle();