Stacking Files with different extensions.
#1
Does anybody know how I can Add code to advancedsettings.xml "<moviestacking action="append">" so that xbmc will stack all Video files in a given movie Dir, regardless of [video] extension?

So that this would look like 1 movie:

Movie.part1.wmv
Movie.part2.mkv
Movie.part3.avi

These files would of course be ignored, because they are not video type files.
Movie.part1.srt
Movie.part1.jpg
Movie.part1-trailer.flv
Movie.part1-fanart.jpg

Any input would be greatly appreciated.

/om
Reply
#2
The regexps need 4 captures: Title, Volume, Ignored, Extension. If you set it up so that the Ignored includes the extension (and have a blank capture fo the extension) you'll be golden:

<regexp>(.*)\.part([0-9])(.*)()</regexp>
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Hmmm...
It did not seem to work. It stilled scraped it into two movies.

Here is my advanced settings xml file.

advancedsettings>
<useddsfanart>true</useddsfanart>
<sorttokens>
<token>the</token>
</sorttoken>

<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>

<moviestacking action="append">
<regexp>(.*)\.part([0-9])(.*)()</regexp>
</moviestacking>

</advancedsettings>

I also tried:
<regexp>(.*)(\.part([0-9]))(.*)()$</regexp>

But it did not work either.

Should I maybe not use append?

/om
Reply
#4
Append adds the regexp to the end so an earlier one will match.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Stacking Files with different extensions.0