resolve mono build failure

This commit is contained in:
Luke Pulverenti 2016-11-10 16:06:00 -05:00
parent 41c7f70286
commit 9f00ca2c0c
2 changed files with 6 additions and 5 deletions

View file

@ -983,7 +983,7 @@
});
};
self.supportsDirectPlay = function (mediaSource) {
self.supportsDirectPlay = function (mediaSource, itemType) {
return new Promise(function (resolve, reject) {
if (mediaSource.SupportsDirectPlay) {
@ -996,6 +996,7 @@
}
else {
var val = mediaSource.Path.toLowerCase().replace('https:', 'http').indexOf(ApiClient.serverAddress().toLowerCase().replace('https:', 'http').substring(0, 14)) == 0;
//resolve(val || itemType !== 'TvChannel');
resolve(val);
}
}