Remove kodi_six: py2_encode

This commit is contained in:
Odd Stråbø 2024-06-11 05:11:56 +00:00
commit 794f9c8b85
3 changed files with 3 additions and 9 deletions

View file

@ -7,8 +7,6 @@ import datetime
import re
from urllib.parse import urlencode
from kodi_six.utils import py2_encode
from ..database import jellyfin_db, queries as QUEM
from ..helper import api, stop, validate, jellyfin_item, values, Local, LazyLogger
from ..helper.utils import find_library
@ -210,7 +208,7 @@ class MusicVideos(KodiDb):
else:
obj["Path"] = "plugin://plugin.video.jellyfin/%s/" % obj["LibraryId"]
params = {
"filename": py2_encode(obj["Filename"], "utf-8"),
"filename": obj["Filename"],
"id": obj["Id"],
"dbid": obj["MvideoId"],
"mode": "play",