add version to web socket id text

This commit is contained in:
Luke Pulverenti
2013-07-09 14:37:41 -04:00
parent 6b5af09df7
commit 1e90c8d40c
4 changed files with 8 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
webSocket.onopen = function () {
setTimeout(function () {
self.sendWebSocketMessage("Identity", clientName + "|" + deviceId);
self.sendWebSocketMessage("Identity", clientName + "|" + deviceId + "|" + applicationVersion);
$(self).trigger("websocketopen");
}, 500);