Fix emby connect auth string

Was preventing proper device detection when using emby connect, play to, etc.
This commit is contained in:
angelblue05 2018-12-10 15:15:25 -06:00
parent fa8a2d7152
commit 5d6e106ef3

View file

@ -724,10 +724,10 @@ class ConnectionManager(object):
raise KeyError("credentials['ConnectUserId'] cannot be null")
auth = "MediaBrowser "
auth += "Client='%s', " % self.config['app.name']
auth += "Device='%s', " % self.config['app.device_name']
auth += "DeviceId='%s', " % self.config['app.device_id']
auth += "Version='%s' " % self.config['app.version']
auth += "Client=%s, " % self.config['app.name']
auth += "Device=%s, " % self.config['app.device_name']
auth += "DeviceId=%s, " % self.config['app.device_id']
auth += "Version=%s " % self.config['app.version']
try:
auth = self._request_url({