Presentation Screenshots Download Support Development Forum    
   

Welcome to the Community Forum.

Here you can discuss with other users or with the author, suggest new features, report bugs, ask for filters creation or correction, etc. Select the forum you wish to read or post below :

Forum
Forum > Filters repository > TV show filtering

Pages : [1] Add a reply
User info TV show filtering
Cyan
Avatar
Dec 13 2009, 12:40 am
I would like to share a filter I'm using to sort TV show.

I'm sorting TV show by folders, the .avi files and subtitles are in the same folders
The source file (I'm using newsgroup) .nzb is stored in a "nzb" subfolder


This filter is sorting 1 TV show at a time, I'm using a different one for each TV show.

I'll take Stargate Universe as an example :
a common nzb filename : Stargate.Universe.S01E10.Justice.HDTV.XviD-FQM
a common subtitle filename : Stargate Universe_1x10_HDTV.FMQ.fr.zip

The common parts are Stargate and Universe
The differing parts are episode number/title, group release and file extension.


Filters Domain
All    
= Regexp.
File name
All    
= Regexp.
Local folder

Activate the dynamic folder creation in ASF preferences.

This is working like that :
Detection to all files containing "stargate" or "universe" in it's filename, and ending with either .srt, .zip or .nzb

In the saving folder, the part "%asf_rf%nzb%asf_rf%" is looking for "nzb" in the downloaded filename.
If it's found, it return the found part : the saved folder is D:\video\Stargate\nzb
else, it will be saved to D:\video\Stargate\





You could create a unique filter for all your TV show too, like
Filters Domain
All    
= Regexp.
File name
All    
= Regexp.
Local folder


It will detect all files containing either 1 of the TV show names and ending with either srt, zip or nzb

The parenthesis acts as both a multi-choice and a referrer.
The found TV show name will be use as a referrer number 1 (this is the first parenthesis in the filter), the second one would be the extension.

For example, the filter will be returning data like this :
(Flashforward).*(srt)
__$1f________$2f

The D:\video\$1f will then return D:\video\Flashforward
Post #1
Edit / Delete
Pages : [1] Add a reply

Return to top