YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

contents of categories / genres with mjb.skipHtmlGeneration=true (-h option) isn't OK #2169

Open Omertron opened 9 years ago

Omertron commented 9 years ago

Original issue 2170 created by Omertron on 2011-11-05T14:58:42.000Z:

What steps will reproduce the problem? 1.xml generation step 2. 3.

What is the expected output? What do you see instead? the contents of categories.xml (other.XXX.xml) isn't the same for genres items with and without mjb.skipHtmlGeneration=true/false (-h option)

when generated with mjb.skipHtmlGeneration=false (contents is OK according with genre.xml file)

the contents of the genre items take in charge the group genre item inside genres.xml <category name="Genres" count="8"> <index name="Action" originalName="Action" filename="Genres_Action_1"> <index name="Animation" originalName="Animation" filename="Genres_Animation_1"> <index name="Autres" originalName="Autres" filename="Genres_Autres_1"> <index name="Aventure" originalName="Aventure" filename="Genres_Aventure_1"> <index name="Comedie" originalName="Comedie" filename="Genres_Comedie_1"> <index name="Fiction" originalName="Fiction" filename="Genres_Fiction_1"> <index name="Horreur" originalName="Horreur" filename="Genres_Horreur_1"> <index name="Thriller" originalName="Thriller" filename="Genres_Thriller_1"> What version/revision of YAMJ are you using? On what operating system? R2773

when generated with mjb.skipHtmlGeneration=true : with -h option (contents is KO not taking in charge the genre.xml file)

<category name="Genres" count="30"> <index name="Action" originalName="Action">Genres_Action_1</index> <index name="Animation" originalName="Animation">Genres_Animation_1</index> <index name="Aventure" originalName="Aventure">Genres_Aventure_1</index> <index name="Biographie" originalName="Biographie">Genres_Biographie_1</index> <index name="Biopic" originalName="Biopic">Genres_Biopic_1</index> <index name="Comedie" originalName="Comedie">Genres_Comedie_1</index> <index name="Comédie" originalName="Comédie">Genres_Comédie_1</index> <index name="Comédie dramatique" originalName="Comédie dramatique">Genres_Comédie dramatique_1</index> <index name="Crime" originalName="Crime">Genres_Crime_1</index> <index name="Documentaire" originalName="Documentaire">Genres_Documentaire_1</index> <index name="Drama" originalName="Drama">Genres_Drama_1</index> <index name="Drame" originalName="Drame">Genres_Drame_1</index> <index name="Epouvante-horreur" originalName="Epouvante-horreur">Genres_Epouvante-horreur_1</index> <index name="Espionnage" originalName="Espionnage">Genres_Espionnage_1</index> <index name="Famille" originalName="Famille">Genres_Famille_1</index> <index name="Fantastique" originalName="Fantastique">Genres_Fantastique_1</index> <index name="Fantasy" originalName="Fantasy">Genres_Fantasy_1</index> <index name="Fiction" originalName="Fiction">Genres_Fiction_1</index> <index name="Guerre" originalName="Guerre">Genres_Guerre_1</index> <index name="Histoire" originalName="Histoire">Genres_Histoire_1</index> <index name="Historique" originalName="Historique">Genres_Historique_1</index> <index name="Horreur" originalName="Horreur">Genres_Horreur_1</index> <index name="Mystère" originalName="Mystère">Genres_Mystère_1</index> <index name="Policier" originalName="Policier">Genres_Policier_1</index> <index name="Péplum" originalName="Péplum">Genres_Péplum_1</index> <index name="Romance" originalName="Romance">Genres_Romance_1</index> <index name="Science fiction" originalName="Science fiction">Genres_Science fiction_1</index> <index name="Science-Fiction" originalName="Science-Fiction">Genres_Science-Fiction_1</index> <index name="Thriller" originalName="Thriller">Genres_Thriller_1</index> <index name="Western" originalName="Western">Genres_Western_1</index>

What skin are you using? not dependant of the skin

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other? C200

Please provide any additional information below.

added the 2 categories.xml file and genre.xml file

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2011-11-10T00:49:35.000Z:

another little problem with -h option : with mjb.skipHtmlGeneration=true

if inside categories you want to group the new entry with

true new true New true New

inside the xml file the other categories contain 3 entries rather than one

Other_New_1 Other_New_1 Other_New_1