3.0.5641.2

This commit is contained in:
Luke Pulverenti 2015-06-13 10:46:59 -04:00
parent 8590d1bd10
commit 4556c02e47
6 changed files with 150 additions and 123 deletions

View file

@ -4,11 +4,11 @@
globalScope.MediaBrowser = {};
}
globalScope.MediaBrowser.CredentialProvider = function () {
globalScope.MediaBrowser.CredentialProvider = function (key) {
var self = this;
var credentials = null;
var key = 'servercredentials3';
key = key || 'servercredentials3';
function ensure() {

View file

@ -75,7 +75,9 @@
}
}
MainActivity.updateMediaSession(eventName, itemId, title, artist, album, parseInt(duration), parseInt(position), url, canSeek, isPaused);
var isLocalPlayer = MediaController.getPlayerInfo().isLocalPlayer || false;
MainActivity.updateMediaSession(eventName, isLocalPlayer, itemId, title, artist, album, parseInt(duration), parseInt(position), url, canSeek, isPaused);
lastUpdateTime = new Date().getTime();
}