Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
3.2.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nvllsvm committed Sep 21, 2017
1 parent 9dccd1e commit cc4d060
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# emby-unlocked
Version: **Emby 3.2.30.0**
Version: **Emby 3.2.31.0**

Emby with the premium Emby Premiere features unlocked.

Expand Down
14 changes: 8 additions & 6 deletions replacements/connectionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
}
if (systemInfo.MacAddress) {
server.WakeOnLanInfos = [
{ MacAddress: systemInfo.MacAddress }
{ MacAddress: systemInfo.MacAddress }
];
}
}
Expand Down Expand Up @@ -243,7 +243,7 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
a = a.split('.');
b = b.split('.');

for (var i = 0, length = Math.max(a.length, b.length) ; i < length; i++) {
for (var i = 0, length = Math.max(a.length, b.length); i < length; i++) {
var aVal = parseInt(a[i] || '0');
var bVal = parseInt(b[i] || '0');

Expand Down Expand Up @@ -271,7 +271,7 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
return connectUser;
};

self._minServerVersion = '3.2.20';
self._minServerVersion = '3.2.22';

self.appVersion = function () {
return appVersion;
Expand Down Expand Up @@ -1069,8 +1069,8 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
}
else if (result.Id !== server.Id) {

// http request succeeded, but it's a different server than what was expected
testNextConnectionMode(tests, index + 1, server, options, resolve);
console.log('http request succeeded, but found a different server Id than what was expected');
resolveFailure(self, resolve);

} else {
console.log('calling onSuccessfulConnection with connection mode ' + mode + ' with server ' + server.Name);
Expand Down Expand Up @@ -1438,7 +1438,7 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
});
};

self.getRegistrationInfo = function (feature, apiClient) {
self.getRegistrationInfo = function (feature, apiClient, options) {
var cacheKey = "regInfo-" + apiClient.serverInfo().Id;
appStorage.setItem(cacheKey, JSON.stringify({
lastValidDate: new Date().getTime(),
Expand Down Expand Up @@ -1602,3 +1602,5 @@ define(['events', 'apiclient', 'appStorage'], function (events, apiClientFactory
ConnectionManager: ConnectionManager
};
});
self.getRegistrationInfo = function (feature, apiClient) {
};

0 comments on commit cc4d060

Please sign in to comment.