mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added library list to editor
This commit is contained in:
parent
e8df96102f
commit
c2b9b4e6d8
10 changed files with 624 additions and 20 deletions
|
@ -106,6 +106,8 @@
|
|||
nodes.push({ attr: { id: name, rel: 'folder', itemtype: 'livetvservice' }, data: htmlName, state: 'closed' });
|
||||
}
|
||||
|
||||
nodes.push({ attr: { id: 'libraryreport', rel: 'default', itemtype: 'libraryreport' }, data: 'Library List' });
|
||||
|
||||
callback(nodes);
|
||||
|
||||
});
|
||||
|
@ -141,6 +143,11 @@
|
|||
|
||||
var itemtype = node.attr("itemtype");
|
||||
|
||||
if (itemtype == 'libraryreport') {
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (itemtype == 'livetvservice') {
|
||||
|
||||
loadLiveTvChannels(id, openItems, callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue