mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
stub out xml tv class
This commit is contained in:
parent
256b44764f
commit
3226bd017c
4 changed files with 31 additions and 13 deletions
|
@ -176,9 +176,9 @@
|
|||
existingServer.ManualAddress = apiClient.serverAddress();
|
||||
apiClient.serverInfo(existingServer);
|
||||
|
||||
Events.on(apiClient, 'authenticated', function (e, result) {
|
||||
onAuthenticated(this, result, {}, true);
|
||||
});
|
||||
apiClient.onAuthenticated = function (instance, result) {
|
||||
onAuthenticated(instance, result, {}, true);
|
||||
};
|
||||
|
||||
if (!existingServers.length) {
|
||||
var credentials = credentialProvider.credentials();
|
||||
|
@ -235,9 +235,9 @@
|
|||
|
||||
apiClient.serverInfo(server);
|
||||
|
||||
Events.on(apiClient, 'authenticated', function (e, result) {
|
||||
onAuthenticated(this, result, {}, true);
|
||||
});
|
||||
apiClient.onAuthenticated = function (instance, result) {
|
||||
onAuthenticated(instance, result, {}, true);
|
||||
};
|
||||
|
||||
Events.trigger(self, 'apiclientcreated', [apiClient]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue