NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 9 10 11 12 13 … 433 Next »
TV Guide edit Genre for Kodi

TV Guide edit Genre for Kodi
sammy3
Offline

Junior Member

United Kingdom
Posts: 41
Threads: 9
Joined: Mar 2020
#1
2020-03-10, 07:18 PM
Hi 
I'm using nextpvr to get uk freeview dvb-t and collecting ota epg data.
Most genres are correct but all TV dramas are appearing as "Adult Movie / drama".

I would like to map these all to a more appropriate genre (to stop everything looking like pron in the guide).
Is there anyway to edit this my end?
I've seen the "xbmc-genre-translation.xml" file in the npvr public user directory - does npvr read and use this?


Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#2
2020-03-10, 07:33 PM
You'd need to change the international standard for DVB https://www.etsi.org/deliver/etsi_en/300...11101p.pdf page 40

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#3
2020-03-10, 07:56 PM
Quote:Most genres are correct but all TV dramas are appearing as "Adult Movie / drama".
One of two possible causes:

1/ Most likely your broadcaster is just sending crappy genre categorization for these shows. As Martin said, the names for these are defined by a standard.

2/ When it comes to genre from DVB sources, the broadcaster can send up to four genre for a show. Kodi only takes a single genre, so NextPVR supplies it the first genre. There is a slight possibility your broadcaster is roughly categorizing a first genre, and giving something more specific as a secondary genre and kodi doesn't see it.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#4
2020-03-10, 08:01 PM
Since NextPVR is mapping all Drama to 8

<genre name="Drama" type="16" subtype="8"/>

you could map it to

<genre name="Drama" type="16" subtype="0"/>

If it is NextPVR doing the mapping and not OTA

Martin
sammy3
Offline

Junior Member

United Kingdom
Posts: 41
Threads: 9
Joined: Mar 2020
#5
2020-03-10, 08:25 PM
(2020-03-10, 08:01 PM)mvallevand Wrote: Since NextPVR is mapping all Drama to 8

  <genre name="Drama" type="16" subtype="8"/>

you could map it to

  <genre name="Drama" type="16" subtype="0"/>

If it is NextPVR doing the mapping and not OTA

Martin
Hi sorry where would I change this? Thanks


 
Quote:When it comes to genre from DVB sources, the broadcaster can send up to four genre for a show. Kodi only takes a single genre, so NextPVR supplies it the first genre. There is a slight possibility your broadcaster is roughly categorizing a first genre, and giving something more specific as a secondary genre and kodi doesn't see it.



Hi I have looked through my kodi EPG database file and it does appear to have picked up a subtype along the way (16 8) for tv dramas. All other entries have no subtype.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2020-03-10, 08:35 PM
(2020-03-10, 08:25 PM)sammy3 Wrote: Hi I have looked through my kodi EPG database file and it does appear to have picked up a subtype along the way (16 8) for tv dramas. All other entries have no subtype.
Actually, that's not quite what I mean. The kodi's genre type and subtype are in effect a single NextPVR genre entry (ie, top 4 bit nibble and bottom 4 bit nibble of a 8 bit byte). A show can have up to four of these genre bytes.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#7
2020-03-10, 08:36 PM
For type 16, this is "0x1" in the top nibble, from this list of entries:

Quote: genreMapping[0x10] = "Movie - drama";
genreMapping[0x11] = "Movie - detective/thriller";
genreMapping[0x12] = "Movie - adventure/western/war";
genreMapping[0x13] = "Movie - science fiction/fantasy/horror";
genreMapping[0x14] = "Movie - comedy";
genreMapping[0x15] = "Movie - soap/melodrama/folkloric";
genreMapping[0x16] = "Movie - romance";
genreMapping[0x17] = "Movie - serious/classical/religious/historical movie/drama";
genreMapping[0x18] = "Movie - adult movie/drama";

type 16, subtype 8, is the same as 0x18, so "Movie - adult movie/drama"
sammy3
Offline

Junior Member

United Kingdom
Posts: 41
Threads: 9
Joined: Mar 2020
#8
2020-03-10, 08:38 PM (This post was last modified: 2020-03-10, 09:06 PM by sammy3.)
Having looked through my npvr database I can see the entries that are causing my issues have a genre of "drama".
Is this correct? - there doesn't appear to be a dedicated "drama" section in the ETSI standards whilst you seem to be following the major types for the rest?

When these are sent to kodi they end up as "Adult movie / drama"
sammy3
Offline

Junior Member

United Kingdom
Posts: 41
Threads: 9
Joined: Mar 2020
#9
2020-03-10, 09:25 PM (This post was last modified: 2020-03-10, 09:27 PM by sammy3.)
(2020-03-10, 08:01 PM)mvallevand Wrote: Since NextPVR is mapping all Drama to 8

  <genre name="Drama" type="16" subtype="8"/>

you could map it to

  <genre name="Drama" type="16" subtype="0"/>

If it is NextPVR doing the mapping and not OTA

Martin

Hi

Sorry I was a bit slow - just figured it out that that goes in the "xbmc-genre-translation.xml" file.
I just cleared my guide in nextpvr and kodi and pulled a fresh one and I can confirm that changing that line fixes it.
It appears all genres of "drama" type are mapped to the porn category by default in the xbmc-genre-translation.xml file Angel

Thanks again everyone for the speedy help
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR VOD through Kodi unmich 2 1,323 2023-06-18, 03:54 AM
Last Post: sub
  Guide Empty brady@preheim.com 13 2,502 2022-11-16, 02:13 PM
Last Post: mvallevand
  Tuner not being released when live TV stopped on Kodi dark_half 7 2,902 2022-06-12, 11:59 PM
Last Post: sub
  ZAP2XML no longer loading TV Guide Schedule skoonz_sr@hotmail.com 33 21,231 2021-03-27, 06:45 AM
Last Post: Jean0987654321
  Mouse Click on TV Guide throws an error mlopez1007 2 1,487 2021-03-22, 11:33 AM
Last Post: Graham
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,528 2021-01-11, 04:37 PM
Last Post: Graham
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,149 2020-12-27, 02:27 AM
Last Post: sub
  TV Guide Initial channel NumberFive 2 1,884 2020-07-28, 06:03 PM
Last Post: NumberFive
  4.2.5 and Mobile TV Guide NumberFive 8 3,182 2020-04-30, 08:13 PM
Last Post: NumberFive
  OTA EPG guide data only for 2 hrs acegolfer 6 3,645 2020-03-18, 08:30 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode