PDA

View Full Version : Problem with multi-part video_ts (TV series), debug log included


TMiB
2009-02-15, 19:15
Hi

I have various TV series ripped to disk as video_ts folders. (ie no compression, no splitting of the DVDs into separate episodes). The folder name is the series name plus some variant of S01E01 etc. The various VOB and IFO files in that folder (ie no video_ts folder).
So
/Volumes/Media/Angel/Angel.S01E01E02E03E04/[vob files]

I'm having trouble getting XBMC to recognise these as multi-episode DVDs. I've read the wiki and numerous threads on this board, but I'm not making much progress.

I've tried several variations on the folder name as you can see in the debug log below. Some fail completely, eg
S01E01E02E03E04

Some only pick up the last episode, eg
s01e09s01e10s01e11 recognises only S01E11

Any suggestions for how to get XBMC to recognise these DVDs will be much appreciated.

For info: running Leopard, XBMC_for_Mac-8.10bf1

Thanks

TMiB

Debug log
______________
18:03:15 T:2957324288 M:1849991168 DEBUG: could not enumerate file /Volumes/Media 2/Angel/Angel.S01E01E02E03E04/VIDEO_TS.IFO
18:03:15 T:2957324288 M:1849991168 DEBUG: could not enumerate file /Volumes/Media 2/Angel/Angel.S01E05 E06 E07 E08/VIDEO_TS.IFO
18:03:15 T:2957324288 M:1849991168 DEBUG: found match /volumes/media 2/angel/angel.s01e09s01e10s01e11/video_ts.ifo (s01e11) [s([0-9]+)e([0-9]+)[\\/]]
18:03:15 T:2957324288 M:1849991168 DEBUG: found match /volumes/media 2/angel/angel.s01e12 s01e13 s01e14 s01e15/video_ts.ifo (s01e15) [s([0-9]+)e([0-9]+)[\\/]]
18:03:15 T:2957324288 M:1849991168 DEBUG: found match /volumes/media 2/angel/angel.s01e16.s01e17.s01e18.s01e19/video_ts.ifo (s01e19) [s([0-9]+)e([0-9]+)[\\/]]
18:03:15 T:2957324288 M:1849991168 DEBUG: found match /volumes/media 2/angel/angel.s01e20s01e21s01e22/video_ts.ifo (s01e22) [s([0-9]+)e([0-9]+)[\\/]]

jmarshall
2009-02-15, 23:35
Which regexps are you running? I don't think the standard ones would pick those up (due to the episode number being in the folder name).

TMiB
2009-02-16, 20:33
I knew I'd forget to mention something...

<tvshowmatching action="append">
<regexp>S([0-9]+)E([0-9]+)*[\\/]</regexp>
</tvshowmatching>

Trying some variations

Using
S([0-9]+)E([0-9]+)*[\\/]
On
/Volumes/Media/Angel/Angel.S01E01S01E02S01E03S01E04/[vob files]
Matches
S01E04

Using
S([0-9]+)E([0-9]+)*[\\/]*
On
/Volumes/Media/Angel/Angel.S01E01S01E02S01E03S01E04/[vob files]
Matches
S01E01

jmarshall
2009-02-16, 23:53
You want it to match the first season/episode entry, not the last.

So you'll either want to include the separator (the dot) before it (easy), or make it non-greedy (maybe harder?).

