- April 19, 2006
- 265
- 28
- Home Country
- Sweden
Okay.. I'm beginning to understand the regexps now... BUT....
Many of my filenames consists only of "Series" and "Episode" not "Season" or "Episode Title"
Filename:
Naruto - 024.avi
Becomes:
Series: naruto - 024
Season: -1
Episode: 24
Episode Title:
If i have a double episode:
Filename:
Naruto - 066-067.avi
Becomes:
Series: Naruto
Season: -1
Episode: 66
Episode Title: 067
I cant get it to recognize the correct Series Name unless it finds an Episode Title.. :-/
Here is my RegExp:
(?<series>[^$]*)( - )(?<episode>[0-9]{1,3})((-)(?<title>[^$]*)|)
Ideas? Like I have said before my skill in RegExps is quite limited...
Many of my filenames consists only of "Series" and "Episode" not "Season" or "Episode Title"
Filename:
Naruto - 024.avi
Becomes:
Series: naruto - 024
Season: -1
Episode: 24
Episode Title:
If i have a double episode:
Filename:
Naruto - 066-067.avi
Becomes:
Series: Naruto
Season: -1
Episode: 66
Episode Title: 067
I cant get it to recognize the correct Series Name unless it finds an Episode Title.. :-/
Here is my RegExp:
(?<series>[^$]*)( - )(?<episode>[0-9]{1,3})((-)(?<title>[^$]*)|)
Ideas? Like I have said before my skill in RegExps is quite limited...