fixed remote control issues

This commit is contained in:
Luke Pulverenti
2013-07-25 15:43:40 -04:00
parent e1a76594d6
commit 6c4be34378
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -118,7 +118,7 @@
function sendProgressUpdate(itemId) {
ApiClient.reportPlaybackProgress(Dashboard.getCurrentUserId(), itemId, getCurrentTicks());
ApiClient.reportPlaybackProgress(Dashboard.getCurrentUserId(), itemId, getCurrentTicks(), currentMediaElement.paused);
}
function clearProgressInterval() {
@@ -1064,7 +1064,9 @@
};
self.seek = function (position) {
currentMediaElement.currentTime = position / (1000 * 10000);
changeStream(position);
};
self.mute = function () {
+1
View File
@@ -791,6 +791,7 @@ var Dashboard = {
}
else if (msg.MessageType === "Playstate") {
if (msg.Data.Command === 'Stop') {
MediaPlayer.stop();
}