2014-01-13, 05:34
(2014-01-13, 05:05)giftie Wrote: In each of the Trivia slide folders(if they have different naming schemes) there needs to be a slides.xml file.
The slides.xml file for the first pattern needs to look like this:
PHP Code:<slides>
<slide>
<slide rating="">
<question format=".([0-9]{1,3})+a.jpg" />
<clue format="N/A" />
<answer format=".([0-9]{1,2})+b.jpg" />
</slide>
</slides>
The slides.xml file for the second pattern needs to look like this:
PHP Code:<slides>
<slide>
<slide rating="G">
<question format=".([0-9]{1,3})+_q.jpg" />
<clue format=".([0-9]{1,3})+_c.jpg" />
<answer format=".([0-9]{1,2})+_a.jpg" />
</slide>
</slides>
[/php]
I tried the top one and the slides would not play at all... just skipped them. I eliminated the NA line and still no luck.
I then linked to another folder I had just downloaded... a guy on youtube had a link to his entire folder structure. He had the xml file in his slides folder.
A little different then what you wrote me... as you can see by the below his filenames have an underscore before the letter.
<slides>
<slide>
<question format="([a-z])_a\.jpg" />
<clue format="q([0-9]{1,3})c\.jpg" />
<answer format="([a-z])_b\.jpg" />
<mpaa = "N/A">
</slide>
</slides>
Unfortunately this did the same thing... would not play at all.
So right now the only way I can get them to play is with no xml at all... but does not play properly.
....also was just wondering why in the xml for the answer is it 1,2 when the question and clue have 1,3? Although I decided to try it both ways and still no luck.