mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-24 08:51:37 +00:00
Pylint + Fix initial setup for fresh installs
This commit is contained in:
parent
d36bb3d232
commit
3d31568518
13 changed files with 37 additions and 45 deletions
|
@ -58,7 +58,7 @@ class Service(object):
|
|||
def __init__(self):
|
||||
|
||||
self.clientInfo = clientinfo.ClientInfo()
|
||||
self.addonName = self.clientInfo.getAddonName()
|
||||
self.addonName = self.clientInfo.get_addon_name()
|
||||
logLevel = settings('logLevel')
|
||||
self.monitor = xbmc.Monitor()
|
||||
|
||||
|
@ -68,9 +68,9 @@ class Service(object):
|
|||
# Initial logging
|
||||
log.warn("======== START %s ========" % self.addonName)
|
||||
log.warn("Python Version: %s", sys.version)
|
||||
log.warn("Platform: %s" % (self.clientInfo.getPlatform()))
|
||||
log.warn("Platform: %s" % (self.clientInfo.get_platform()))
|
||||
log.warn("KODI Version: %s" % xbmc.getInfoLabel('System.BuildVersion'))
|
||||
log.warn("%s Version: %s" % (self.addonName, self.clientInfo.getVersion()))
|
||||
log.warn("%s Version: %s" % (self.addonName, self.clientInfo.get_version()))
|
||||
log.warn("Using plugin paths: %s" % (settings('useDirectPaths') == "0"))
|
||||
log.warn("Log Level: %s" % logLevel)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue