Merge pull request #550 from grafixeyehero/metadata-editor-livetvloading

Fix Metadata Manager Live TV Loading..
This commit is contained in:
Joshua M. Boniface 2019-10-26 11:44:57 -04:00 committed by GitHub
commit 47b8c2bcb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,9 @@ define(["datetime", "jQuery", "material-icons"], function (datetime, $) {
});
}
function loadLiveTvChannels(openItems, callback) {
function loadLiveTvChannels(service, openItems, callback) {
ApiClient.getLiveTvChannels({
ServiceName: service,
AddCurrentProgram: false
}).then(function (result) {
var nodes = result.Items.map(function (i) {