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

update hdhomerun playback

This commit is contained in:
Luke Pulverenti 2015-07-25 14:42:39 -04:00
parent 7a37be78a6
commit 66d87717d9
2 changed files with 18 additions and 2 deletions

View file

@ -197,7 +197,7 @@
html += '<a href="' + href + '">';
html += '<h3>';
html += device.Type;
html += getTunerName(device.Type);
html += '</h3>';
html += '<p>';
@ -341,6 +341,21 @@
});
}
function getTunerName(providerId) {
providerId = providerId.toLowerCase();
switch (providerId) {
case 'm3u':
return 'M3U';
case 'hdhomerun':
return 'HDHomerun';
default:
return 'Unknown';
}
}
function getProviderName(providerId) {
providerId = providerId.toLowerCase();
@ -395,7 +410,7 @@
var menuItems = [];
menuItems.push({
name: 'HD Homerun',
name: 'HDHomerun',
id: 'hdhomerun'
});