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 += '<a href="' + href + '">';
|
||||||
|
|
||||||
html += '<h3>';
|
html += '<h3>';
|
||||||
html += device.Type;
|
html += getTunerName(device.Type);
|
||||||
html += '</h3>';
|
html += '</h3>';
|
||||||
|
|
||||||
html += '<p>';
|
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) {
|
function getProviderName(providerId) {
|
||||||
|
|
||||||
providerId = providerId.toLowerCase();
|
providerId = providerId.toLowerCase();
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
Dashboard.navigate('livetvstatus.html');
|
Dashboard.navigate('livetvstatus.html');
|
||||||
|
|
||||||
}).fail(function () {
|
}).fail(function () {
|
||||||
|
Dashboard.hideLoadingMsg();
|
||||||
Dashboard.alert({
|
Dashboard.alert({
|
||||||
message: Globalize.translate('ErrorSavingTvProvider')
|
message: Globalize.translate('ErrorSavingTvProvider')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue