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:
parent
7a37be78a6
commit
66d87717d9
2 changed files with 18 additions and 2 deletions
|
@ -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'
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue