radiodan / radiodan.js

Radiodan audio server
Other
5 stars 1 forks source link

Document that seek needs play #19

Open libbymiller opened 9 years ago

libbymiller commented 9 years ago

I think I'm right in saying you need to do something like

player.add({
 clear: true,
 playlist: [fileOrStream]
})
.then(player.play)
.then(function () {
  return player.seek({time: seekTime});
});

? If so we need to document this pattern. I may have missed it, mind you.