PDA

View Full Version : Video stacking based on letters


Funky_K
2006-05-27, 16:38
this should be a simple feature to implement.
it would be nice if video stacking also worked when files are labeled with letters.
example:
forrestgumpa.avi
forrestgumpb.avi
forrestgumpc.avi

spiff
2006-05-27, 17:39
starting a feature req post with

this should be a simple feature to implement.


is never a good idea. it makes me leave u answers like this;

sure it is. in fact it's already possible

Funky_K
2006-05-27, 19:26
ok... ok... my bad

let me rephrase.

i was wondering how to turn on video stacking by letters. *i saw that it is possible in the online manual, but the directions on how to edit the <regexp> expressions are not clear to me.
can anyone tell me what edits to make in the following .xml code to enable this feature?

thank you

<videostacking>
* *<regexp>[ _\.-]+cd[ _\.-]*([0-9a-d]+)</regexp>
* *<regexp>[ _\.-]+dvd[ _\.-]*([0-9a-d]+)</regexp>
* *<regexp>[ _\.-]+part[ _\.-]*([0-9a-d]+)</regexp>
* *<regexp>()[ _\.-]+([0-9]*[abcd]+)(\....)$</regexp>
* *<regexp>()[\^ _\.-]+([0-9]+)(\....)$</regexp>
* *<regexp>([a-z])([0-9]+)(\....)$</regexp>
*</videostacking>

spiff
2006-05-27, 19:57
problem is, its might hard to make a regexp that won't make mistakes. those look all fine to me though.

i'd recommend getting a regexp testing suit, such as the regexp coach. that + google should get you there (that's how i learned to do regexp)