2023-01-03, 20:15
I have two scrapers defined in my addon.xml. Kodi correctly lists the addon for both tv shows and movies in information providers in add ons, but when I try to scrape tv shows, Kodi is always invoking movie_scraper.py rather than tvshow_scraper.py. Is this not possible or am I doing something wrong?
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.foo.python" name="Foo Scraper"
version="0.0.2" provider-name=“Author”>
<requires>
<import addon="xbmc.metadata" version="2.1.0"/>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.22.0"/>
</requires>
<extension point="xbmc.metadata.scraper.movies" language="en" library="movie_scraper.py"/>
<extension point="xbmc.metadata.scraper.tvshows" language="en" library="tvshow_scraper.py"/>
<extension point="xbmc.addon.metadata">
<summary lang="en_GB">Fetch TV show and Movie metadata from a Foo server</summary>
<summary lang="en_NZ">Fetch TV show and Movie metadata from a Foo server</summary>
<summary lang="en_US">Fetch TV show and Movie metadata from a Foo server</summary>
<description lang="en_GB">Fetch TV show and Movie metadata from a Foo server</description>
<description lang="en_NZ">Fetch TV show and Movie metadata from a Foo server</description>
<description lang="en_US">Fetch TV show and Movie metadata from a Foo server</description>
<platform>all</platform>
<license>GPL-3.0-or-later</license>
<reuselanguageinvoker>false</reuselanguageinvoker>
</extension>
</addon>