Results 1 to 5 of 5

Thread: Source of Genre/Category in Nextpvr addon in Kodi

  1. #1
    Join Date
    Jan 2019
    Location
    Toronto, Canada
    Posts
    17

    Source of Genre/Category in Nextpvr addon in Kodi

    I always thought Nextpvr in Kodi was getting the Genre/Category from my XMLTV file. Looking at 3rd Rock from the Sun (listed as a Sitcom in my xmltv file) it is listed in the epg as Science Fiction/Fantasy/Horror. Similarly Bewitched an old 60's sitcom is also listed as Science Fiction/Fantasy/Horror. Some sitcoms are listed as Comedies although the xmltv file has a category of Sitcom. Just curious the source of what is being shown in the epg. Thanks.

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,459
    They are mapped via the xbmc-genre-translation.xml file and Sitcom should be 16 4 which share the same type 16 as the other group you mention. Not sure Kodi colours by subtype.


    Martin

  3. #3
    Join Date
    Jan 2019
    Location
    Toronto, Canada
    Posts
    17
    Thanks for the info. Found the file. But I'm still not sure how the genre appears in my epg. For instance here's a snipett of my xmltv file for the show Seinfeld
    <programme start="20190309023700 -0500" stop="20190309030700 -0500" channel="I9.1.44784.zap2it.com">
    <title lang="en">Seinfeld</title>
    <sub-title lang="en">The Burning</sub-title>
    <desc lang="en">George learns to leave at the right moment; Jerry has a new girl (Cindy Ambuehl) with a past; Puddy (Patrick Warburton) is religious.</desc>
    <credits>
    <actor role="Jerry Seinfeld">Jerry Seinfeld</actor>
    <actor role="Elaine Benes">Julia Louis-Dreyfus</actor>
    <actor role="George Costanza">Jason Alexander</actor>
    <actor role="Cosmo Kramer">Michael Richards</actor>
    <producer>Larry David</producer>
    <producer>George Shapiro</producer>
    <producer>Howard West</producer>
    </credits>
    <date>19980319</date>
    <category lang="en">Sitcom</category>
    <length units="minutes">30</length>
    <icon src="https://zap2it.tmsimg.com/assets/p1271677_e_v8_ac.jpg" />
    <url>https://tvlistings.zap2it.com//overview.html?programSeriesId=SH00016916&amp;tmsId =EP000169160195</url>
    <episode-num system="common">S09E16</episode-num>
    <episode-num system="dd_progid">EP00016916.0195</episode-num>
    <episode-num system="xmltv_ns">8.15.</episode-num>
    <previously-shown start="19980319000000" />
    <subtitles type="teletext" />
    <rating>
    <value>TV-PG</value>
    </rating>
    </programme>

    The category line says its a Sitcom but shows up in my epg as a Comedy. How does Kodi do this? Is it getting the info from my xmltv file or someplace else? A bit confused.

  4. #4
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,459
    Check the map file for Sitcom It is 16 4 and mapedp to the dvb standard in en 300 468 section 6.2.9 that becomes Comedy. Bewitched and Third Rock likely have fantasy as their first priority genre so would map to 16 3

    Martin

  5. #5
    Join Date
    Jan 2019
    Location
    Toronto, Canada
    Posts
    17
    Thanks alot for your patience. I know get how its populated. Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •