mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
e218d950b2
2 changed files with 27 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
||||||
<div id="boxsetPage" data-role="page" class="page libraryPage" data-theme="a">
|
<div id="boxsetPage" data-role="page" class="page libraryPage" data-theme="a">
|
||||||
<div data-role="content" style="padding-top: 0;">
|
<div data-role="content" style="padding-top: 0;">
|
||||||
|
|
||||||
|
<div data-role="controlgroup" data-type="horizontal" class="libraryViewNav" data-mini="true">
|
||||||
|
<a href="moviesrecommended.html" data-role="button">Recommended</a>
|
||||||
|
<a href="movies.html" data-role="button">Movies</a>
|
||||||
|
<a href="boxsets.html" data-role="button" class="ui-btn-active">Box Sets</a>
|
||||||
|
<a href="#" data-role="button">Genres</a>
|
||||||
|
<a href="#" data-role="button">Actors</a>
|
||||||
|
<a href="#" data-role="button">Directors</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h1 id="seriesName" style="padding-left: 10px; margin: 0;" class="hide"></h1>
|
<h1 id="seriesName" style="padding-left: 10px; margin: 0;" class="hide"></h1>
|
||||||
<h1 id="itemName" style="padding-left: 10px; margin: 0;"></h1>
|
<h1 id="itemName" style="padding-left: 10px; margin: 0;"></h1>
|
||||||
|
|
||||||
|
|
18
dashboard-ui/scripts/playlist.js
Normal file
18
dashboard-ui/scripts/playlist.js
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
var PlayList = {
|
||||||
|
|
||||||
|
queue: Array(),
|
||||||
|
|
||||||
|
addItem: function (item) {
|
||||||
|
PlayList.queue.push(item);
|
||||||
|
},
|
||||||
|
|
||||||
|
removeItem: function (index) {
|
||||||
|
PlayList.queue.splice(index, 1);
|
||||||
|
},
|
||||||
|
|
||||||
|
playItem: function (index) {
|
||||||
|
MediaPlayer.play(PlayList.queue[index]);
|
||||||
|
PlayList.queue.shift();
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue