fix video onError

This commit is contained in:
Luke Pulverenti 2016-01-21 15:40:10 -05:00
parent 4166f5fb64
commit e6a4712928

View File

@ -1192,7 +1192,8 @@
function onError() {
var errorMsg = Globalize.translate('MessageErrorPlayingVideo');
if (item.Type == "TvChannel") {
var item = self.currentItem;
if (item && item.Type == "TvChannel") {
errorMsg += '<p>';
errorMsg += Globalize.translate('MessageEnsureOpenTuner');
errorMsg += '</p>';