Very basic playlist support
This commit is contained in:
parent
63518483a3
commit
77b24d58cb
6 changed files with 149 additions and 0 deletions
|
@ -47,6 +47,20 @@ SlidePage {
|
|||
py.call('main.mark_episodes_as_old', [page.podcast_id]);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Enqueue episodes in player',
|
||||
callback: function () {
|
||||
var startPlayback = Util.atMostOnce(function () {
|
||||
if (!player.isPlaying) {
|
||||
player.jumpToQueueIndex(0);
|
||||
}
|
||||
});
|
||||
|
||||
episodeList.model.forEachEpisode(function (episode) {
|
||||
player.enqueueEpisode(episode.id, startPlayback);
|
||||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Podcast details',
|
||||
callback: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue