Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix stupid problem with python excaping slashes which fails on doing …

…the setFooDetails
  • Loading branch information...
commit c60ab54626adb9603e14780752811aabf9ba15f1 1 parent 1965274
@MartijnKaijser MartijnKaijser authored
Showing with 6 additions and 2 deletions.
  1. +1 −1  addon.xml
  2. +4 −0 changelog.txt
  3. +1 −1  default.py
View
2  addon.xml
@@ -2,7 +2,7 @@
<addon
id="script.artwork.downloader"
name="Artwork Downloader"
- version="12.0.3"
+ version="12.0.4"
provider-name="paddycarey, putneyj, Martijn"
>
<requires>
View
4 changelog.txt
@@ -1,3 +1,7 @@
+[B]12.0.4[/B]
+- Directly add the image URL to the databse
+- Option to override with local file
+
[B]12.0.1[/B]
- Fix bulk downloading for a single movie/tvshow
View
2  default.py
@@ -596,7 +596,7 @@ def _batch_download(self, image_list):
if self.settings.files_local and not item['arttype'] in ['extrafanart', 'extrathumbs']:
if not self.fileops._exists(item['localfilename']):
self.fileops._downloadfile(item['url'], item['filename'], item['targetdirs'], item['media_name'], self.mode)
- item['url'] = item['localfilename']
+ item['url'] = item['localfilename'].replace('\\','\\\\')
if item['mediatype'] == 'movie':
if item['arttype'] == 'poster':
xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.SetMovieDetails", "params": { "movieid": %i, "art": { "poster": "%s" }}, "id": 1 }' %(item['dbid'], item['url']))
Please sign in to comment.
Something went wrong with that request. Please try again.