TV Guide Genre Colours (2 Viewers)

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi FlipGer,

    Would it be so bad is the user can change the colour ? I think the skinner can set the defaults, but the configuration of the genre/group mapping should allow the user to change the colours ?

    WebEPG has the ability to translate the genre from each web site into something else. This is an replacement function, but was designed so that a user can try to bring genre from different sites into line.

    I think the first step is to agree on the genre/groups. My suggestion is a few as possible say the following:

    Movie/Film
    News
    Sports
    Documentary
    Series
    Other

    /James
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    i would add:
    - Music
    - Weather (?)

    What about subgenres? Would increase the number much, but it might be nice for the user:
    - Drama
    - Western
    - Sci-Fi

    But you are right, it should be kept as simple as possible.

    Nothing against user interaction, if she / he wants to change colors, it should be possible, but thats the second step.

    WebEPG has the ability to translate the genre from each web site into something else. This is an replacement function, but was designed so that a user can try to bring genre from different sites into line.

    This sounds usefull. I will take a look into the code. Are the genres you mentioned above those of the WebEPG?

    Flip.
     

    tomtom21000

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,226
    120
    Germany
    I would absolutely go with James suggestion.

    With too many colours in the end nobody could remember which color stands for what.

    make it less than 10, no subgenres.

    music might be ok. weather is obsolete, I think. I know that there are countries with weather shows, but they are not so important.
    is cartoons a genre?
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    tomtom21000 said:
    I would absolutely go with James suggestion.

    With too many colours in the end nobody could remember which color stands for what.

    make it less than 10, no subgenres.

    music might be ok. weather is obsolete, I think. I know that there are countries with weather shows, but they are not so important.
    is cartoons a genre?

    I would go with a genre called "Kids"
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    ok. Less than 10 genres sounds like a good idea. Currently we have:
    - Movie/Film
    - News
    - Sports
    - Documentary
    - Series
    - Music
    - Kids
    - Other

    I have digged somewhat through the code, and it does not seem to be impossible. ;)
    Hopefully i find some time this weekend, i really would like to fiddle this out.

    Any more ideas?

    Flip
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    I would suggest that we also need:-

    - Drama
    - Mystery/Thriller
    - Comedy
    - SciFi

    and that we don't need:-

    - Movie/Film (since this is not really a genre, but a format)
    - Series (since any of the genres could be a series)
    - other

    Cheers,

    Taipan
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Taipan,

    We really want just to have the groupings or over catagories of the genres
    Taipan said:
    I would suggest that we also need:-

    - Drama
    - Mystery/Thriller
    - Comedy
    - SciFi

    So all these are they Series or Movies ? For example Movie/Drama, Movie/Comedy or Series/Comedy (SitCom), Series/Drama (Soap) or Series/SciFi.

    I think when you look at most guide web sites they, often only mark in different colours Series and Films.

    So I think the above list is good. I would maybe leave Music out. Only because the music programs tend to be almost always on a music channel and then the whole channel will be more or less a single colour.

    However, maybe it should be configurable which catagories to show. So one person can just see Movies and Series, everything else will be the default colour (Other). Or you can show them all. That together with a system for mapping the detail genres from the guide into these groups would be really good.

    /James
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    yeah, that is the problem. Do we want genres or subgenres? I would stay, as James said, with genres. Looking on www.tvspielfilm.de they have:

    - Movie/Film
    - Daily Soap
    - Series
    - Report/Documentary
    - Sport
    - Entertainment
    - Kids
    - Talkshows
    (most we have except for...)
    - News
    - Other

    Anyway, as far as i could plan this, this can be easily changed by an external XML. This will not be hardcoded, so changes can be made. :)

    Flip
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    49
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    ok a progress report and some questions for the way to go. :)

    I am at a point where I have to choose between flexibility or data consistence.

    What have I done so far?

    1) I made a XML called TVGenreMapping.xml.
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <genres>
      <genre name="Movie/Film">
        <mapping>movie</mapping>
        <mapping>film</mapping>
      </genre>
      <genre name="Series">
        <mapping>serie</mapping>
      </genre>
      <genre name="Daily Soap">
        <mapping>soap</mapping>
      </genre>
      <genre name="Report/Documentary">
        <mapping>report</mapping>
        <mapping>documentary</mapping>
      </genre>
    </genres>

    With this XML I map the main genres "name" with keywords. Eg. contains "Spielfilm" the keyword "film" and will be mapped to the genre "Movie/Film". This is done on import and therefore before adding the genre to the TVdatabase!
    Cons:
    - The user will loose information. I can allready hear some people complaining, that they loose there beloved genre infos.
    Pros:
    - The genre table will be kept simple. I did have nearly 1000 genre entries, now I have "only" 10, what made the TVGuide much faster

    2) I made a XML file for the color mapping in the skins directory.
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <profile>
      <section name="GenreColors">
        <entry name="Series">#FF0000</entry>
        <entry name="Movie/Film">#00FF00</entry>
        <entry name="Report/Documentary">#0000FF</entry>
        <entry name="Dail Soap">#00FFFF</entry>
      </section>
    </profile>

    3) ToDo
    - Translation, user interface for changing colors and keywords

    So, here are some questions:
    1) What do you think about keeping the original genre infos somehow (database, etc.)?
    2) I am thinking about to merge these two files into one, to prevent data inconsistence. This could be done in two ways:
    a) Having one XML file in the main directory.
    - Pro: Maximum data consistence
    - Con: The colors can not be changed for each skin
    b) Having separate XML files in each skin directory.
    - Pro: The colors can be changed for each skin
    - Con: Possible data inconsistence

    Flip
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi FlipGer,

    I think use catagory numbers:

    0 default/other/unknown
    1 movie/film
    2 ..

    Then these numbers can be turned in the names using the strings.xml files for each language.

    <genres>
    <genre name="1">
    <name>2000011</name>
    <mapping>movie</mapping>
    <mapping>film</mapping>
    </genre>



    /James
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 Windscribe VPN DE
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP address or Host Name of the Master TV Service". I have a single seat build running the latest X64 version of MP1. Can anyone point me to a solution please? It's probably a really obvious one..... Cheers Fangio
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    Replies
    0
    Views
    386
    MP1 MP2 1.32 StreamedMP Latest Music DE
    No one can help me here?
    No one can help me here?
    In StreamedMP I have the most recently added films (Moving Pictures) and also TV recordings on the home screen. But I made the...
    Replies
    5
    Views
    1K
    MP1 MP2 1.34 STB blasting for IPTV DE
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set top box into Mediaportal needs replaced with a different solution. I currently have HDMI from the STB to the colossus. Mediaportal is controlling the STB through a USBUIRT blaster and the blaster is...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    Replies
    0
    Views
    668
    @CyberSimian this workaround worked. @TLD this hint was good because I wanted to install x64. Now I have x86 installed
    @CyberSimian this workaround worked. @TLD this hint was good because I wanted to install x64. Now I have x86 installed
    After reinstalling a WinTV quad HD card and MP1.36, the TV service no longer starts automatically. A manual start is no problem...
    Replies
    4
    Views
    340
    Judging by the source code, 1.20 has DB version 61, and 1.33 has DB version 62. That is, one column has been added: symbolRateMultiplier
    Judging by the source code, 1.20 has DB version 61, and 1.33 has DB version 62. That is, one column has been added...
    Hi I have a TV server 1.12 on a dedicated box, utilizing 2 DVB-C cards and newcs. I want to keep that installation. However one of...
    Replies
    9
    Views
    1K
    Top Bottom