Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Not detecting episode number with ep_regexp

$
0
0

@jfcg wrote:

Hi!

I'm trying to identify the episode number with the following pattern:

'show_name' [Sea. 'season_number'] ['quality_tags'] ['episode_number' / 'total_episodes']

For example:

Homeland [Sea. 6] [HDiT 720p H264 AC3] [2 / 12]

I would like to identify 'season_number' and 'episode_number. I'm using ep_regexp for that.

But I've tried a lot of patterns but with no luck. For example:

Sea\.?\s*(\d+).*(\d+)\s*\/

This regular expression works in plain python, but not in Flexget.

Can anyone help me?

Thanks in advance!
jfcg

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles