Skip to content

Commit 6c36817

Browse files
committed
Bug fix (tmdb id)
1 parent 52d7cdc commit 6c36817

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

addon.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<addon id="plugin.video.jlom" version="0.1.10" name="Just Lists Of Movies" provider-name="lbnt">
2+
<addon id="plugin.video.jlom" version="0.1.11" name="Just Lists Of Movies" provider-name="lbnt">
33
<requires>
44
<import addon="xbmc.python" version="3.0.1"/>
55
<import addon="script.module.requests"/>
@@ -19,6 +19,6 @@
1919
<icon>resources/images/icon.png</icon>
2020
<screenshot>resources/images/screenshot.jpg</screenshot>
2121
</assets>
22-
<news>0.1.10 Improve robustness. Set tmdb id for not in local db movies </news>
22+
<news>0.1.11 Bug fix </news>
2323
</extension>
2424
</addon>

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def list_movies(movie_list):
344344
else:
345345
info_tag.setTagLine("Not in your libray")
346346
#set unique id, useful for other addons
347-
info_tag.setUniqueIDs("{\"tmdb\": %s}" % (str(movie['id'])))
347+
info_tag.setUniqueIDs({'tmdb': str(movie['id'])})
348348

349349
# recursive call to offer to search using global search addon
350350
url = get_url(action='other_action', id=movie['id'], title=movie['original_title'])

0 commit comments

Comments
 (0)