mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-01-12 19:16:10 +00:00
Prevent connect manager loading via plugin
Prevent from testing connections if launching a sync
This commit is contained in:
parent
7149241b38
commit
e1c2a04571
1 changed files with 4 additions and 3 deletions
|
@ -13,6 +13,7 @@ import read_embyserver as embyserver
|
||||||
import connect.connectionmanager as connectionmanager
|
import connect.connectionmanager as connectionmanager
|
||||||
from dialogs import ServerConnect, UsersConnect, LoginConnect, LoginManual, ServerManual
|
from dialogs import ServerConnect, UsersConnect, LoginConnect, LoginManual, ServerManual
|
||||||
from ga_client import GoogleAnalytics
|
from ga_client import GoogleAnalytics
|
||||||
|
from utils import window
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
|
||||||
|
@ -34,7 +35,7 @@ class ConnectManager(object):
|
||||||
|
|
||||||
self.__dict__ = self._shared_state
|
self.__dict__ = self._shared_state
|
||||||
|
|
||||||
if not self.state:
|
if not self.state and not window('emby_currUser'):
|
||||||
client_info = clientinfo.ClientInfo()
|
client_info = clientinfo.ClientInfo()
|
||||||
self.emby = embyserver.Read_EmbyServer()
|
self.emby = embyserver.Read_EmbyServer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue