Emby (dev) with the premium Emby Premiere features unlocked.
Arch Linux - emby-server-dev-unlocked
PluginSecurityManager.cs.patch
Before compilation, simply patch the existing file:
patch -N -p1 -r - Emby.Server.Implementations/Security/PluginSecurityManager.cs < ../PluginSecurityManager.cs.patch
The included version of this in the source distribution is minified. Thus, making a patch is difficult.
The only difference boils down to replacing self.getRegistrationInfo
with this:
self.getRegistrationInfo = function(feature, apiClient) {
var cacheKey = "regInfo-" + apiClient.serverInfo().Id;
appStorage.setItem(cacheKey, JSON.stringify({
lastValidDate: new Date().getTime(),
deviceId: self.deviceId()
}));
return Promise.resolve();
}