2017-11-22, 19:46
Question: is there a way to translate the special:// paths (http://kodi.wiki/view/Special_protocol) to traditional filesystem paths in scripts like mklocal.py? I enabled gif support and added a workaround for my use case, but it wouldn't be needed if there was an easy way to translate these paths.
For reference, i replaced line 522 from:
to
For reference, i replaced line 522 from:
Code:
newsource = source
to
Code:
if "special://profile/" in source:
newsource = source.replace("special://profile/","/storage/.kodi/userdata/",1)
else:
newsource = source