PDA

View Full Version : Stacking TV Series Files


Jetaray
2006-03-10, 13:45
is it possible to have video file names for tv episodes that include the episode name in the file name and still have all episodes stack?

example:

ga.s01e01.king tut.avi
ga.s01e02.smile today.avi
ga.s01e03.perfect.avi

what regular expression would i use to hide the episode name after the episode number?
is it even possible to stack files that have different characters after the episode number?
do i need to name the file a certain way?

the goal here is to be able to stack an entire season of episodes (for use in title mode), but still see the episode title name when using file mode (not stacked). this way i can watch particular episodes by remembering episode titles instead of episode numbers.

i will be honest, although i know where to change the stacking expressions; i do not really understand how the expressions work. tried reading a few webs sites concerning regular expressions, but it just confused me even more.

thanks

elupus
2006-03-10, 17:51
(s[0-9][0-9])e([0-9][0-9]).*(\....)

that one should match any sxxexx and disregard anything after up to extension..

so
ga.s01e01.king tut.avi
ga.s01e02.smile today.avi
ga.s01e03.perfect.avi

would all become, it will keep extension to not stack in rars
or such potential stuff. as it is now it doesn't look for any surrounding chars.. thou periods around the sxxexx would probably be good.
ga.s01.avi

Jetaray
2006-03-11, 02:49
thank you for the quick response, that expression does just what i wanted.

when reading about how to do it, i kind of got overwhelmed. now seeing how this one works gives me a base to start from and i will try a few experiments on my own.

thank you

Jetaray
2006-05-18, 10:09
will this expression not work in advanced settings?

*<videostacking>
* * *<regexp>(s[0-9][0-9])e([0-9][0-9]).*(\....)</regexp>
*<videostacking>

i created an advancedsettings.xml and place the above in the file using notepad. put the file in my home\userdata folder (for me that is f:\xbmc\userdata\), but titles do not stack like they did when i used it in the old xboxmediacenter.xml file. the default stacking still works ok.

thanks

Jetaray
2006-06-19, 06:49
well i don't know were the hell i made the typo, but this is what i use now (in advancedsettings) and it works as it did before.

<advancedsettings>

<videostacking>
* *<regexp>(s[0-9][0-9])e([0-9][0-9]).*(\....)</regexp>
</videostacking>

</advancedsettings>

i could have sworn i always had it typed like the above, but could not get it to work until i copy and pasted the expressions in a known working advancedsettings file. when i checked the log i could see the error message and it listed the line that supposively caused the error, but i could never find the error on that line. guess its time for glasses.

any way i just thought people would like to know if they are trying the same thing. *

thanks again elupus for the original expression.

sierra18
2007-08-09, 04:41
I pretty much have the latest version of XBMC (rev9731 T3CH 2007 07/30) I've recently bought several of my favorite TV series on DVD. I'm wondering if there Is a way to add each individual episode into the video library and then watch the episode without having to go through the DVD menu or puting the disc into the DVD drive.


thanks
Sierra18

spiff
2007-08-09, 10:51
not unless you rip them to individual files