1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add last/next to playlist

This commit is contained in:
Techywarrior 2013-05-02 20:48:19 -07:00
parent a7c270d755
commit 6dfc031b41
3 changed files with 15 additions and 8 deletions

View file

@ -395,11 +395,15 @@
};
self.playLast = function (itemId) {
ApiClient.getItem(Dashboard.getCurrentUserId(), itemId).done(function (item) {
Playlist.add(item);
});
};
self.playNext = function (itemId) {
ApiClient.getItem(Dashboard.getCurrentUserId(), itemId).done(function (item) {
Playlist.playNext(item);
});
};
self.stop = function () {