Help with scraping episodes that are named "Part01"
#1
I wanted to know if there is any way to scrape and catch episodes that are named like this: "The.Awesome.Show.Part01.720p.HDTV"

Here an example of a one season tv show I have;
Spartacus.Gods.of.the.Arena.Pt.I.720p.HDTV.X264
Spartacus.Gods.of.the.Arena.Pt.II.720p.HDTV.X264
Spartacus.Gods.of.the.Arena.Pt.III.720p.HDTV.X264
Spartacus.Gods.of.the.Arena.Part04.720p.HDTV.x264
Spartacus.Gods.of.the.Arena.Pt.V.720p.HDTV.X264
Spartacus.Gods.of.the.Arena.Part06.720p.HDTV.x264

With this structure it picks up part 1,2,3 and 5, not "Part04" and "Part06".



I have another show that is like this;
National.Geographic.Drugs.Inc.Part.1.720p.HDTV.x264-DiVERGE
National.Geographic.Drugs.Inc.Part.2.720p.HDTV.x264-DiVERGE
National.Geographic.Drugs.Inc.Part.3.720p.HDTV.x264-DiVERGE
National.Geographic.Drugs.Inc.Part.4.720p.HDTV.x264-DiVERGE
Drugs.Inc.S02E01.720p.HDTV.x264
Drugs.Inc.S02E02.720p.HDTV.x264
Drugs.Inc.S02E03.720p.HDTV.x264
Drugs.Inc.S02E04.720p.HDTV.x264

Whit this structure it's picking up the second season, but not the first season.



So basically I wanna know how to make the scraper notice the episodes that are named with "Part.XX" or "PartXX".

And no, I don't wanna change the name of the folders and I don't wanna create special nfo-files in the directories.



XBMC 10.1 running on Windows 7 SP1



Thanks in advance!
Reply
#2
Look at how its structured at thetvdb.com

Basically it looks like you have to rename like so,

National.Geographic.Drugs.Inc.Part.1.720p.HDTV.x264-DiVERGE

to

National.Geographic.Drugs.Inc.S01E01.Cocaine

Note: "Cocaine" isnt really needed but it helps when using a file explorer.

All of tvdb runs by season and episode numbers, so if in doubt see how they do it and copy it.

Although one major problem is that they are really stubborn, and sometimes they don't match the torrent values.

Such as American Dad is actually a season further along than the torrents are labelled.

But they do say the reason behind this is they are following what Fox season/episode numbers they have on their website.
Reply
#3
If I were to post your file in my library, my listing would be like this:

National Geographic Drugs Inc 1x01 - Pt1.mkv
National Geographic Drugs Inc 1x02 - Pt2.mkv
or
National Geographic Drugs Inc 1x01 - (1).mkv
National Geographic Drugs Inc 1x02 - (2).mkv


If both parts were in one single file you want to scrape correctly, I have it set up like this:

National Geographic Drugs Inc 1x01-02 - Pt1 Pt2.mkv
or
National Geographic Drugs Inc 1x01-02 - (1)(2).mkv

You can always look up on the scraper of your choice how they have it listed and simple copy and paste. I often have to look up the listing for special episodes.
- Blackstar
Reply
#4
Going by what XBMC uses to match the "Part III" roman numeral style file names, you could probably get away with an advancedsettings.xml containing:
Code:
<advancedsettings>
   <tvshowmatching action="append">
      <regexp>[\._ \-]p(?:ar)?t[._ -]?()([0-9]+)([\._ \-][^\\/]*)</regexp>
   </tvshowmatching>
</advancedsettings>

Should match things like "Part 01", "Part3", "pt.7", etc.
Reply
#5
scudlee Wrote:Going by what XBMC uses to match the "Part III" roman numeral style file names, you could probably get away with an advancedsettings.xml containing:
Code:
<advancedsettings>
   <tvshowmatching action="append">
      <regexp>[\._ \-]p(?:ar)?t[._ -]?()([0-9]+)([\._ \-][^\\/]*)</regexp>
   </tvshowmatching>
</advancedsettings>

Should match things like "Part 01", "Part3", "pt.7", etc.

Lovely, works perfect! With this solution I didn't need to change any names of the folders!

Thanks for the help everyone.
Reply

Logout Mark Read Team Forum Stats Members Help
Help with scraping episodes that are named "Part01"0