mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
Revert useless unicode changes
Now that the device name is normalized without special characters.
This commit is contained in:
parent
c54108cfa7
commit
c28b43451f
1 changed files with 2 additions and 3 deletions
|
@ -189,7 +189,7 @@ class DownloadUtils():
|
|||
# If user is not authenticated
|
||||
auth = (
|
||||
'MediaBrowser Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
||||
% (deviceName, deviceId.encode('utf-8'), version.encode('utf-8')))
|
||||
% (deviceName, deviceId, version))
|
||||
header = {
|
||||
|
||||
'Content-type': 'application/json',
|
||||
|
@ -205,8 +205,7 @@ class DownloadUtils():
|
|||
# Attached to the requests session
|
||||
auth = (
|
||||
'MediaBrowser UserId="%s", Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
||||
% (userId.encode('utf-8'), deviceName, deviceId.encode('utf-8'),
|
||||
version.encode('utf-8')))
|
||||
% (userId, deviceName, deviceId, version))
|
||||
header = {
|
||||
|
||||
'Content-type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue