2017-11-10, 15:52
mklocal.py https support?
I may be doing something wrong, but do I need to to anything to support HTTPS URLs in mklocal.py?
Update: Maybe a quick change to line 521? The below is working for me.
You could also throw in other prefixes like ftp://, although it don't know of a use case for that at present.
Thanks
I may be doing something wrong, but do I need to to anything to support HTTPS URLs in mklocal.py?
Code:
##DEBUG## mediatype [movie]; mediatitle [Young Frankenstein]
##DEBUG## artwork type [fanart] known by Kodi as [https://assets.fanart.tv/fanart/movies/3...446a7d.jpg]
##DEBUG## [fanart ] Lookup non-HTTP file using current URL: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg [FAIL]
##DEBUG## [fanart ] No alt source for non-HTTP files, using: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
##DEBUG## [fanart ] Converting local filename to Kodi path: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
##DEBUG## [fanart ] No library change required, keeping: https://assets.fanart.tv/fanart/movies/3...446a7d.jpg
Update: Maybe a quick change to line 521? The below is working for me.
Code:
FROM:
if not source.startswith("http://"):
TO:
if not source.startswith("http://") and not source.startswith("https://"):
OR
if not source.startswith("http"):
You could also throw in other prefixes like ftp://, although it don't know of a use case for that at present.
Thanks