mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-13 12:55:07 +00:00
Fixes for Kodi 18.5 (and Python2)
This commit is contained in:
parent
a51bf9c2cc
commit
933a31ac23
6 changed files with 13 additions and 9 deletions
|
@ -7,6 +7,7 @@ import datetime
|
|||
import logging
|
||||
import re
|
||||
from six.moves.urllib.parse import urlencode
|
||||
from kodi_six.utils import py2_encode
|
||||
|
||||
from .obj import Objects
|
||||
from .kodi import MusicVideos as KodiDb, queries as QU
|
||||
|
@ -166,7 +167,7 @@ class MusicVideos(KodiDb):
|
|||
else:
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
||||
params = {
|
||||
'filename': obj['Filename'],
|
||||
'filename': py2_encode(obj['Filename'], 'utf-8'),
|
||||
'id': obj['Id'],
|
||||
'dbid': obj['MvideoId'],
|
||||
'mode': "play"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue