English > Support
TV-series filename structure
Lordfinarfin:
Which is the best structure to edit the file name of an episode?
TVSERIE NAME + 1x01 + Episode name?
buah:
if I were you, I think that your question should be something like:
According to regexps given by default in PVD's File Scanner options, which are
1. (?i)^.*\\(?P<title>.*)(s|\b)(?P<season>[0-9]{1,3})e(?P<episode>[0-9]{1,3}), and
2. (?i)^.*\\(?P<title>.*).?-.?(?P<season>[0-9]{1,3})x(?P<episode>[0-9]{1,3}).?-.?(?P<eptitle>\w*\b),
what episode file names would be correct in order to meet those expressions.
I cannot give you that answer at the moment, since i haven't tested series yet.
rick.ca:
title 1x01 eptitle or title s01e01 eptitle.
Eptitle is optional. These regex are case-insensitive. They can be modified to accommodate variations. For example, I prefer Title S01 E011, so I use...
(?i)^.*\\(?P<title>.*)(s|\b)(?P<season>[0-9]{2}) e(?P<episode>[0-9]{2,3})
Note the addition of a space between season and episode. It appears I also decided I will not live long enough to see a season greater than 99. ;)
Lordfinarfin:
Problem adding TV series from HDD.
I have all the filenames of my Tv series like this > Modern Family - 1x02 - The Bicycle Thief.avi
When I use the tool "scan folders for new movies/changed path...." all the tittles of the episodes appear only with the first word, in this example > "The".
So, when I tried to get info from IMDB, the software return a lot of results.
How can I resolve this problem? I must changed the structure of the filename?
rick.ca:
There are two separate issues here. First, I don't know why you're only getting the first word of the episode title. You would have to examine the regex in your scanner configuration to determine why that's happening (there's probably only one expression that returns eptitle). Second, there's no need to get the episode title from the filename if that is being downloaded anyway. Download all the available episode information first. Then all that's required is the series title and season/episode numbers to match files to records.
Navigation
[0] Message Index
[#] Next page
Go to full version