Once that's done and it's picking up the first episode, we can work on picking up the rest (if it doesn't do that already).

Cheers,
Jonathan

jelockwood
2009-02-17, 14:44
I prefer using MTR to do a title/chapter extraction of each episode to single standalone VOB files which retain all the audio tracks, the subtitle tracks and the original video quality.

However there is a standard naming scheme for multi-episode files like the following

This is a TV show - S01E12-13.avi

The above is a single file containing episodes 12 and 13 of season 1. Such a file might be typical for a double episode season intro or cliff-hanger.

You could try something like

/Volumes/Media/Angel/Angel - S01E01-04/[vob files]

TMiB
2009-02-17, 18:24
I prefer using MTR to do a title/chapter extraction of each episode to single standalone VOB files which retain all the audio tracks, the subtitle tracks and the original video quality.
If I were starting again, I might well do that. Unfortunately I have quite a lot of TV series already ripped as full discs and MTR won't, I think, remount the folders I've ripped so I'm stuck. Thanks for the suggestion though.

However there is a standard naming scheme for multi-episode files like the following
This is a TV show - S01E12-13.avi
/Volumes/Media/Angel/Angel - S01E01-04/[vob files]

Again, thanks for the suggestion, but no go using the default regex.

TMiB
2009-02-17, 19:01
Thanks for the help.

So you'll either want to include the separator (the dot) before it (easy), or make it non-greedy (maybe harder?).


Getting the first entry seems easy enough
On /Media/Angel.S01E01S01E02S01E03S01E04/[vob]
S([0-9]+)E([0-9]+), S([0-9]+)E([0-9]+)* and \.S([0-9]+)E([0-9]+)*
all get S01E01

On /Media/Angel.S01E01.S01E02.S01E03.S01E04/[vob]
\.S([0-9]+)E([0-9]+)*
Gets S01E01
(So much for that bright idea of mine...)

Adding a ? to the end truncates the caught phrase to S01E.

The wiki page on advancedsettings.xml mentions:
NOTE: for multi-episode matching to work, there needs to be a third set of parentheses on the end. This part is fed back into the regexp engine.

but I'm afraid that's a bit cryptic for me...

Any more pointers you can pass along?

jmarshall
2009-02-17, 22:56
There's a separate regexp which runs after the first one is complete - it repeats several times.

Try appending (.*) on to your current one. This gives the 3rd match which will be the rest of the filename after the first two matches (season + episode). When this is present, the regexp repeats.

Cheers,
Jonathan

TMiB
2009-02-17, 23:17
There's a separate regexp which runs after the first one is complete - it repeats several times.

Try appending (.*) on to your current one. This gives the 3rd match which will be the rest of the filename after the first two matches (season + episode). When this is present, the regexp repeats.

Cheers,
Jonathan

Thanks for taking the time to help me out on this.

\.S([0-9]+)E([0-9]+).* and S([0-9]+)E([0-9]+).*
both get S01E01 only


________________
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e01s01e02s01e03s01e04/video_ts.ifo (s01e01) [s([0-9]+)e([0-9]+).*]
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e05s01e06s01e07s01e08/video_ts.ifo (s01e05) [s([0-9]+)e([0-9]+).*]
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e09s01e10s01e11/video_ts.ifo (s01e09) [s([0-9]+)e([0-9]+).*]
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e12 s01e13 s01e14 s01e15/video_ts.ifo (s01e12) [s([0-9]+)e([0-9]+).*]
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e16.s01e17.s01e18.s01e19/video_ts.ifo (s01e16) [s([0-9]+)e([0-9]+).*]
22:13:26 T:2959986688 M:805195776 DEBUG: found match /volumes/media 2/angel/angel.s01e20s01e21s01e22/video_ts.ifo (s01e20) [s([0-9]+)e([0-9]+).*]

jelockwood
2009-02-18, 17:40
If I were starting again, I might well do that. Unfortunately I have quite a lot of TV series already ripped as full discs and MTR won't, I think, remount the folders I've ripped so I'm stuck. Thanks for the suggestion though.


Neither MTR 3.x or 2.6.6 will rip from folders, but MTR 2.6.6 will rip from a disk image (including ISOs). This of course does require you to use Disk Utility to make an image from the folder. At least you won't have to burn anything.

I would be interested in hearing of any other utilities preferably Mac but even Windows, which can also extract title/chapters to a single large VOB file in the same way.

spiff
2009-02-18, 18:05
if you read what jmarshall stated, he said to append (.*) not .*. we need the rest of the shit SELECTED, not ignored.

in clear words;

\.S([0-9]+)E([0-9]+)(.*)

TMiB
2009-02-18, 18:25
if you read what jmarshall stated, he said to append (.*) not .*. we need the rest of the shit SELECTED, not ignored.

in clear words;

\.S([0-9]+)E([0-9]+)(.*)


Thanks for so charmingly pointing out the error of my ways, oh appropriately described one.

And thanks again to jmarshall for leading me through this. Hopefully this will be it now...

Edit: And yes, that works. Many thanks.

ekim232
2009-06-10, 05:27
I am not using this same naming structure. Would someone mind posting the complete expression. Sorry I am kind of lost on what the entire layout should be. Thanks for the help!