My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Categories  
How to use the categories.xml file
Phase-Deploy, Categories
Updated Dec 24, 2011 by Stuart.Boston

The categories XML file is used to enable, disable and rename categories.

The default categories file is named categories-default.xml and should be copied or renamed before use so that it will not get overwritten when MovieJukebox is updated.

When you have renamed the file, you will need to add the following property to your moviejukebox.properties file so the file is used:

mjb.xmlCategoryFile=???

<category> elements should not be added or removed.

To disable a category, simply change the <enable> element to false.

Example:

<category name="Top250">                                                         
  <enable>false</enable>                                                         
  <rename>Top250</rename>                                                        
</category>    

To rename a category, change the <rename> element to contain the desired text.

Example:

<category name="New">                                                         
  <enable>true</enable>                                                         
  <rename>Last 7 Days</rename>                                                        
</category>    
Comment by person...@gmail.com, Jan 6, 2009

- where does this file should reside ? - does this files need to be editing in the result directory ?

Comment by oguzhan....@gmail.com, Jan 12, 2009

ıt could be nice for us to add our own categories also. For example if i wanna tag my movies as subtitles/nonsubtitled or turkish/english/french etc and wanna see them on main imdex file, is there another way that i am aware of? Or can it be done in the future releases?

Comment by project member altman.m...@gmail.com, Jan 15, 2009

You can add custom genres to any movie using an xml NFO file. Then all of those with the same custom genre will be grouped together.

Comment by fernande...@gmail.com, Mar 22, 2009

I have some questions/comments

First up, great job on this amazing free software, your documentation is excellent unlike some other open source projects on Google Code.

I followed the instructions and got a neat little index for my Popcorn Hour. My questions - 1. Some of my .iso files did not find a match and were ignored by the scanner. How do I get a log of all the titles that did not match? 2. If I use XML .nfo files - with some bare information (generated by MediaInfo? Plus) will the s/w generate/download the rest of the information like images, synopsis etc? Can I ask for a feature request? Is it possible to add a count of movies in a category e.g All(50), New(5)

I am a JEE developer, not very strong with XML/XSL but if you give me a few hints, I could perhaps take a stab at it.

Thanks Franco

Comment by blueskie...@gmail.com, Sep 18, 2010

I am confused and obviously missing something but I can't figure out how YAMJ actually assigns a category to a movie or TV Show. For example, there is a default category called New and after running YAMJ for the first time ever I got one entry in there, which makes me think it must be related to modified date or something. Is anybody able to point me to a link that describes how YAMJ interprets the category of a movie/TV show?


Sign in to add a comment
Powered by Google Project Hosting