1
0
Fork 0
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:
Luke Pulverenti 2014-01-02 23:58:22 -05:00
parent 7ec31feea3
commit 708ca5d32f
7 changed files with 124 additions and 13 deletions

View file

@ -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;