Skip to content

Commit 47769a1

Browse files
authored
Merge pull request #593 from pkscout/tmdb-tvshows-181
[metadata.tvshows.themoviedb.org.pythong] v.1.8.1
2 parents 064a1e7 + 3fd1659 commit 47769a1

79 files changed

Lines changed: 263 additions & 252 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

metadata.tvshows.themoviedb.org.python/addon.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="metadata.tvshows.themoviedb.org.python"
33
name="TMDb TV Shows"
4-
version="1.8.0"
4+
version="1.8.1"
55
provider-name="Team Kodi">
66
<requires>
77
<import addon="xbmc.python" version="3.0.0"/>
@@ -10,12 +10,14 @@
1010
<extension point="xbmc.metadata.scraper.tvshows" library="main.py" cachepersistence="00:15"/>
1111
<extension point="xbmc.addon.metadata">
1212
<reuselanguageinvoker>true</reuselanguageinvoker>
13-
<news>1.8.0
13+
<news>1.8.1
1414
first version for Kodi 22 (Piers)
1515
added season plot
1616
added tagline
1717
added original language
1818
use new VideoInfoTag call to add fanart
19+
refactored duration to be stored in VideoInfoTag rather than stream details
20+
updated language files
1921
</news>
2022
<platform>all</platform>
2123
<license>GPL-3.0-or-later</license>

metadata.tvshows.themoviedb.org.python/changelog.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.8.1
2+
refactored duration storage to use VideoInfoTag instead of stream details
3+
updated language files
4+
15
1.8.0
26
first version for Kodi 22 (Piers)
37
use new VideoInfoTag call to add fanart
@@ -195,4 +199,4 @@ fix for crash if scraping a show with lots of artwork
195199

196200

197201
1.1.7
198-
added support for fanarttv client key
202+
added support for fanarttv client key

metadata.tvshows.themoviedb.org.python/libs/data_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import re
2626
import json
27-
from xbmc import Actor, VideoStreamDetail
27+
from xbmc import Actor
2828
from collections import namedtuple
2929
from .utils import safe_get, logger
3030
from . import settings, api_utils
@@ -348,8 +348,7 @@ def add_episode_info(list_item, episode_info, full_info=True):
348348
vtag.setPremiered(episode_info['air_date'])
349349
duration = episode_info.get('runtime')
350350
if duration:
351-
videostream = VideoStreamDetail(duration=int(duration)*60)
352-
vtag.addVideoStream(videostream)
351+
vtag.setDuration(int(duration)*60)
353352
_set_cast(
354353
episode_info['season_cast'] + episode_info['credits']['guest_stars'], vtag)
355354
ext_ids = {'tmdb_id': episode_info['id']}

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.af_za/strings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-01-17 03:42+0000\n"
10+
"PO-Revision-Date: 2026-01-19 01:19+0000\n"
1111
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
1212
"Language-Team: Afrikaans (South Africa) <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/af_za/>\n"
1313
"Language: af_za\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Generator: Weblate 4.15\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.am_et/strings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-01-17 03:42+0000\n"
10+
"PO-Revision-Date: 2026-01-19 01:18+0000\n"
1111
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
1212
"Language-Team: Amharic (Ethiopia) <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/am_et/>\n"
1313
"Language: am_et\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n > 1;\n"
18-
"X-Generator: Weblate 4.15\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.ar_sa/strings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-01-17 10:07+0000\n"
10+
"PO-Revision-Date: 2026-01-19 01:19+0000\n"
1111
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
1212
"Language-Team: Arabic (Saudi Arabia) <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/ar_sa/>\n"
1313
"Language: ar_sa\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
18-
"X-Generator: Weblate 4.15\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.ast_es/strings.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-01-17 03:42+0000\n"
11-
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
10+
"PO-Revision-Date: 2026-01-19 01:20+0000\n"
11+
"Last-Translator: \"Enol P.\" <enolp@softastur.org>\n"
1212
"Language-Team: Asturian (Spain) <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/ast_es/>\n"
1313
"Language: ast_es\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Generator: Weblate 4.15\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.az_az/strings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-06-30 21:42+0000\n"
10+
"PO-Revision-Date: 2026-01-19 01:19+0000\n"
1111
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
1212
"Language-Team: Azerbaijani <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/az_az/>\n"
1313
"Language: az_az\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Generator: Weblate 4.18\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.be_by/strings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: 2023-02-19 14:01+0000\n"
10+
"PO-Revision-Date: 2026-01-19 01:19+0000\n"
1111
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
1212
"Language-Team: Belarusian <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/be_by/>\n"
1313
"Language: be_by\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18-
"X-Generator: Weblate 4.15.2\n"
18+
"X-Generator: Weblate 5.15.2\n"
1919

2020
msgctxt "Addon Summary"
2121
msgid "Fetch TV Show metadata from themoviedb.org"

metadata.tvshows.themoviedb.org.python/resources/language/resource.language.bg_bg/strings.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: XBMC Addons\n"
8-
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
8+
"Report-Msgid-Bugs-To: translations@kodi.tv\n"
99
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11-
"Last-Translator: Automatically generated\n"
12-
"Language-Team: none\n"
10+
"PO-Revision-Date: 2026-01-19 01:19+0000\n"
11+
"Last-Translator: Christian Gade <gade@kodi.tv>\n"
12+
"Language-Team: Bulgarian <https://kodi.weblate.cloud/projects/kodi-add-ons-information-providers/metadata-tvshows-themoviedb-org-python/bg_bg/>\n"
1313
"Language: bg_bg\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 5.15.2\n"
1819

1920
msgctxt "Addon Summary"
2021
msgid "Fetch TV Show metadata from themoviedb.org"

0 commit comments

Comments
 (0)