Skip to content

Commit

Permalink
Merge pull request #542 from rmrector/metadata.themoviedb.org.python@…
Browse files Browse the repository at this point in the history
…nexus

[metadata.themoviedb.org.python@nexus] 3.0.1
  • Loading branch information
rmrector authored Apr 23, 2024
2 parents 73f47a2 + d9f1e1a commit 7af834b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions metadata.themoviedb.org.python/addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.themoviedb.org.python"
name="The Movie Database Python"
version="3.0.0"
version="3.0.1"
provider-name="Team Kodi">
<requires>
<import addon="xbmc.metadata" version="2.1.0"/>
Expand All @@ -11,7 +11,10 @@
library="python/scraper.py"/>
<extension point="xbmc.addon.metadata">
<reuselanguageinvoker>true</reuselanguageinvoker>
<news>v3.0.0 (2024-04-17)
<news>v3.0.1 (2024-04-22)
- fix scraper error when tags are disabled

v3.0.0 (2024-04-17)
- version 3 for Kodi 20 Nexus and above

v2.2.1 (2024-04-12)
Expand Down
3 changes: 3 additions & 0 deletions metadata.themoviedb.org.python/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.0.1 (2024-04-22)
- fix scraper error when tags are disabled

v3.0.0 (2024-04-17)
- version 3 for Kodi 20 Nexus and above

Expand Down
3 changes: 2 additions & 1 deletion metadata.themoviedb.org.python/python/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def set_info(infotag: xbmc.InfoTagVideo, info_dict):
infotag.setWriters(info_dict['credits'])
infotag.setDirectors(info_dict['director'])
infotag.setPremiered(info_dict['premiered'])
infotag.setTags(info_dict['tag'])
if 'tag' in info_dict:
infotag.setTags(info_dict['tag'])
if 'mpaa' in info_dict:
infotag.setMpaa(info_dict['mpaa'])
if 'trailer' in info_dict:
Expand Down

0 comments on commit 7af834b

Please sign in to comment.