Totorial on adding genres (1 Viewer)

Ramjet99

Portal Member
June 22, 2007
32
0
WELLINGTON
Home Country
New Zealand New Zealand
Hi, Can anyone point to a tutorial on establishing new genres and then linking that genre to a caregory graphic? I thoguht I had it nailed but my 'martial Arts' genre fails to show.
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Hi, Can anyone point to a tutorial on establishing new genres and then linking that genre to a caregory graphic? I thoguht I had it nailed but my 'martial Arts' genre fails to show.

    If you want to add it to the existing dynamic 'Genres' filter, then you have to manually edit the Movie Details on every movie and add |Martial Arts| to the 'genre' field on all the movies you want to add.

    Since that is a lot of work, the other way would be to convert the dynamic 'Genres' filter to a static one, and then add your own sub genre to that branch that covers your martial arts movies. But then every movie you add that happens to have a new Genre, will not have a dynamic genre created auto, so you are stuck having to add new genre filters then.

    The solution I use is to add a new main menu item "Custom Genres" (I put mine under "Custom Collections"), in which you put the filters you make yourself, in your case one for the 'martial arts'. Then the dynamic genre system will remain functional and you can add as many custom filters to that custom menu as you want. For example this is where I put my "James Bond" and other sets as well.

    PS: As for your category image to show, just make sure the filename on the category image you add is in the same folder as all the others, and has the exact same name as what is shown inside Moving Pictures. So "Martial Arts.png" for "Martial Arts".
     

    Ramjet99

    Portal Member
    June 22, 2007
    32
    0
    WELLINGTON
    Home Country
    New Zealand New Zealand
    Hmmm, same thing happened - created a Custom node and added some test filters underneath. Listed all the movies I'd expect to see so exited out adn ran up MP. No additional custom cat showing. Went back into conf and they're gone from there too.

    Something odd going on.

    Mving pictures conf takles a LONG time to open and also delays the opening of the applciation (loading Windows plugin) so possibly all are related.
     

    Ramjet99

    Portal Member
    June 22, 2007
    32
    0
    WELLINGTON
    Home Country
    New Zealand New Zealand
    Upgraded Moving Pictures to latest version (and ran conf as admin) but still getting same result. Additional categories and filters appear to work until conf is exited. Re-entering conf shows they're gone.

    What's the relevant file that holds this info - it maybe a permissions issue - or is it contained within the database itself?
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    is it possible to have two genres under genres menu item? for example i want to create comedy/romance but UNDER default Genres menu item (not as new item, that i know it is possible and how to do it)..

    for the time being i have found two ways to "fix" this:
    1. use categories then filtering (categories for comedy genre, filter for romance genre)
    2. better solution, custom genre.. i've written a program that will execute a simple sql statement on movingpictures database and insert custom combined genres.
    Code:
    update movie_info set genres=genres||'Comedy/Romance|' where genres like  '%|Romance|%' and genres like '%|Comedy|%' and genres not like '%|Comedy/Romance|%'
     

    altytesty

    Portal Pro
    December 19, 2009
    57
    9
    is it possible to have two genres under genres menu item? for example i want to create comedy/romance but UNDER default Genres menu item (not as new item, that i know it is possible and how to do it)..

    for the time being i have found two ways to "fix" this:
    1. use categories then filtering (categories for comedy genre, filter for romance genre)
    2. better solution, custom genre.. i've written a program that will execute a simple sql statement on movingpictures database and insert custom combined genres.

    [/CODE]

    I'm not sure how all of the database parts work together, looked at it for a bit...

    What SilentExcept shows for sql may work, but it's a "linear" edit that affects each entry
    within the "movie_info", much like my tutorial,
    I believe the ideal way would be to
    1) Create a "New Genre"
    2) Be able to add filters to the new Genre (that way the movie info is NOT altered)

    eJ:
    Create "Comedy/Romance" Genre
    Create filter that points all genres CONTAINING romance
    and all genres CONTAINING comedy to go in the Comedy/Romance category

    ...

    If you look at the "node" table, you'll see that each Genre appears 2 times, once with a parent column value of 2, and another time with a parent value of 18


    anyway, ill look for a place to suggest our desire so we can all put a star
     

    Ramjet99

    Portal Member
    June 22, 2007
    32
    0
    WELLINGTON
    Home Country
    New Zealand New Zealand
    Thanks for the advice but what I'm finding is that I can create nodes fine, but when I exit Config and go back in again, the node has disappeared and I'm back with the default nodes. Might try a reinstall.
     

    Ramjet99

    Portal Member
    June 22, 2007
    32
    0
    WELLINGTON
    Home Country
    New Zealand New Zealand
    Yep, started with a reinstall and a new database and can now add custom categories no problem. If anyone else in the same boat, make sure to get the MP-artwork and Info copier first to dump data out to the folders and then do a custom reimport using XBMC scrapper.
     

    altytesty

    Portal Pro
    December 19, 2009
    57
    9
    fyi, your original question is still open, because it doesn't exist in the interface :) we gotta open an official FEATURE REQUEST :) thanks for the heads up and good to hear you're back up ;)
     

    Users who are viewing this thread

    Similar threads

    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary genre (i.e. a subgenre). The primary genre might be something like Film (or Movie in the USA). The secondary genre for Film might be something like: Action, Comedy, Crime, Fantasy, Romance, Science...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    Replies
    0
    Views
    1K
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    2K
    MP1 MP2 Design questions. DE
    No No
    No No
    Is there an xml display utility that will allow graphically checking of dialog and osd text and graphics element placement? or Is...
    Replies
    1
    Views
    1K
    MP1 MP2 MP2 - V2.5 No genres after upgrade to 2.5 DE
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and music are part of the NET6 version as for NET4. If you have issues with it further infos would be good.
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and...
    Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System...
    Replies
    10
    Views
    4K
    hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding the recording folder of all background processes? (f.e. defender/antivirus etc, and maybe (don't know if that is even a thing) from creating thumbnails) Edit: and is it always the second time it succeeds...
    hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding...
    Hello I have some issues after I skipped Win 7 and upgraded hardware and OS. I now have 1.37 running on a Win 11 setup. Every...
    Replies
    2
    Views
    718
    Top Bottom