Default expressions/double episodes (1 Viewer)

oopee

Portal Member
August 21, 2007
5
0
Home Country
Finland Finland
I have my episodes in this format

D:\video\tv-series\Lost\Lost [03x01].avi

I'll try to use simple expression \<series> [<season>x<episode>].<ext>

Import path is D:\video\tv-series\


What am I doing wrong?
 

Ynot

Portal Member
August 15, 2006
49
1
Home Country
United Kingdom United Kingdom
I have my episodes in this format

D:\video\tv-series\Lost\Lost [03x01].avi

I'll try to use simple expression \<series> [<season>x<episode>].<ext>

Import path is D:\video\tv-series\


What am I doing wrong?

^([^\\]+\\)*(?<series>.+?) \[(?<season>[0-9]+)x(?<episode>[0-9]+)(-(?<episode2>[0-9]+))?\]\.(?<ext>[^.]*)$
 

oopee

Portal Member
August 21, 2007
5
0
Home Country
Finland Finland
I have my episodes in this format

D:\video\tv-series\Lost\Lost [03x01].avi

I'll try to use simple expression \<series> [<season>x<episode>].<ext>

Import path is D:\video\tv-series\


What am I doing wrong?

^([^\\]+\\)*(?<series>.+?) \[(?<season>[0-9]+)x(?<episode>[0-9]+)(-(?<episode2>[0-9]+))?\]\.(?<ext>[^.]*)$


Nice. That does it :)

Thanks a lot
 

keith2045

Portal Pro
February 16, 2006
264
2
Missouri
Home Country
United States of America United States of America
I'm still having issues with mine. I store mine like this

d:\tvshows\Lost\Lost - 01x02 & 03 - title\vob.....

And have these 2 reg exp

<series> - <season>x<episode> - <title>.avi
<series> - <season>x<episode> - <title>\VIDEO_TS\VIDEO_TS.IFO


Any thoughts?
 

BundyB

New Member
February 23, 2008
1
0
Home Country
At the risk of sounding like an idiot :sorry: ...

Thus far my double episodes refused to be parsed ... I'm basically running the default regex setup (I suck at string manip, so I didn't poke at it) except for a couple of trials of the expressions posted in this thread ... It's really starting to give me the irits :mad:

My file names come in several flavours like:
"Stargate Atlantis - 1x01-02 - Rising.avi"
"Buffy the Vampire Slayer - 6x01,02 - Bargaining Part 1 & 2.avi"
"Star Trek Enterprise - 1x01-1x02 - Broken Bow.avi"

There are less than a dozen files involved, but getting the automated parsing functioning correctly now means I won't have to check for double episodes requiring manual adds further down the line ...

:D
 

jocke

Portal Pro
January 27, 2008
109
6
Home Country
Norway Norway
Thus far my double episodes refused to be parsed ... I'm basically running the default regex setup (I suck at string manip, so I didn't poke at it) except for a couple of trials of the expressions posted in this thread ... It's really starting to give me the irits :mad:

My file names come in several flavours like:
"Stargate Atlantis - 1x01-02 - Rising.avi"
"Buffy the Vampire Slayer - 6x01,02 - Bargaining Part 1 & 2.avi"
"Star Trek Enterprise - 1x01-1x02 - Broken Bow.avi"

There are less than a dozen files involved, but getting the automated parsing functioning correctly now means I won't have to check for double episodes requiring manual adds further down the line ..
I use '<series> S01E01E02.avi' and it works fine. Episode 1 and 2 in MP MyTVSeries points to the same file. I use only the standard expressions.

I recommend using F2 Batch File Renamer if you want to change your filenames. Use the following rename schemes (copy & paste);

Pattern:
Code:
(.*) - (.?)x(.?.?)(,|-)(.?x)(.?.?) - (.*)\.(.*)
Rename to:
Code:
%1 - S0%2E%3E%6 - %7.%8

Pattern:
Code:
(.*) - (.?)x(.?.?)(,|-)(.?.?) - (.*)\.(.*)
Rename to:
Code:
%1 - S0%2E%3E%5 - %6.%7

Use both of them in two runs, and all the files marked as the examples you gave, will be renamed.

Ofcourse, you could add a new regex to MyTVSeries, but in my case, I prefer to just change the filenames.
 

keith2045

Portal Pro
February 16, 2006
264
2
Missouri
Home Country
United States of America United States of America
I'm still having issues with mine. I store mine like this

d:\tvshows\Lost\Lost - 01x02 & 03 - title\vob.....

And have these 2 reg exp

<series> - <season>x<episode> - <title>.avi
<series> - <season>x<episode> - <title>\VIDEO_TS\VIDEO_TS.IFO


Any thoughts?


Anyone?? I will change the names of the folders for double episodes to like Lost - 01x02-03 - title\vob.. if needed
 

keith2045

Portal Pro
February 16, 2006
264
2
Missouri
Home Country
United States of America United States of America
How does this plugin display double episodes? For example

My Show - 02x02-03 - Hello.avi

Would that show up as 02x02, 02x03, or both?
 

teoh

Portal Member
May 14, 2008
14
0
Home Country
Norway Norway
I really can't seem to get my head around to get the hang of the regexp.

Want to add shows with f.ex this format: my.name.is.earl.s03e21-e22.720p.hdtv.x264-ctu.mkv

It only adds as episode 21 with the default expressions. Anyone able to help?
 

death420

New Member
December 13, 2007
2
0
Home Country
United States of America United States of America
im having the same problem trying to parse it to show 2 episodes..

File Example:

That 70s Show\7 - 24-25 -

im using this Expression:
Code:
(?<series>[^\\$]+)\\(?<season>[0-9]+) - (?<episode>[0-9]+)(-(?<episode2>[0-9]+))? -\.(?<ext>[^.]*)$

and when I do a parsing test the EpisodeIndex2 displays the correct Episode number but when I go into the database or into my tv shows it doesnt show the 2nd episode, only the first..

any ideas??
 

Users who are viewing this thread

Similar threads

fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to re-scan the episodes. The series appears for just a few seconds and disappears again.
fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to...
I recorded all 6 episodes of "Walking With Dinosaurs (2025)" from PBS, edited the non essential stuff out and saved them as MKV. I...
Replies
1
Views
1K
Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV Server Config". I have tried MP2 only a couple of times, and have never used it seriously. I don't know what MP2 supports with regard to adjusting audio delay, but I do know that all of the adjustments of...
Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV...
Hi. I recently upgraded my home cinema AVR which also meant changed from sending audio from my HTPC as 5.1 using optical to 7.1...
Replies
5
Views
1K
I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
Replies
13
Views
2K
Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need. Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
Replies
0
Views
1K
Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
Replies
1
Views
2K
Top Bottom