Default expressions/double episodes (1 Viewer)

kwerdenker

New Member
September 14, 2005
3
0
Berlin, Germany
Home Country
Germany Germany
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??

funny, thats exactly one of the episodes i have the same problem with ... which version of mp and mytvseries do you use?
 

nimrodel50

Portal Pro
February 6, 2008
67
15
Home Country
Spain Spain
me too. Does not apear the EpisodeIndex2 on the database neither on the screen. I have the latest public svn.

any idea?
 

psiebe

Portal Pro
March 29, 2007
93
1
55
Home Country
Netherlands Netherlands
Hi All,

I have been playing with the examples posted in this thread and almost got it to work

all my series are in this format: alias\1x01 - titel.avi or, for doubles alias\1x01&02 - titel.avi

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

Does the trick... almost
For starters, it does not parse singles (so I had to include a second expression without the episode2 part)
Code:
(?<series>[^\\$]+)\\(?<season>[0-9]+)x(?<episode>[0-9]+)(?<title>[^\\]*?)\.(?<ext>[^.]*)$

Then, if I don't have a title, it will fail to parse on the above expression and will parse on the second, using the &02 as a title. Works fine if I have a title, but that is not common for my files.

In addition, on parsing tests, it will populate the episode index2 with the full path&filename for all single episodes, don't know if that does any bad, but it does not feel right.

Anyone that can point me in fixing my expression (and combine it if possible into 1) ???

Thanks,
Patrick

PS: Parsing of the episodes goes well, however only 1 shows up in the database after an import. is that expected behaviour? episodeindex and episodeindex2 are populated correctly but there also is a combinedepisode number it seems to use.
 

pirivan

Portal Pro
January 19, 2008
62
2
I am having some real trouble figuring out how to import my double episodes as well. Currently my directory structure/naming scheme looks like this:

MADE UP EXAMPLE
v:\30 Rock\Season 1 - Complete\1.01 Pilot.mkv

So to parse this episode I use the simple expression:

<Series>\Season <season> - Complete\<season>.<episode> <title>.<ext>

So far this has worked without any issues and any double episodes I have simply used a program to split. Now, I have encountered an mkv that I can't split properly due to time codes (it won't let me split it RIGHT at the break between the episodes because of time codes, which annoys me). So, I would rather try to figure out some way to enter in double episodes. I was thinking of naming them like this:

MADE UP EXAMPLE
v:\30 Rock\Season 1 - Complete\1.01-1.02 Pilot--Pilot2.mkv

I decided to use the -- to separate the episode names as I was sure that none of my files had a -- as part of their title. So a simple expression for that format would look like:

<Series>\Season <season> - Complete\<season>.<episode>-<season>.<episode> <title>--<title>.<ext>

However, I know that this won't work as I need 2 separate variables for <season> and <title>. I assume I need to use a regexp expression for this but I haven't the foggiest as to how to put this together. Could someone please assist me. I am happy to provide any other information! Thanks!
 

scma

Portal Pro
December 24, 2005
77
4
Home Country
Sweden Sweden
I'm not sure simple expressions support double episodes, but if it does, you should use <episode2> and <title2>
 

pirivan

Portal Pro
January 19, 2008
62
2
I'm not sure simple expressions support double episodes, but if it does, you should use <episode2> and <title2>

Thanks for the suggestion scma. I built a simple expression that was:

<Series>\Season <season> - Incomplete\<season>.<episode>--<season>.<episode2> <title>--<title2>.<ext>

With an episode titled:

1.01--1.02 Prophecy--Destiny.mkv

Unfortunately it didn't import the episode. It looks like this would require a regexp expression to work properly.
 

pirivan

Portal Pro
January 19, 2008
62
2
I'm not sure simple expressions support double episodes, but if it does, you should use <episode2> and <title2>

Thanks for the suggestion scma. I built a simple expression that was:

<Series>\Season <season> - Incomplete\<season>.<episode>--<season>.<episode2> <title>--<title2>.<ext>

With an episode titled:

1.01--1.02 Prophecy--Destiny.mkv

Unfortunately it didn't import the episode. It looks like this would require a regexp expression to work properly.

I just wanted to bump this and see if anyone had any thoughts. I sure could use some help with a Regexp expression that would work here; I've tried a bit on my own but nothing seems to work out right. Would it be better to post in the "Expressions/Rules requests" thread?
 

sonline

Portal Member
March 11, 2009
14
0
Home Country
Germany Germany
Hi,

i've read this and other thread but cannot find out how to add the following double episode: monk - 01-01-02 - Mr. Monk und das Attentat (1)-Mr. Monk und das Attentat (2).avi

Can anyone help please?
 

Users who are viewing this thread

Similar threads

Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
Replies
2
Views
615
  • Sticky
intentionally left blank
intentionally left blank
Skin Properties MediaPortal 1 This thread is intended for all active/ongoing Skin Designers to find out about the available skin...
Replies
31
Views
3K
When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on "Filtering: On startup filter by: Unwatched Movies" in "Moving Pictures Configuration". Don't know how I did that. (n)
When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on...
About a 2 months ago I was having problems with filtering for unwatched movies. I couldn't find the filter for it. So I tried...
Replies
3
Views
746
I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
Replies
0
Views
1K
TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
Replies
4
Views
2K
Top Bottom