Categories - YAMJ/yamj-v2 GitHub Wiki

How to use the categories.xml file

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>    
⚠️ **GitHub.com Fallback** ⚠️