Posts: 30
Joined: Oct 2005
Reputation:
0
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
Posts: 30
Joined: Oct 2005
Reputation:
0
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>
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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)