mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Clean up initial setup
This commit is contained in:
parent
606d865160
commit
5f2be9390f
1 changed files with 1 additions and 11 deletions
|
@ -75,19 +75,9 @@ class InitialSetup(object):
|
||||||
|
|
||||||
def _server_verification(self):
|
def _server_verification(self):
|
||||||
|
|
||||||
###$ Begin migration $###
|
|
||||||
if settings('server') == "":
|
|
||||||
self.user_client.get_server()
|
|
||||||
log.info("server migration completed")
|
|
||||||
|
|
||||||
self.user_client.get_userid()
|
|
||||||
self.user_client.get_token()
|
|
||||||
###$ End migration $###
|
|
||||||
|
|
||||||
current_server = self.user_client.get_server()
|
current_server = self.user_client.get_server()
|
||||||
if current_server and not settings('serverId'):
|
if current_server and not settings('serverId'):
|
||||||
server = self.connectmanager.get_server(current_server,
|
server = self.connectmanager.get_server(current_server, {'ssl': self.user_client.get_ssl()})
|
||||||
{'ssl': self.user_client.get_ssl()})
|
|
||||||
log.info("Detected: %s", server)
|
log.info("Detected: %s", server)
|
||||||
try:
|
try:
|
||||||
server_id = server['Servers'][0]['Id']
|
server_id = server['Servers'][0]['Id']
|
||||||
|
|
Loading…
Reference in a new issue