mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-01 13:56:13 +00:00
Removed unnecessary log messages and changed some to debug (#167)
This commit is contained in:
parent
896c2fe6ec
commit
42258c699a
9 changed files with 65 additions and 67 deletions
|
@ -27,8 +27,8 @@ class Config(object):
|
|||
self.http()
|
||||
|
||||
def app(self, name, version, device_name, device_id, capabilities=None, device_pixel_ratio=None):
|
||||
LOG.info("Begin app constructor.")
|
||||
|
||||
|
||||
LOG.debug("Begin app constructor.")
|
||||
self.data['app.name'] = name
|
||||
self.data['app.version'] = version
|
||||
self.data['app.device_name'] = device_name
|
||||
|
@ -38,18 +38,16 @@ class Config(object):
|
|||
self.data['app.default'] = False
|
||||
|
||||
def auth(self, server, user_id, token=None, ssl=None):
|
||||
|
||||
LOG.info("Begin auth constructor.")
|
||||
|
||||
|
||||
LOG.debug("Begin auth constructor.")
|
||||
self.data['auth.server'] = server
|
||||
self.data['auth.user_id'] = user_id
|
||||
self.data['auth.token'] = token
|
||||
self.data['auth.ssl'] = ssl
|
||||
|
||||
def http(self, user_agent=None, max_retries=DEFAULT_HTTP_MAX_RETRIES, timeout=DEFAULT_HTTP_TIMEOUT):
|
||||
|
||||
LOG.info("Begin http constructor.")
|
||||
|
||||
|
||||
LOG.debug("Begin http constructor.")
|
||||
self.data['http.max_retries'] = max_retries
|
||||
self.data['http.timeout'] = timeout
|
||||
self.data['http.user_agent'] = user_agent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue