mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added live channel playback
This commit is contained in:
parent
7ec31feea3
commit
708ca5d32f
7 changed files with 124 additions and 13 deletions
|
@ -564,6 +564,9 @@
|
|||
if (item.Type == "Channel") {
|
||||
return "livetvchannel.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "Program") {
|
||||
return "livetvprogram.html?id=" + id;
|
||||
}
|
||||
if (item.Type == "Series") {
|
||||
return "itemdetails.html?id=" + id;
|
||||
}
|
||||
|
@ -599,9 +602,7 @@
|
|||
}
|
||||
|
||||
if (item.Type == "MusicArtist") {
|
||||
if (itemByNameContext == "music") {
|
||||
return "itembynamedetails.html?musicartist=" + ApiClient.encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
|
||||
}
|
||||
return "itembynamedetails.html?musicartist=" + ApiClient.encodeName(item.Name) + "&context=" + (itemByNameContext || "music");
|
||||
}
|
||||
|
||||
return item.IsFolder ? (id ? "itemlist.html?parentId=" + id : "#") : "itemdetails.html?id=" + id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue