ruTorrent RSS Syntax

Understanding naming schemes / tags

Naming schemes (the name of the torrents and files) are usually quite standard, though they may differ in some ways. Typically the torrents have the following naming sheme:

show.season#episode#.title.source.format.releasegr oup.extension

So some typical shows would look like this:

The.Simpsons.S21E04.Treehouse.of.Horror.XX.HDTV.Xv iD-FQM.avi

CSI.New.York.S06E05.720p.HDTV.X264-DIMENSION.mkv

Family.Guy.S08E03.720p.WEB-DL.DD5.1.AVC-CtrlHD.mkv

Let's explain everything from left to right...

The show name is the first thing you will see in most all torrents. Not much to explain here.

The season and episode number show which specific episode this is. Typically this is displayed asS##E##with a leading 0. However, sometimes people label them asS21E04, S1E5, 1x05,or even2102. I will show you below how to catch all of these.

The title is optional. This is where files really differ. Unless you only want to download one specific show, you would use wildcards to ignore the title if there is one.

The source is very important. Here is a list of the most common sources and a very brief definition.

HR -High Resolution (may not be considered a source but sometime precedesHDTV)

HDTV -High Definition Television

PDTV -Pure Digital Television (not considered quite as good as HDTV)

DVD -Digital Video Disc

WEB-DL -Web Download; means it was ripped from a website.

DSR -Digital Satellite Rip (does not necessarily mean good quality, usually in 480i)

TRANSPORT -A high quality format that allows for error correction when transmitting, usually in

1080i.

PREAIR -Usually a leaked file, before the actual air date.

The format is usually one of three codecs, and is also given away by the file extension.

XviD/DivX(.avi) This is the most popular format of choice. It is usually a small file size.

x264(.mkv) This is the high quality format of choice. It is usually a large file size.

transport(.ts) This is a redundant format and is extremely large.

Now, where files differ; you may or may not find the following information in the torrent. Also a lot of times the source and format will be swapped or only show one or the other.

Now there is one more tag that I have yet to mention. This one is used when a torrent is re-released and is usually re-released well after everyone has already downloaded and watched their show. It is generally a good idea to avoid these since most people have no interest in using their ratio to redownload a show. These include the following:reencode, recode, repack, proper,andrerip.

Syntax in Theory

.Wildcard standing for any single character.

*Repeats the preceding character 0 or more times.

?Repeats the preceding character 0 or 1 time.

+Repeats the preceding character 1 or more times.

//iEverything between the forward slashes will be searched for and the i makes everything case insensitive.

^Means that the following text must be the first thing in the file name. Using this can be the difference between downloadingDesperate.HousewivesorHouse.

()Groups evaluations. Once grouped, you can treat the group as a single character. For example, using the ? to show the word the can either be there or not:(the[\.])?

[]Matches one character of whatever is inside. Can also be used for ranges. For instance, for a number you would use[0-9].

[\]Everything after the backslash will be escaped. (e.g. special characters)

|Or, matches one or the other on either side. Example:(its|it's)

(?##)Anything between the pound symbols will be treated as a comment. I suppose this may be useful if you have extremely complicated filters.

Filters and Inclusion Syntax

Here are some filter examples:

/^(the[\.])?simpsons.*(s)?21(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^csi[\.](new[\.]york|newyork|ny).*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^family[\.]guy.*(s)?(08|8)(e|x)?[0-9]+.*(hdtv|pdtv)/i

Everything between the/and the/iwill be case insensitive. So it will matchThe.Simpsons, SIMPSONS,orthe.simpsons.

The^shows that the following must be at the very beginning of the line. As mentioned above, this

would be the difference between downloadingDesperate.HousewivesorHouse.

[\.]Matches an actual period. Since a period is a special character it must be escaped. If you were to place a normal . it would work, however it would technically match ANY character, not just a period. Some may prefer this so that they would catch a space or a period, however I have not run across

many torrents that use spaces, so this has not been a problem for me.

(the[\.])?Using this makestheword the optional so it will be possible to download files with names starting with bothThe.SimpsonsandSimpsons.

((its|it's)[\.])?Using the preceding two principles above, this would allow you to match eitherits, it's, or neither (but nothing else) so you would match the following:Its.Always.Sunny.In.Philadelphia., It's.Always.Sunny.In.Philadelphia., andAlways.Sunny.In.Philadelphia..

.*This references any number of wildcards, this is an easy way to skip over the title if one is included in the filename.

(s)?(01|1)(e|x)?[0-9]+ (s)?means theSis either there or it isn't.(01|1)means that there must be a number here, it may be either01or1. The(e|x)?means that there may be anEor anXhere but nothing else.[0-9]+means that there will either be one or two numbers here, but no more or less.

This would cover everything fromS01E02, S8E02, 1x02,or2010. This will also lower the chance of capturing torrents named such asThe.Simpsons.S01.DVDRip.5.1.x264-iriethat may be released in your RSS feed but you would not want to download due to their enormous size. It is a good idea to use the specific season number to lower the risk of downloading old episodes as well.

Exclusions

Well, we already know we want to avoid repacks and the such. You may also want to avoid smaller resolutions of your TV shows formatted specifically for an iPhone or a PSP. Sometimes a file has a larger audio stream that isn't compressed and makes the file larger such as ac3. Here is the exclusion

filter I use:

/(hr[\.]hdtv|ac3|720p|1080i|1080p|dvdrip|dvdr|dvdr|

psp|ipod|iphone|mp4|reencode|recode|rerip|repack|p reair|transport|web-dl)/i

This basically means that if any of the strings between the | operators will not be downloaded.

Filter Examples

/^30[\.]rock.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^90210.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^((its|it's)[\.])?always[\.]sunny[\.]in[\.]philadelphia.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^american[\.]dad.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^americas[\.]next[\.]top[\.]model.*(s)?13(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^bones.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^bored[\.]to[\.]death.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^csi[\.]miami.*(s)?(08|8)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^csi[\.](new[\.]york|newyork|ny).*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^californication.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^castle[\.]2009.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^criminal[\.]minds.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^curb[\.]your[\.]enthusiasm.*(s)?(07|7)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^defying[\.]gravity.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^desperate[\.]housewives.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^dexter.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^dollhouse.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^eastwick.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^entourage.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^family[\.]guy.*(s)?(08|8)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(flashforward|flash[\.]forward).*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^flashpoint.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^fringe.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^gary[\.]unmarried.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^glee.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^gossip[\.]girl.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^greek.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^greys[\.]anatomy.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^heroes.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^house.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^how[\.]i[\.]met[\.]your[\.]mother.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^law[\.]and[\.]order.*(s)?20(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^law[\.]and[\.]order[\.]svu.*(s)?11(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^legend[\.]of[\.]the[\.]seeker.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^lie[\.]to[\.]me.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^mad[\.]men.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^medium.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^melrose[\.]place[\.]2009.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^merlin.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^monk.*(s)?(08|8)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^mythbusters.*(s)?(07|7)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^ncis.*(s)?(07|7)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^ncis[\.]los[\.]angeles.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^nip[\.]tuck.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^numb3rs.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^one[\.]tree[\.]hill.*(s)?(07|7)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^parks[\.]and[\.]recreation.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^private[\.]practice.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^psych.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^sanctuary.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^saturday[\.]night[\.]live.*(s)?35(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^smallville.*(s)?(09|9)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^so[\.]you[\.]think[\.]you[\.]can[\.]dance.*(s)?(06|6|02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^sons[\.]of[\.]anarchy.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^south[\.]park.*(s)?13(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^star[\.]wars.*clone[\.]wars.*(s)?(02|2)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^stargate[\.]universe.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^supernatural.*(s)?(05|5)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?amazing[\.]race.*(s)?15(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?big[\.]bang[\.]theory.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?cleveland[\.]show.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?forgotten[\.]2009.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?good[\.]wife.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?office.*(s)?(06|6)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?sarah[\.]jane[\.]adventures.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?simpsons.*(s)?21(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?ultimate[\.]fighter.*(s)?10(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?vampire[\.]diaries.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^til[\.]death.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^torchwood.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^trauma.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^true[\.]blood.*(s)?(03|3)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^two[\.]and[\.]a[\.]half[\.]men.*(s)?(07|7)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^ugly[\.]betty.*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^(the[\.])?venture[\.](brothers|bros).*(s)?(04|4)(e|x)?[0-9]+.*(hdtv|pdtv)/i

/^white[\.]collar.*(s)?(01|1)(e|x)?[0-9]+.*(hdtv|pdtv)/i

Credit : drunkpitbull

For RSS Download Tutorial-http://torrentinvites.org/f29/using-...99/#post672022