Kodi Community Forum

Full Version: What is the details structure for tvshows?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey
Can someone provide me with the tvshows details, which needs to be return in GetDetails function?
I have looked and looked, but cannot find it. In "HOW-TO write Media Info Scrapers - Scraper creation for dummies" there is an example for movies
Code:
<details>
    <title></title>
    <year></year>
    <director></director>
    <top250></top250>
    <mpaa></mpaa>
    <tagline></tagline>
    <runtime></runtime>
    <thumb></thumb>
    <credits></credits>
    <rating></rating>
    <votes></votes>
    <genre></genre>
    <actor>
        <name></name>
        <role></role>
    </actor>
    <outline></outline>
    <plot></plot>
</details>
but I need the one for tvshows.
Unfortunately they are not well documented. You can grab all possible info tags from source though. See https://github.com/xbmc/xbmc/blob/master...#L569-L787
Our default tvshow scraper is a good place to check as well. See https://github.com/xbmc/repo-scrapers/bl...m/tvdb.xml
I tried to run tvdb (and other) tvshows scrapers in ScraperEdit to get the xml values - but could not get it to work (possible because of kodi variables (eg. $INFO[language]) in the scrapers).
But thanks for the link to the source - it will help me a lot Smile

Thanks for the quick reply and have a good day Smile
Doesn't the "NFO" import and export information in the Wiki cover this if it uses the same XML data?

http://kodi.wiki/view/NFO_files

http://kodi.wiki/view/NFO_files/tvshows

http://kodi.wiki/view/NFO_files/tvepisodes

http://kodi.wiki/view/Import-export_library
In theory yes but i am not sure how up-to-date the wiki is. You better trust the code Wink