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

Add remote control chapter menu

This commit is contained in:
Luke Pulverenti 2014-05-12 14:04:25 -04:00
parent a5ab0b50c6
commit 20836ec2f6
26 changed files with 400 additions and 374 deletions

View file

@ -111,16 +111,7 @@
nodes.push({ attr: { id: name, rel: 'folder', itemtype: 'livetvservice' }, data: htmlName, state: 'closed' });
}
nodes.push({ attr: { id: 'libraryreport', rel: 'default', itemtype: 'libraryreport' }, data: 'Reports' });
callback(nodes);
if (!selectedId) {
if (window.location.toString().toLowerCase().indexOf('report.html') != -1) {
selectedId = 'libraryreport';
}
}
if (selectedId && nodes.filter(function (f) {
@ -163,11 +154,6 @@
var itemtype = node.attr("itemtype");
if (itemtype == 'libraryreport') {
return;
}
if (itemtype == 'livetvservice') {
loadLiveTvChannels(id, openItems, callback);