mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06: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
|
# If user is not authenticated
|
||||||
auth = (
|
auth = (
|
||||||
'MediaBrowser Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
'MediaBrowser Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
||||||
% (deviceName, deviceId.encode('utf-8'), version.encode('utf-8')))
|
% (deviceName, deviceId, version))
|
||||||
header = {
|
header = {
|
||||||
|
|
||||||
'Content-type': 'application/json',
|
'Content-type': 'application/json',
|
||||||
|
@ -205,8 +205,7 @@ class DownloadUtils():
|
||||||
# Attached to the requests session
|
# Attached to the requests session
|
||||||
auth = (
|
auth = (
|
||||||
'MediaBrowser UserId="%s", Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
'MediaBrowser UserId="%s", Client="Kodi", Device="%s", DeviceId="%s", Version="%s"'
|
||||||
% (userId.encode('utf-8'), deviceName, deviceId.encode('utf-8'),
|
% (userId, deviceName, deviceId, version))
|
||||||
version.encode('utf-8')))
|
|
||||||
header = {
|
header = {
|
||||||
|
|
||||||
'Content-type': 'application/json',
|
'Content-type': 'application/json',
|
||||||
|
|
Loading…
Reference in a new issue