mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 05:36:12 +00:00
Hotfix (#71)
* Fix typos * Indicate unicode dict * Fix artistid * Attempt to fix encoding
This commit is contained in:
parent
ba22e26c06
commit
85d054f33a
4 changed files with 12 additions and 8 deletions
|
@ -62,10 +62,11 @@ class Items(object):
|
|||
@classmethod
|
||||
def path_validation(cls, path):
|
||||
# Verify if direct path is accessible or not
|
||||
verify_path = path
|
||||
if not os.path.supports_unicode_filenames:
|
||||
path = path.encode('utf-8')
|
||||
verify_path = path.encode('utf-8')
|
||||
|
||||
if window('emby_pathverified') != "true" and not xbmcvfs.exists(path):
|
||||
if window('emby_pathverified') != "true" and not xbmcvfs.exists(verify_path):
|
||||
if dialog(type_="yesno",
|
||||
heading="{emby}",
|
||||
line1="%s %s. %s" % (lang(33047), path, lang(33048))):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue