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

update tv config

This commit is contained in:
Luke Pulverenti 2015-07-25 16:41:29 -04:00
parent 66d87717d9
commit 74fad00abe
37 changed files with 1783 additions and 71 deletions

View file

@ -2,7 +2,7 @@
function reload(page, providerId) {
$('#txtDevicePath', page).val('');
page.querySelector('.txtDevicePath').value = '';
if (providerId) {
ApiClient.getNamedConfiguration("livetv").done(function (config) {
@ -11,7 +11,7 @@
return i.Id == providerId;
})[0];
$('#txtDevicePath', page).val(info.Url || '');
page.querySelector('.txtDevicePath').value = info.Url || '';
});
}
}
@ -22,8 +22,7 @@
var info = {
Type: 'm3u',
Url: $('#txtDevicePath', page).val(),
ImportFavoritesOnly: $('#chkFavorite', page).checked()
Url: page.querySelector('.txtDevicePath').value
};
var id = getParameterByName('id');