Combining filters & need some help :/

Any questions? Need some help?
Post Reply
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Combining filters & need some help :/

Post by ZeroByDivide »

So I'm currently trying to work on getting some more advanced filters set up but for the life of me I can't get it to work correctly..

Currently running this .bat file

Code: Select all

@ECHO OFF
setlocal enableextensions enabledelayedexpansion

:: Media file processing script for Filebot
:: This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations.
:: It will run the filebot amc.groovy script against these files and output them into user defined locations.
:: CLI Stuff http://www.filebot.net/cli.html

:: Set up some logging
set LOGDIR=C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/logs

:: Base destinations to move files, no trailing slash. The subfolder is defined in the format string.
set DESTINATION=D:/Shows

:: Passing Args from Qbittorrent
set TORRENT_NAME="%1"
set TORRENT_PATH="%2"
::set TORRENT_LABEL="%3"

:: Rename action i.e: move | copy | keeplink | symlink | hardlink
set ACTION=move

:: Conflict resolution i.e: override | skip | fail
set CONFLICT=override

:: Episode filtering
set FILTERPATH=@/C:/Users/JourneyOver/Desktop/Other/filter.txt

:: Process music files
set MUSIC=false

:: Download subtitles for the given languages i.e: en | de | fr
set SUBTITLES=en

:: Fetch artwork/nfo
set ARTWORK=false

:: Generate *.url files and fetch all available backdrops
set EXTRAS=false

:: Tell the given Kodi/XBMC instance to rescan it's library
::Set KODI=host[:port]

:: Tell the given Plex instance to rescan it's library. Plex Home instances require an authentication token
::set PLEX=localhost

:: Tell the given Emby instance to rescan it's library
::set EMBY=host:apikey

:: Save reports to local filesystem
set STOREREPORT=false

:: Do not extract archives
set SKIPEXTRACT=false

:: Automatically remove empty folders and clutter files that may be left behind after moving the video files, or temporary extracted files after copying
set CLEAN=true

:: Delete archives after extraction
set DELETEAFTEREXTRACT=true

:: Format path and strings for filebot, please see: http://www.filebot.net/naming.html
set FORMATPATH=@/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/Formatting.txt

:: Run filebot script
filebot -script fn:amc ^
					--output "%DESTINATION%" ^
					--log-file "%LOGDIR%/filebot-amc.log" ^
					--action %ACTION% ^
					--conflict %CONFLICT% ^
					-non-strict ^
					-no-xattr ^
					--filter ^
					%FILTERPATH% ^
					--def ^
					ut_dir=%TORRENT_PATH% ^
					ut_kind=multi ^
					ut_title=%TORRENT_NAME% ^
					excludeList="%LOGDIR%/filebot-history.log" ^
					music=%MUSIC% ^
					subtitles=%SUBTITLES% ^
					artwork=%ARTWORK% ^
					extras=%EXTRAS% ^
					storeReport=%STOREREPORT% ^
					skipExtract=%SKIPEXTRACT% ^
					clean=%CLEAN% ^
					deleteAfterExtract=%DELETEAFTEREXTRACT% ^
					--def ^
					%FORMATPATH%
and my FILTERPATH is pointing to a text file

Code: Select all

age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && !readLines('C:/Users/JourneyOver/Desktop/Other/excludes.txt').contains(n)
which is pointing to an excludes.txt file which contains

Code: Select all

Doctor Who
The Librarians
I seem to be able to get

Code: Select all

age < 30 || !(defines.ut_title =~ /(?i)American.Dad/)
to work but if I am downloading say Doctor Who [same goes for The Librarians vs The Librarians (2014) as well] and once it starts it's post processing and get to the filter it just ends up throwing

Code: Select all

Failed to match files to episode data
for the

Code: Select all

&& !readLines('C:/Users/JourneyOver/Desktop/Other/excludes.txt').contains(n)
bit.. I'm wanting it to ignore Doctor Who but pull data for Doctor Who 2005 (and not go by the age thing either), but i can't seem to get it at all. Dunno if I'm just being a dumb ass or what the issue could possibly be, so I'm coming here again looking for some help on this :x would I have to set up a includes.txt as well to get this to work the way I want it to?


example log of when I ran it for Doctor Who

Code: Select all

Run script [fn:amc] at [Mon Dec 19 22:40:52 CST 2016]
Parameter: ut_dir = C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV
Parameter: ut_kind = multi
Parameter: ut_title = Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV
Parameter: excludeList = C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/logs/filebot-history.log
Parameter: music = false
Parameter: subtitles = en
Parameter: artwork = false
Parameter: extras = false
Parameter: storeReport = false
Parameter: skipExtract = false
Parameter: clean = true
Parameter: deleteAfterExtract = true
Parameter: seriesFormat = /TV Shows/{N}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{N.replaceTrailingBrackets()} - {episode.special ? 'S00E'+special.pad(2) : S00E00} - {T.replaceAll(/[!?.]+$/).replaceAll(/[\`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}
Parameter: animeFormat = /Anime/{N}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{N.replaceTrailingBrackets()} - {episode.special ? 'S00E'+special.pad(2) : S00E00} - {T.replaceAll(/[!?.]+$/).replaceAll(/[\`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}
Parameter: movieFormat = /Movies/{N} [{y}]/{N.replaceTrailingBrackets().replaceAll(/[!?.]+$/).replaceAll(/[\`´‘’ʻ]/, "'").lowerTrail()} [{y}]
Use excludes: C:\Users\JourneyOver\Dropbox\Public\Folders\Filebot\logs\filebot-history.log
Ignore extra: C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\Sample
Read archive [doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.rar] and extract to [C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV]
Extracting files [C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.mkv]
Input: C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.mkv
Group: [tvs:doctor who 2005] => [doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [English] subtitles [Doctor.Who.2005.S09E12.Hell.Bent.720p.HDTV.x264-FoV.srt] from [OpenSubtitles]
Export [Doctor.Who.2005.S09E12.Hell.Bent.720p.HDTV.x264-FoV.srt] as [SubRip / UTF-8]
Writing [Doctor.Who.2005.S09E12.Hell.Bent.720p.HDTV.x264-FoV.srt] to [doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [Doctor Who 2005]
Fetching episode data for [Doctor Who (2005)]
Fetching episode data for [Doctor Who (2009)]
Fetching episode data for [Doctor Who]
Apply Filter: {age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && !readLines('C:/Users/JourneyOver/Desktop/Other/excludes.txt').contains(n)}
No matching episode: doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.eng.srt
Auto-detected query: [Doctor Who 2005]
Fetching episode data for [Doctor Who (2005)]
Fetching episode data for [Doctor Who (2009)]
Fetching episode data for [Doctor Who]
Apply Filter: {age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && !readLines('C:/Users/JourneyOver/Desktop/Other/excludes.txt').contains(n)}
No matching episode: doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.mkv
Failed to match files to episode data
Delete archive C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.rar
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r00
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r01
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r02
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r03
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r04
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r05
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r06
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r07
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r08
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r09
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r10
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r11
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r12
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r13
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r14
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r15
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r16
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r17
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r18
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r19
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r20
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r21
Delete archive volume C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-fov.r22
Clean clutter files and empty folders
Delete C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\Sample\doctor_who_2005.9x12.hell_bent.720p_hdtv_x264-sample-fov.mkv
Delete C:\Users\JourneyOver\Desktop\QBT\Doctor_Who_2005.9x12.Hell_Bent.720p_HDTV_x264-FoV\Sample
Finished without processing any files
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

Use -list --filter for testing. Try a few things and narrow down the problem.

1. Is your text file being read?
2. What does the List that was read look like?
3. Does List.contains() work the way you think it works?

Tip: You can use println statements in your filter. The List panel in the GUI is also useful for testing your filter on many episodes at once for rapid prototyping.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

rednoah wrote:Use -list --filter for testing. Try a few things and narrow down the problem.

1. Is your text file being read?
2. What does the List that was read look like?
3. Does List.contains() work the way you think it works?

Tip: You can use println statements in your filter. The List panel in the GUI is also useful for testing your filter on many episodes at once for rapid prototyping.
for some reason when I do things like filebot -list --filter yada yada yada in cmd it never shows anything at all [even a simple filebot -script fn:sysinfo doesn't produce anything http://i.imgur.com/KhoX8VU.png] even though if I do it through a .bat file the commands work fine and dandy but anyways..

1. At least 2 of my text documents are being read correctly...I can't really tell if my exclude.txt is being read or not really :/ the two text documents that are being read that I know for sure are my formatting.txt [which holds my series/movies/anime format] and my main filter.txt file which holds

Code: Select all

age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && !readLines('C:/Users/JourneyOver/Desktop/Other/excludes.txt').contains(n)
2. it's almost like you didn't even read my post -.-.... it looks like

Code: Select all

Doctor Who
The Librarians
3. I don't really know.... I'm trying to set up something to
If misleading data from a specific series is making trouble you can simply exclude it
[since I sometimes end up running into this issue it seems] as well as set up a age filter for american dad and possibly others..

I don't even really know where to begin for the GUI list panel, I've never used it before..


Edit: so from the looks of it, my exclude.txt file isn't being read (I really don't understand why it's not being read :/) and even if it was being read the age filter bit is taking over all the filters even though I only want it to be set up for the

Code: Select all

 !(defines.ut_title =~ /(?i)American.Dad/)
bit
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

if you get no output. It means you're using the GUI executable.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

okay so I ran two tests of two different kinds, one for doctor who and one for the librarians --
this was my test code for the librarians

Code: Select all

cd "C:\Users\JourneyOver\Dropbox\Public\Folders\Filebot\MyStuff\testing folder"
filebot -list --q "Doctor Who^|Doctor Who 2005" --filter @/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/filter.txt >> test.txt
timeout /t 30
echo ----- >> test.txt
timeout /t 15
filebot -list --q "The Librarians^|The Librarians 2014" --filter @/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/filter.txt >> test.txt
my exclude list holds --

Code: Select all

Doctor Who
Doctor-X
The Librarians
when I ran the above script it processes through like so

Code: Select all

Apply Filter: {age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) || !readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/excludes.txt').contains(n)}
Include [Doctor Who (2005) - 1x01 - Rose]
Include [Doctor Who (2005) - 1x02 - The End of the World]
Include [Doctor Who (2005) - 1x03 - The Unquiet Dead]
Include [Doctor Who (2005) - 1x04 - Aliens of London (1)]
Include [Doctor Who (2005) - 1x05 - World War Three (2)]
Include [Doctor Who (2005) - 1x06 - Dalek]
Include [Doctor Who (2005) - 1x07 - The Long Game]
Include [Doctor Who (2005) - 1x08 - Father's Day]
Include [Doctor Who (2005) - 1x09 - The Empty Child (1)]
Include [Doctor Who (2005) - 1x10 - The Doctor Dances (2)]
Include [Doctor Who (2005) - 1x11 - Boom Town]
Include [Doctor Who (2005) - 1x12 - Bad Wolf (1)]
Include [Doctor Who (2005) - 1x13 - The Parting of the Ways (2)]
Include [Doctor Who (2005) - 2x01 - New Earth]
Include [Doctor Who (2005) - 2x02 - Tooth and Claw]
Include [Doctor Who (2005) - 2x03 - School Reunion]
Include [Doctor Who (2005) - 2x04 - The Girl in the Fireplace]
Include [Doctor Who (2005) - 2x05 - Rise of the Cybermen (1)]
Include [Doctor Who (2005) - 2x06 - The Age of Steel (2)]
Include [Doctor Who (2005) - 2x07 - The Idiot's Lantern]
Include [Doctor Who (2005) - 2x08 - The Impossible Planet (1)]
Include [Doctor Who (2005) - 2x09 - The Satan Pit (2)]
Include [Doctor Who (2005) - 2x10 - Love and Monsters]
Include [Doctor Who (2005) - 2x11 - Fear Her]
Include [Doctor Who (2005) - 2x12 - Army of Ghosts (1)]
Include [Doctor Who (2005) - 2x13 - Doomsday (2)]
Include [Doctor Who (2005) - 3x01 - Smith and Jones]
Include [Doctor Who (2005) - 3x02 - The Shakespeare Code]
Include [Doctor Who (2005) - 3x03 - Gridlock]
Include [Doctor Who (2005) - 3x04 - Daleks in Manhattan (1)]
Include [Doctor Who (2005) - 3x05 - Evolution of the Daleks (2)]
Include [Doctor Who (2005) - 3x06 - The Lazarus Experiment]
Include [Doctor Who (2005) - 3x07 - 42]
Include [Doctor Who (2005) - 3x08 - Human Nature (1)]
Include [Doctor Who (2005) - 3x09 - The Family of Blood (2)]
Include [Doctor Who (2005) - 3x10 - Blink]
Include [Doctor Who (2005) - 3x11 - Utopia (1)]
Include [Doctor Who (2005) - 3x12 - The Sound of Drums (2)]
Include [Doctor Who (2005) - 3x13 - Last of the Time Lords (3)]
Include [Doctor Who (2005) - 4x01 - Partners in Crime]
Include [Doctor Who (2005) - 4x02 - The Fires of Pompeii]
Include [Doctor Who (2005) - 4x03 - Planet of the Ood]
Include [Doctor Who (2005) - 4x04 - The Sontaran Stratagem (1)]
Include [Doctor Who (2005) - 4x05 - The Poison Sky (2)]
Include [Doctor Who (2005) - 4x06 - The Doctor's Daughter]
Include [Doctor Who (2005) - 4x07 - The Unicorn and the Wasp]
Include [Doctor Who (2005) - 4x08 - Silence in the Library (1)]
Include [Doctor Who (2005) - 4x09 - Forest of the Dead (2)]
Include [Doctor Who (2005) - 4x10 - Midnight]
Include [Doctor Who (2005) - 4x11 - Turn Left]
Include [Doctor Who (2005) - 4x12 - The Stolen Earth (1)]
Include [Doctor Who (2005) - 4x13 - Journey's End (2)]
Include [Doctor Who (2005) - 5x01 - The Eleventh Hour]
Include [Doctor Who (2005) - 5x02 - The Beast Below]
Include [Doctor Who (2005) - 5x03 - Victory of the Daleks]
Include [Doctor Who (2005) - 5x04 - The Time of Angels (1)]
Include [Doctor Who (2005) - 5x05 - Flesh and Stone (2)]
Include [Doctor Who (2005) - 5x06 - The Vampires of Venice]
Include [Doctor Who (2005) - 5x07 - Amy's Choice]
Include [Doctor Who (2005) - 5x08 - The Hungry Earth (1)]
Include [Doctor Who (2005) - 5x09 - Cold Blood (2)]
Include [Doctor Who (2005) - 5x10 - Vincent and the Doctor]
Include [Doctor Who (2005) - 5x11 - The Lodger]
Include [Doctor Who (2005) - 5x12 - The Pandorica Opens (1)]
Include [Doctor Who (2005) - 5x13 - The Big Bang (2)]
Include [Doctor Who (2005) - 6x01 - The Impossible Astronaut (1)]
Include [Doctor Who (2005) - 6x02 - Day of the Moon (2)]
Include [Doctor Who (2005) - 6x03 - The Curse of the Black Spot]
Include [Doctor Who (2005) - 6x04 - The Doctor's Wife]
Include [Doctor Who (2005) - 6x05 - The Rebel Flesh (1)]
Include [Doctor Who (2005) - 6x06 - The Almost People (2)]
Include [Doctor Who (2005) - 6x07 - A Good Man Goes to War (1)]
Include [Doctor Who (2005) - 6x08 - Let's Kill Hitler (2)]
Include [Doctor Who (2005) - 6x09 - Night Terrors]
Include [Doctor Who (2005) - 6x10 - The Girl Who Waited]
Include [Doctor Who (2005) - 6x11 - The God Complex]
Include [Doctor Who (2005) - 6x12 - Closing Time]
Include [Doctor Who (2005) - 6x13 - The Wedding of River Song]
Include [Doctor Who (2005) - 7x01 - Asylum of the Daleks]
Include [Doctor Who (2005) - 7x02 - Dinosaurs on a Spaceship]
Include [Doctor Who (2005) - 7x03 - A Town Called Mercy]
Include [Doctor Who (2005) - 7x04 - The Power of Three]
Include [Doctor Who (2005) - 7x05 - The Angels Take Manhattan]
Include [Doctor Who (2005) - 7x06 - The Bells of St John]
Include [Doctor Who (2005) - 7x07 - The Rings of Akhaten]
Include [Doctor Who (2005) - 7x08 - Cold War]
Include [Doctor Who (2005) - 7x09 - Hide]
Include [Doctor Who (2005) - 7x10 - Journey to the Centre of the TARDIS]
Include [Doctor Who (2005) - 7x11 - The Crimson Horror]
Include [Doctor Who (2005) - 7x12 - Nightmare in Silver]
Include [Doctor Who (2005) - 7x13 - The Name of the Doctor]
Include [Doctor Who (2005) - 8x01 - Deep Breath]
Include [Doctor Who (2005) - 8x02 - Into the Dalek]
Include [Doctor Who (2005) - 8x03 - Robot of Sherwood]
Include [Doctor Who (2005) - 8x04 - Listen]
Include [Doctor Who (2005) - 8x05 - Time Heist]
Include [Doctor Who (2005) - 8x06 - The Caretaker]
Include [Doctor Who (2005) - 8x07 - Kill the Moon]
Include [Doctor Who (2005) - 8x08 - Mummy on the Orient Express]
Include [Doctor Who (2005) - 8x09 - Flatline]
Include [Doctor Who (2005) - 8x10 - In the Forest of the Night]
Include [Doctor Who (2005) - 8x11 - Dark Water]
Include [Doctor Who (2005) - 8x12 - Death In Heaven]
Include [Doctor Who (2005) - 9x01 - The Magician's Apprentice (1)]
Include [Doctor Who (2005) - 9x02 - The Witch's Familiar (2)]
Include [Doctor Who (2005) - 9x03 - Under The Lake (1)]
Include [Doctor Who (2005) - 9x04 - Before The Flood (2)]
Include [Doctor Who (2005) - 9x05 - The Girl Who Died (1)]
Include [Doctor Who (2005) - 9x06 - The Woman Who Lived (2)]
Include [Doctor Who (2005) - 9x07 - The Zygon Invasion (1)]
Include [Doctor Who (2005) - 9x08 - The Zygon Inversion (2)]
Include [Doctor Who (2005) - 9x09 - Sleep No More]
Include [Doctor Who (2005) - 9x10 - Face The Raven]
Include [Doctor Who (2005) - 9x11 - Heaven Sent (1)]
Include [Doctor Who (2005) - 9x12 - Hell Bent (2)]
Include [Doctor Who (2005) - 1xSpecial 1 - Children in Need: Born Again]
Include [Doctor Who (2005) - 1xSpecial 2 - The Christmas Invasion]
Include [Doctor Who (2005) - 1xSpecial 3 - The Attack of the Graske]
Include [Doctor Who (2005) - 2xSpecial 4 - The Runaway Bride]
Include [Doctor Who (2005) - 3xSpecial 5 - The Infinite Quest]
Include [Doctor Who (2005) - 3xSpecial 6 - Children in Need: Time Crash]
Include [Doctor Who (2005) - 3xSpecial 7 - Voyage of the Damned]
Include [Doctor Who (2005) - 0xSpecial 8 - Proms Special: Music of the Spheres]
Include [Doctor Who (2005) - 4xSpecial 9 - The Next Doctor]
Include [Doctor Who (2005) - 0xSpecial 10 - Christmas Moments]
Include [Doctor Who (2005) - 0xSpecial 11 - Doctor Who at the Proms]
Include [Doctor Who (2005) - 0xSpecial 12 - Proms Special: Behind The Scenes]
Include [Doctor Who (2005) - 4xSpecial 13 - Planet of the Dead]
Include [Doctor Who (2005) - 4xSpecial 14 - The Waters of Mars]
Include [Doctor Who (2005) - 0xSpecial 15 - Dreamland]
Include [Doctor Who (2005) - 4xSpecial 16 - The End of Time (1)]
Include [Doctor Who (2005) - 4xSpecial 17 - The End of Time (2)]
Include [Doctor Who (2005) - 5xSpecial 18 - The Ultimate Guide]
Include [Doctor Who (2005) - 2xSpecial 19 - Tardisode 01: New Earth]
Include [Doctor Who (2005) - 2xSpecial 20 - Tardisode 02: Tooth And Claw]
Include [Doctor Who (2005) - 2xSpecial 21 - Tardisode 03: School Reunion]
Include [Doctor Who (2005) - 2xSpecial 22 - Tardisode 04: The Girl In The Fireplace]
Include [Doctor Who (2005) - 2xSpecial 23 - Tardisode 05: Rise of the Cybermen]
Include [Doctor Who (2005) - 2xSpecial 24 - Tardisode 06: The Age Of Steel]
Include [Doctor Who (2005) - 2xSpecial 25 - Tardisode 07: The Idiot's Lantern]
Include [Doctor Who (2005) - 2xSpecial 26 - Tardisode 08: The Impossible Planet]
Include [Doctor Who (2005) - 2xSpecial 27 - Tardisode 09: The Satan Pit]
Include [Doctor Who (2005) - 2xSpecial 28 - Tardisode 10: Love And Monsters]
Include [Doctor Who (2005) - 2xSpecial 29 - Tardisode 11: Fear Her]
Include [Doctor Who (2005) - 2xSpecial 30 - Tardisode 12: Army of Ghosts]
Include [Doctor Who (2005) - 2xSpecial 31 - Tardisode 13: Doomsday]
Include [Doctor Who (2005) - 0xSpecial 32 - Doctor Who at the Proms (2010)]
Include [Doctor Who (2005) - 0xSpecial 33 - Children in Need: A TARDIS Tea Party]
Include [Doctor Who (2005) - 5xSpecial 34 - A Christmas Carol]
Include [Doctor Who (2005) - 6xSpecial 35 - Space (1)]
Include [Doctor Who (2005) - 6xSpecial 36 - Time (2)]
Include [Doctor Who (2005) - 6xSpecial 37 - Best of the Doctor]
Include [Doctor Who (2005) - 0xSpecial 38 - Death is the Only Answer]
Include [Doctor Who (2005) - 6xSpecial 39 - Best of the Monsters]
Include [Doctor Who (2005) - 6xSpecial 40 - Best of the Companions]
Include [Doctor Who (2005) - 3xSpecial 41 - Doctor Who: A Celebration Concert]
Include [Doctor Who (2005) - 6xSpecial 42 - The Impossible Astronaut Prequel]
Include [Doctor Who (2005) - 6xSpecial 43 - The Curse of the Black Spot Prequel]
Include [Doctor Who (2005) - 6xSpecial 44 - A Good Man Goes to War Prequel]
Include [Doctor Who (2005) - 6xSpecial 45 - Let's Kill Hitler Prequel]
Include [Doctor Who (2005) - 6xSpecial 46 - The Wedding of River Song Prequel]
Include [Doctor Who (2005) - 6xSpecial 47 - The Doctor, the Widow and the Wardrobe]
Include [Doctor Who (2005) - 0xSpecial 48 - Children in Need: The Doctor's Clothes]
Include [Doctor Who (2005) - 0xSpecial 49 - Best of the Christmas Specials]
Include [Doctor Who (2005) - 0xSpecial 50 - The Doctor, the Widow and the Wardrobe Prequel]
Include [Doctor Who (2005) - 6xSpecial 51 - Bad Night]
Include [Doctor Who (2005) - 6xSpecial 52 - Good Night]
Include [Doctor Who (2005) - 6xSpecial 53 - First Night]
Include [Doctor Who (2005) - 6xSpecial 54 - Last Night]
Include [Doctor Who (2005) - 6xSpecial 55 - Up All Night]
Include [Doctor Who (2005) - 7xSpecial 56 - Good as Gold]
Include [Doctor Who (2005) - 7xSpecial 57 - The Science of Doctor Who]
Include [Doctor Who (2005) - 7xSpecial 58 - The Women of Doctor Who]
Include [Doctor Who (2005) - 7xSpecial 59 - The Timey-Wimey of Doctor Who]
Include [Doctor Who (2005) - 7xSpecial 60 - The Destinations of Doctor Who]
Include [Doctor Who (2005) - 7xSpecial 61 - Pond Life (1): April]
Include [Doctor Who (2005) - 7xSpecial 62 - Pond Life (2): May]
Include [Doctor Who (2005) - 7xSpecial 63 - Pond Life (3): June]
Include [Doctor Who (2005) - 7xSpecial 64 - Pond Life (4): July]
Include [Doctor Who (2005) - 7xSpecial 65 - Pond Life (5): August]
Include [Doctor Who (2005) - 7xSpecial 66 - The Snowmen]
Include [Doctor Who (2005) - 5xSpecial 67 - Meanwhile in the TARDIS (1)]
Include [Doctor Who (2005) - 7xSpecial 69 - Asylum of the Daleks Prequel]
Include [Doctor Who (2005) - 7xSpecial 70 - The Making of the Gunslinger (A Town Called Mercy Prequel)]
Include [Doctor Who (2005) - 7xSpecial 71 - The Last Day of the Ponds]
Include [Doctor Who (2005) - 6xSpecial 72 - Doctor Who in America]
Include [Doctor Who (2005) - 7xSpecial 73 - Doctor Who in the U.S.]
Include [Doctor Who (2005) - 7xSpecial 74 - Children in Need: The Great Detective]
Include [Doctor Who (2005) - 7xSpecial 75 - Doctor Who: P.S.]
Include [Doctor Who (2005) - 6xSpecial 76 - Doctor Who: Rewind - Trust your Doctor]
Include [Doctor Who (2005) - 7xSpecial 77 - Vastra Investigates: A Christmas Prequel]
Include [Doctor Who (2005) - 0xSpecial 78 - An Adventure in Space and Time]
Include [Doctor Who (2005) - 7xSpecial 79 - The Bells of Saint John: A Prequel]
Include [Doctor Who (2005) - 7xSpecial 80 - The Battle of Demon's Run — Two Days Later]
Include [Doctor Who (2005) - 0xSpecial 81 - National Television Awards Sketch 2011]
Include [Doctor Who (2005) - 7xSpecial 82 - The Night of the Doctor]
Include [Doctor Who (2005) - 7xSpecial 83 - The Day of the Doctor]
Include [Doctor Who (2005) - 7xSpecial 84 - The Time of the Doctor]
Include [Doctor Who (2005) - 7xSpecial 85 - She Said, He Said (The Name of the Doctor Prequel)]
Include [Doctor Who (2005) - 7xSpecial 86 - Clarence and the Whispermen (The Name of the Doctor Prequel)]
Include [Doctor Who (2005) - 0xSpecial 87 - Doctor Who Live: The Next Doctor]
Include [Doctor Who (2005) - 0xSpecial 88 - Doctor Who at the Proms (2013)]
Include [Doctor Who (2005) - 7xSpecial 89 - The Companions]
Include [Doctor Who (2005) - 0xSpecial 90 - The Science of Doctor Who (2013)]
Include [Doctor Who (2005) - 0xSpecial 91 - The Ultimate Guide (2013)]
Include [Doctor Who (2005) - 0xSpecial 92 - The Afterparty]
Include [Doctor Who (2005) - 7xSpecial 93 - The Last Day]
Include [Doctor Who (2005) - 0xSpecial 94 - Doctor Who Explained]
Include [Doctor Who (2005) - 0xSpecial 95 - The Five(ish) Doctors Reboot]
Include [Doctor Who (2005) - 0xSpecial 96 - The Day of the Doctor: Behind the Lens]
Include [Doctor Who (2005) - 0xSpecial 97 - Tales from the TARDIS]
Include [Doctor Who (2005) - 7xSpecial 98 - Clara and the TARDIS]
Include [Doctor Who (2005) - 7xSpecial 99 - Rain Gods]
Include [Doctor Who (2005) - 7xSpecial 100 - The Inforarium]
Include [Doctor Who (2005) - 0xSpecial 101 - Farewell to Matt Smith]
Include [Doctor Who (2005) - 5xSpecial 102 - Tonight's the Night]
Include [Doctor Who (2005) - 0xSpecial 103 - The Time of the Doctor: Behind the Lens]
Include [Doctor Who (2005) - 0xSpecial 104 - The Doctors Revisited: The First Doctor]
Include [Doctor Who (2005) - 0xSpecial 105 - The Doctors Revisited: The Second Doctor]
Include [Doctor Who (2005) - 0xSpecial 106 - The Doctors Revisited: The Third Doctor]
Include [Doctor Who (2005) - 0xSpecial 107 - The Doctors Revisited: The Fourth Doctor]
Include [Doctor Who (2005) - 0xSpecial 108 - The Doctors Revisited: The Fifth Doctor]
Include [Doctor Who (2005) - 0xSpecial 109 - The Doctors Revisited: The Sixth Doctor]
Include [Doctor Who (2005) - 0xSpecial 110 - The Doctors Revisited: The Seventh Doctor]
Include [Doctor Who (2005) - 0xSpecial 111 - The Doctors Revisited: The Eighth Doctor]
Include [Doctor Who (2005) - 0xSpecial 112 - The Doctors Revisited: The Ninth Doctor]
Include [Doctor Who (2005) - 0xSpecial 113 - The Doctors Revisited: The Tenth Doctor]
Include [Doctor Who (2005) - 0xSpecial 114 - The Doctors Revisited: The Eleventh Doctor]
Include [Doctor Who (2005) - 0xSpecial 115 - Greatest Monsters and Villains (1) - The Judoon]
Include [Doctor Who (2005) - 0xSpecial 116 - Greatest Monsters and Villains (2) - The Silurian]
Include [Doctor Who (2005) - 0xSpecial 117 - Greatest Monsters and Villains (2) - The Ood]
Include [Doctor Who (2005) - 0xSpecial 118 - Greatest Monsters and Villains (4) - The Clockwork Droids]
Include [Doctor Who (2005) - 0xSpecial 119 - Greatest Monsters and Villains (5) - The Ice Warriors]
Include [Doctor Who (2005) - 0xSpecial 120 - Greatest Monsters and Villains (6) - The Cybermen]
Include [Doctor Who (2005) - 0xSpecial 121 - Greatest Monsters and Villains (7) - The Silence]
Include [Doctor Who (2005) - 0xSpecial 122 - Greatest Monsters and Villains (8) -  The Master]
Include [Doctor Who (2005) - 0xSpecial 123 - Greatest Monsters and Villains (9) -  The Weeping Angels]
Include [Doctor Who (2005) - 0xSpecial 124 - Greatest Monsters and Villains (10) - The Daleks]
Include [Doctor Who (2005) - 0xSpecial 125 - The Ultimate Companion]
Include [Doctor Who (2005) - 0xSpecial 126 - The Ultimate Time Lord]
Include [Doctor Who (2005) - 8xSpecial 127 - Earth Conquest (The World Tour)]
Include [Doctor Who (2005) - 8xSpecial 128 - Live Preshow]
Include [Doctor Who (2005) - 8xSpecial 129 - After Who Live]
Include [Doctor Who (2005) - 8xSpecial 130 - Doctor Who Extra: Deep Breath]
Include [Doctor Who (2005) - 8xSpecial 131 - Doctor Who Extra: Into the Dalek]
Include [Doctor Who (2005) - 8xSpecial 132 - Doctor Who Extra: Robot of Sherwood]
Include [Doctor Who (2005) - 8xSpecial 133 - Doctor Who Extra: Listen]
Include [Doctor Who (2005) - 8xSpecial 134 - Doctor Who Extra: Time Heist]
Include [Doctor Who (2005) - 8xSpecial 135 - Doctor Who Extra: The Caretaker]
Include [Doctor Who (2005) - 8xSpecial 136 - Doctor Who Extra: Kill the Moon]
Include [Doctor Who (2005) - 8xSpecial 137 - Doctor Who Extra: Mummy on the Orient Express]
Include [Doctor Who (2005) - 8xSpecial 138 - Doctor Who Extra: Flatline]
Include [Doctor Who (2005) - 8xSpecial 139 - Doctor Who Extra: The Forest of the Night]
Include [Doctor Who (2005) - 8xSpecial 140 - Doctor Who Extra: Dark Water]
Include [Doctor Who (2005) - 0xSpecial 141 - Doctor Who Extra: Death in Heaven]
Include [Doctor Who (2005) - 8xSpecial 142 - Last Christmas]
Include [Doctor Who (2005) - 8xSpecial 143 - Doctor Who Extra: Last Christmas]
Include [Doctor Who (2005) - 9xSpecial 144 - Doctor Who Extra: The Husbands of River Song]
Include [Doctor Who (2005) - 8xSpecial 145 - Deep Breath Prequel]
Include [Doctor Who (2005) - 9xSpecial 146 - Prologue]
Include [Doctor Who (2005) - 9xSpecial 147 - The Doctor's Meditation]
Include [Doctor Who (2005) - 9xSpecial 148 - The Husbands of River Song]
Doctor Who (2005) - 1x01 - Rose
Doctor Who (2005) - 1x02 - The End of the World
Doctor Who (2005) - 1x03 - The Unquiet Dead
Doctor Who (2005) - 1x04 - Aliens of London (1)
Doctor Who (2005) - 1x05 - World War Three (2)
Doctor Who (2005) - 1x06 - Dalek
Doctor Who (2005) - 1x07 - The Long Game
Doctor Who (2005) - 1x08 - Father's Day
Doctor Who (2005) - 1x09 - The Empty Child (1)
Doctor Who (2005) - 1x10 - The Doctor Dances (2)
Doctor Who (2005) - 1x11 - Boom Town
Doctor Who (2005) - 1x12 - Bad Wolf (1)
Doctor Who (2005) - 1x13 - The Parting of the Ways (2)
Doctor Who (2005) - 2x01 - New Earth
Doctor Who (2005) - 2x02 - Tooth and Claw
Doctor Who (2005) - 2x03 - School Reunion
Doctor Who (2005) - 2x04 - The Girl in the Fireplace
Doctor Who (2005) - 2x05 - Rise of the Cybermen (1)
Doctor Who (2005) - 2x06 - The Age of Steel (2)
Doctor Who (2005) - 2x07 - The Idiot's Lantern
Doctor Who (2005) - 2x08 - The Impossible Planet (1)
Doctor Who (2005) - 2x09 - The Satan Pit (2)
Doctor Who (2005) - 2x10 - Love and Monsters
Doctor Who (2005) - 2x11 - Fear Her
Doctor Who (2005) - 2x12 - Army of Ghosts (1)
Doctor Who (2005) - 2x13 - Doomsday (2)
Doctor Who (2005) - 3x01 - Smith and Jones
Doctor Who (2005) - 3x02 - The Shakespeare Code
Doctor Who (2005) - 3x03 - Gridlock
Doctor Who (2005) - 3x04 - Daleks in Manhattan (1)
Doctor Who (2005) - 3x05 - Evolution of the Daleks (2)
Doctor Who (2005) - 3x06 - The Lazarus Experiment
Doctor Who (2005) - 3x07 - 42
Doctor Who (2005) - 3x08 - Human Nature (1)
Doctor Who (2005) - 3x09 - The Family of Blood (2)
Doctor Who (2005) - 3x10 - Blink
Doctor Who (2005) - 3x11 - Utopia (1)
Doctor Who (2005) - 3x12 - The Sound of Drums (2)
Doctor Who (2005) - 3x13 - Last of the Time Lords (3)
Doctor Who (2005) - 4x01 - Partners in Crime
Doctor Who (2005) - 4x02 - The Fires of Pompeii
Doctor Who (2005) - 4x03 - Planet of the Ood
Doctor Who (2005) - 4x04 - The Sontaran Stratagem (1)
Doctor Who (2005) - 4x05 - The Poison Sky (2)
Doctor Who (2005) - 4x06 - The Doctor's Daughter
Doctor Who (2005) - 4x07 - The Unicorn and the Wasp
Doctor Who (2005) - 4x08 - Silence in the Library (1)
Doctor Who (2005) - 4x09 - Forest of the Dead (2)
Doctor Who (2005) - 4x10 - Midnight
Doctor Who (2005) - 4x11 - Turn Left
Doctor Who (2005) - 4x12 - The Stolen Earth (1)
Doctor Who (2005) - 4x13 - Journey's End (2)
Doctor Who (2005) - 5x01 - The Eleventh Hour
Doctor Who (2005) - 5x02 - The Beast Below
Doctor Who (2005) - 5x03 - Victory of the Daleks
Doctor Who (2005) - 5x04 - The Time of Angels (1)
Doctor Who (2005) - 5x05 - Flesh and Stone (2)
Doctor Who (2005) - 5x06 - The Vampires of Venice
Doctor Who (2005) - 5x07 - Amy's Choice
Doctor Who (2005) - 5x08 - The Hungry Earth (1)
Doctor Who (2005) - 5x09 - Cold Blood (2)
Doctor Who (2005) - 5x10 - Vincent and the Doctor
Doctor Who (2005) - 5x11 - The Lodger
Doctor Who (2005) - 5x12 - The Pandorica Opens (1)
Doctor Who (2005) - 5x13 - The Big Bang (2)
Doctor Who (2005) - 6x01 - The Impossible Astronaut (1)
Doctor Who (2005) - 6x02 - Day of the Moon (2)
Doctor Who (2005) - 6x03 - The Curse of the Black Spot
Doctor Who (2005) - 6x04 - The Doctor's Wife
Doctor Who (2005) - 6x05 - The Rebel Flesh (1)
Doctor Who (2005) - 6x06 - The Almost People (2)
Doctor Who (2005) - 6x07 - A Good Man Goes to War (1)
Doctor Who (2005) - 6x08 - Let's Kill Hitler (2)
Doctor Who (2005) - 6x09 - Night Terrors
Doctor Who (2005) - 6x10 - The Girl Who Waited
Doctor Who (2005) - 6x11 - The God Complex
Doctor Who (2005) - 6x12 - Closing Time
Doctor Who (2005) - 6x13 - The Wedding of River Song
Doctor Who (2005) - 7x01 - Asylum of the Daleks
Doctor Who (2005) - 7x02 - Dinosaurs on a Spaceship
Doctor Who (2005) - 7x03 - A Town Called Mercy
Doctor Who (2005) - 7x04 - The Power of Three
Doctor Who (2005) - 7x05 - The Angels Take Manhattan
Doctor Who (2005) - 7x06 - The Bells of St John
Doctor Who (2005) - 7x07 - The Rings of Akhaten
Doctor Who (2005) - 7x08 - Cold War
Doctor Who (2005) - 7x09 - Hide
Doctor Who (2005) - 7x10 - Journey to the Centre of the TARDIS
Doctor Who (2005) - 7x11 - The Crimson Horror
Doctor Who (2005) - 7x12 - Nightmare in Silver
Doctor Who (2005) - 7x13 - The Name of the Doctor
Doctor Who (2005) - 8x01 - Deep Breath
Doctor Who (2005) - 8x02 - Into the Dalek
Doctor Who (2005) - 8x03 - Robot of Sherwood
Doctor Who (2005) - 8x04 - Listen
Doctor Who (2005) - 8x05 - Time Heist
Doctor Who (2005) - 8x06 - The Caretaker
Doctor Who (2005) - 8x07 - Kill the Moon
Doctor Who (2005) - 8x08 - Mummy on the Orient Express
Doctor Who (2005) - 8x09 - Flatline
Doctor Who (2005) - 8x10 - In the Forest of the Night
Doctor Who (2005) - 8x11 - Dark Water
Doctor Who (2005) - 8x12 - Death In Heaven
Doctor Who (2005) - 9x01 - The Magician's Apprentice (1)
Doctor Who (2005) - 9x02 - The Witch's Familiar (2)
Doctor Who (2005) - 9x03 - Under The Lake (1)
Doctor Who (2005) - 9x04 - Before The Flood (2)
Doctor Who (2005) - 9x05 - The Girl Who Died (1)
Doctor Who (2005) - 9x06 - The Woman Who Lived (2)
Doctor Who (2005) - 9x07 - The Zygon Invasion (1)
Doctor Who (2005) - 9x08 - The Zygon Inversion (2)
Doctor Who (2005) - 9x09 - Sleep No More
Doctor Who (2005) - 9x10 - Face The Raven
Doctor Who (2005) - 9x11 - Heaven Sent (1)
Doctor Who (2005) - 9x12 - Hell Bent (2)
Doctor Who (2005) - 1xSpecial 1 - Children in Need: Born Again
Doctor Who (2005) - 1xSpecial 2 - The Christmas Invasion
Doctor Who (2005) - 1xSpecial 3 - The Attack of the Graske
Doctor Who (2005) - 2xSpecial 4 - The Runaway Bride
Doctor Who (2005) - 3xSpecial 5 - The Infinite Quest
Doctor Who (2005) - 3xSpecial 6 - Children in Need: Time Crash
Doctor Who (2005) - 3xSpecial 7 - Voyage of the Damned
Doctor Who (2005) - 0xSpecial 8 - Proms Special: Music of the Spheres
Doctor Who (2005) - 4xSpecial 9 - The Next Doctor
Doctor Who (2005) - 0xSpecial 10 - Christmas Moments
Doctor Who (2005) - 0xSpecial 11 - Doctor Who at the Proms
Doctor Who (2005) - 0xSpecial 12 - Proms Special: Behind The Scenes
Doctor Who (2005) - 4xSpecial 13 - Planet of the Dead
Doctor Who (2005) - 4xSpecial 14 - The Waters of Mars
Doctor Who (2005) - 0xSpecial 15 - Dreamland
Doctor Who (2005) - 4xSpecial 16 - The End of Time (1)
Doctor Who (2005) - 4xSpecial 17 - The End of Time (2)
Doctor Who (2005) - 5xSpecial 18 - The Ultimate Guide
Doctor Who (2005) - 2xSpecial 19 - Tardisode 01: New Earth
Doctor Who (2005) - 2xSpecial 20 - Tardisode 02: Tooth And Claw
Doctor Who (2005) - 2xSpecial 21 - Tardisode 03: School Reunion
Doctor Who (2005) - 2xSpecial 22 - Tardisode 04: The Girl In The Fireplace
Doctor Who (2005) - 2xSpecial 23 - Tardisode 05: Rise of the Cybermen
Doctor Who (2005) - 2xSpecial 24 - Tardisode 06: The Age Of Steel
Doctor Who (2005) - 2xSpecial 25 - Tardisode 07: The Idiot's Lantern
Doctor Who (2005) - 2xSpecial 26 - Tardisode 08: The Impossible Planet
Doctor Who (2005) - 2xSpecial 27 - Tardisode 09: The Satan Pit
Doctor Who (2005) - 2xSpecial 28 - Tardisode 10: Love And Monsters
Doctor Who (2005) - 2xSpecial 29 - Tardisode 11: Fear Her
Doctor Who (2005) - 2xSpecial 30 - Tardisode 12: Army of Ghosts
Doctor Who (2005) - 2xSpecial 31 - Tardisode 13: Doomsday
Doctor Who (2005) - 0xSpecial 32 - Doctor Who at the Proms (2010)
Doctor Who (2005) - 0xSpecial 33 - Children in Need: A TARDIS Tea Party
Doctor Who (2005) - 5xSpecial 34 - A Christmas Carol
Doctor Who (2005) - 6xSpecial 35 - Space (1)
Doctor Who (2005) - 6xSpecial 36 - Time (2)
Doctor Who (2005) - 6xSpecial 37 - Best of the Doctor
Doctor Who (2005) - 0xSpecial 38 - Death is the Only Answer
Doctor Who (2005) - 6xSpecial 39 - Best of the Monsters
Doctor Who (2005) - 6xSpecial 40 - Best of the Companions
Doctor Who (2005) - 3xSpecial 41 - Doctor Who: A Celebration Concert
Doctor Who (2005) - 6xSpecial 42 - The Impossible Astronaut Prequel
Doctor Who (2005) - 6xSpecial 43 - The Curse of the Black Spot Prequel
Doctor Who (2005) - 6xSpecial 44 - A Good Man Goes to War Prequel
Doctor Who (2005) - 6xSpecial 45 - Let's Kill Hitler Prequel
Doctor Who (2005) - 6xSpecial 46 - The Wedding of River Song Prequel
Doctor Who (2005) - 6xSpecial 47 - The Doctor, the Widow and the Wardrobe
Doctor Who (2005) - 0xSpecial 48 - Children in Need: The Doctor's Clothes
Doctor Who (2005) - 0xSpecial 49 - Best of the Christmas Specials
Doctor Who (2005) - 0xSpecial 50 - The Doctor, the Widow and the Wardrobe Prequel
Doctor Who (2005) - 6xSpecial 51 - Bad Night
Doctor Who (2005) - 6xSpecial 52 - Good Night
Doctor Who (2005) - 6xSpecial 53 - First Night
Doctor Who (2005) - 6xSpecial 54 - Last Night
Doctor Who (2005) - 6xSpecial 55 - Up All Night
Doctor Who (2005) - 7xSpecial 56 - Good as Gold
Doctor Who (2005) - 7xSpecial 57 - The Science of Doctor Who
Doctor Who (2005) - 7xSpecial 58 - The Women of Doctor Who
Doctor Who (2005) - 7xSpecial 59 - The Timey-Wimey of Doctor Who
Doctor Who (2005) - 7xSpecial 60 - The Destinations of Doctor Who
Doctor Who (2005) - 7xSpecial 61 - Pond Life (1): April
Doctor Who (2005) - 7xSpecial 62 - Pond Life (2): May
Doctor Who (2005) - 7xSpecial 63 - Pond Life (3): June
Doctor Who (2005) - 7xSpecial 64 - Pond Life (4): July
Doctor Who (2005) - 7xSpecial 65 - Pond Life (5): August
Doctor Who (2005) - 7xSpecial 66 - The Snowmen
Doctor Who (2005) - 5xSpecial 67 - Meanwhile in the TARDIS (1)
Doctor Who (2005) - 7xSpecial 69 - Asylum of the Daleks Prequel
Doctor Who (2005) - 7xSpecial 70 - The Making of the Gunslinger (A Town Called Mercy Prequel)
Doctor Who (2005) - 7xSpecial 71 - The Last Day of the Ponds
Doctor Who (2005) - 6xSpecial 72 - Doctor Who in America
Doctor Who (2005) - 7xSpecial 73 - Doctor Who in the U.S.
Doctor Who (2005) - 7xSpecial 74 - Children in Need: The Great Detective
Doctor Who (2005) - 7xSpecial 75 - Doctor Who: P.S.
Doctor Who (2005) - 6xSpecial 76 - Doctor Who: Rewind - Trust your Doctor
Doctor Who (2005) - 7xSpecial 77 - Vastra Investigates: A Christmas Prequel
Doctor Who (2005) - 0xSpecial 78 - An Adventure in Space and Time
Doctor Who (2005) - 7xSpecial 79 - The Bells of Saint John: A Prequel
Doctor Who (2005) - 7xSpecial 80 - The Battle of Demon's Run — Two Days Later
Doctor Who (2005) - 0xSpecial 81 - National Television Awards Sketch 2011
Doctor Who (2005) - 7xSpecial 82 - The Night of the Doctor
Doctor Who (2005) - 7xSpecial 83 - The Day of the Doctor
Doctor Who (2005) - 7xSpecial 84 - The Time of the Doctor
Doctor Who (2005) - 7xSpecial 85 - She Said, He Said (The Name of the Doctor Prequel)
Doctor Who (2005) - 7xSpecial 86 - Clarence and the Whispermen (The Name of the Doctor Prequel)
Doctor Who (2005) - 0xSpecial 87 - Doctor Who Live: The Next Doctor
Doctor Who (2005) - 0xSpecial 88 - Doctor Who at the Proms (2013)
Doctor Who (2005) - 7xSpecial 89 - The Companions
Doctor Who (2005) - 0xSpecial 90 - The Science of Doctor Who (2013)
Doctor Who (2005) - 0xSpecial 91 - The Ultimate Guide (2013)
Doctor Who (2005) - 0xSpecial 92 - The Afterparty
Doctor Who (2005) - 7xSpecial 93 - The Last Day
Doctor Who (2005) - 0xSpecial 94 - Doctor Who Explained
Doctor Who (2005) - 0xSpecial 95 - The Five(ish) Doctors Reboot
Doctor Who (2005) - 0xSpecial 96 - The Day of the Doctor: Behind the Lens
Doctor Who (2005) - 0xSpecial 97 - Tales from the TARDIS
Doctor Who (2005) - 7xSpecial 98 - Clara and the TARDIS
Doctor Who (2005) - 7xSpecial 99 - Rain Gods
Doctor Who (2005) - 7xSpecial 100 - The Inforarium
Doctor Who (2005) - 0xSpecial 101 - Farewell to Matt Smith
Doctor Who (2005) - 5xSpecial 102 - Tonight's the Night
Doctor Who (2005) - 0xSpecial 103 - The Time of the Doctor: Behind the Lens
Doctor Who (2005) - 0xSpecial 104 - The Doctors Revisited: The First Doctor
Doctor Who (2005) - 0xSpecial 105 - The Doctors Revisited: The Second Doctor
Doctor Who (2005) - 0xSpecial 106 - The Doctors Revisited: The Third Doctor
Doctor Who (2005) - 0xSpecial 107 - The Doctors Revisited: The Fourth Doctor
Doctor Who (2005) - 0xSpecial 108 - The Doctors Revisited: The Fifth Doctor
Doctor Who (2005) - 0xSpecial 109 - The Doctors Revisited: The Sixth Doctor
Doctor Who (2005) - 0xSpecial 110 - The Doctors Revisited: The Seventh Doctor
Doctor Who (2005) - 0xSpecial 111 - The Doctors Revisited: The Eighth Doctor
Doctor Who (2005) - 0xSpecial 112 - The Doctors Revisited: The Ninth Doctor
Doctor Who (2005) - 0xSpecial 113 - The Doctors Revisited: The Tenth Doctor
Doctor Who (2005) - 0xSpecial 114 - The Doctors Revisited: The Eleventh Doctor
Doctor Who (2005) - 0xSpecial 115 - Greatest Monsters and Villains (1) - The Judoon
Doctor Who (2005) - 0xSpecial 116 - Greatest Monsters and Villains (2) - The Silurian
Doctor Who (2005) - 0xSpecial 117 - Greatest Monsters and Villains (2) - The Ood
Doctor Who (2005) - 0xSpecial 118 - Greatest Monsters and Villains (4) - The Clockwork Droids
Doctor Who (2005) - 0xSpecial 119 - Greatest Monsters and Villains (5) - The Ice Warriors
Doctor Who (2005) - 0xSpecial 120 - Greatest Monsters and Villains (6) - The Cybermen
Doctor Who (2005) - 0xSpecial 121 - Greatest Monsters and Villains (7) - The Silence
Doctor Who (2005) - 0xSpecial 122 - Greatest Monsters and Villains (8) -  The Master
Doctor Who (2005) - 0xSpecial 123 - Greatest Monsters and Villains (9) -  The Weeping Angels
Doctor Who (2005) - 0xSpecial 124 - Greatest Monsters and Villains (10) - The Daleks
Doctor Who (2005) - 0xSpecial 125 - The Ultimate Companion
Doctor Who (2005) - 0xSpecial 126 - The Ultimate Time Lord
Doctor Who (2005) - 8xSpecial 127 - Earth Conquest (The World Tour)
Doctor Who (2005) - 8xSpecial 128 - Live Preshow
Doctor Who (2005) - 8xSpecial 129 - After Who Live
Doctor Who (2005) - 8xSpecial 130 - Doctor Who Extra: Deep Breath
Doctor Who (2005) - 8xSpecial 131 - Doctor Who Extra: Into the Dalek
Doctor Who (2005) - 8xSpecial 132 - Doctor Who Extra: Robot of Sherwood
Doctor Who (2005) - 8xSpecial 133 - Doctor Who Extra: Listen
Doctor Who (2005) - 8xSpecial 134 - Doctor Who Extra: Time Heist
Doctor Who (2005) - 8xSpecial 135 - Doctor Who Extra: The Caretaker
Doctor Who (2005) - 8xSpecial 136 - Doctor Who Extra: Kill the Moon
Doctor Who (2005) - 8xSpecial 137 - Doctor Who Extra: Mummy on the Orient Express
Doctor Who (2005) - 8xSpecial 138 - Doctor Who Extra: Flatline
Doctor Who (2005) - 8xSpecial 139 - Doctor Who Extra: The Forest of the Night
Doctor Who (2005) - 8xSpecial 140 - Doctor Who Extra: Dark Water
Doctor Who (2005) - 0xSpecial 141 - Doctor Who Extra: Death in Heaven
Doctor Who (2005) - 8xSpecial 142 - Last Christmas
Doctor Who (2005) - 8xSpecial 143 - Doctor Who Extra: Last Christmas
Doctor Who (2005) - 9xSpecial 144 - Doctor Who Extra: The Husbands of River Song
Doctor Who (2005) - 8xSpecial 145 - Deep Breath Prequel
Doctor Who (2005) - 9xSpecial 146 - Prologue
Doctor Who (2005) - 9xSpecial 147 - The Doctor's Meditation
Doctor Who (2005) - 9xSpecial 148 - The Husbands of River Song
----- 
Apply Filter: {age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) || !readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/excludes.txt').contains(n)}
Include [The Librarians (2014) - 1x01 - And the Crown of King Arthur (1)]
Include [The Librarians (2014) - 1x02 - And the Sword in the Stone (2)]
Include [The Librarians (2014) - 1x03 - And the Horns of a Dilemma]
Include [The Librarians (2014) - 1x04 - And Santa's Midnight Run]
Include [The Librarians (2014) - 1x05 - And the Apple of Discord]
Include [The Librarians (2014) - 1x06 - And the Fables of Doom]
Include [The Librarians (2014) - 1x07 - And the Rule of Three]
Include [The Librarians (2014) - 1x08 - And the Heart of Darkness]
Include [The Librarians (2014) - 1x09 - And the City of Light]
Include [The Librarians (2014) - 1x10 - And the Loom of Fate]
Include [The Librarians (2014) - 2x01 - And the Drowned Book (1)]
Include [The Librarians (2014) - 2x02 - And the Broken Staff (2)]
Include [The Librarians (2014) - 2x03 - And What Lies Beneath the Stones]
Include [The Librarians (2014) - 2x04 - And the Cost of Education]
Include [The Librarians (2014) - 2x05 - And the Hollow Men]
Include [The Librarians (2014) - 2x06 - And the Infernal Contract]
Include [The Librarians (2014) - 2x07 - And the Image of Image]
Include [The Librarians (2014) - 2x08 - And the Point of Salvation]
Include [The Librarians (2014) - 2x09 - And the Happily Ever Afters]
Include [The Librarians (2014) - 2x10 - And the Final Curtain]
Include [The Librarians (2014) - 3x01 - And the Rise of Chaos]
Include [The Librarians (2014) - 3x02 - And the Fangs of Death]
Include [The Librarians (2014) - 3x03 - And the Reunion of Evil]
Include [The Librarians (2014) - 3x04 - And the Self-Fulfilling Prophecy]
Include [The Librarians (2014) - 3x05 - And the Tears of a Clown]
The Librarians (2014) - 1x01 - And the Crown of King Arthur (1)
The Librarians (2014) - 1x02 - And the Sword in the Stone (2)
The Librarians (2014) - 1x03 - And the Horns of a Dilemma
The Librarians (2014) - 1x04 - And Santa's Midnight Run
The Librarians (2014) - 1x05 - And the Apple of Discord
The Librarians (2014) - 1x06 - And the Fables of Doom
The Librarians (2014) - 1x07 - And the Rule of Three
The Librarians (2014) - 1x08 - And the Heart of Darkness
The Librarians (2014) - 1x09 - And the City of Light
The Librarians (2014) - 1x10 - And the Loom of Fate
The Librarians (2014) - 2x01 - And the Drowned Book (1)
The Librarians (2014) - 2x02 - And the Broken Staff (2)
The Librarians (2014) - 2x03 - And What Lies Beneath the Stones
The Librarians (2014) - 2x04 - And the Cost of Education
The Librarians (2014) - 2x05 - And the Hollow Men
The Librarians (2014) - 2x06 - And the Infernal Contract
The Librarians (2014) - 2x07 - And the Image of Image
The Librarians (2014) - 2x08 - And the Point of Salvation
The Librarians (2014) - 2x09 - And the Happily Ever Afters
The Librarians (2014) - 2x10 - And the Final Curtain
The Librarians (2014) - 3x01 - And the Rise of Chaos
The Librarians (2014) - 3x02 - And the Fangs of Death
The Librarians (2014) - 3x03 - And the Reunion of Evil
The Librarians (2014) - 3x04 - And the Self-Fulfilling Prophecy
The Librarians (2014) - 3x05 - And the Tears of a Clown
excluding The Librarians & Doctor Who from the list [which would of been included if not for the exclude list], but keeping The Librarians (2014) & Doctor Who (2005).
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

rednoah wrote:if you get no output. It means you're using the GUI executable.
Yea I found out it's through the Filebot.cmd I have to do it to get the output in CLI since I use the portable version.. but anyways, as I stated above doing the command through cmd or a seperate .bat file running

Code: Select all

filebot -list --q "Doctor Who|Doctor Who 2005" --filter @/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/filter.txt
it does exclude Doctor Who but keep Doctor Who 2005... but running it all through my main .bat file

Code: Select all

@ECHO OFF

:: Media file processing script for Filebot
:: This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations.
:: It will run the filebot amc.groovy script against these files and output them into user defined locations.
:: CLI Stuff http://www.filebot.net/cli.html

:: Qbittorrent Call ---
:: "C:\Users\JourneyOver\Dropbox\Public\Folders\Filebot\MyStuff\Filebot_Process.bat" %N %F

:: Set up some logging
set LOGDIR=C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/logs

:: Base destinations to move files, no trailing slash. The subfolder is defined in the format string.
set DESTINATION=D:/Shows

:: Passing Args from Qbittorrent
set TORRENT_NAME="%1"
set TORRENT_PATH="%2"
::set TORRENT_LABEL="%3"

:: Rename action i.e: move | copy | keeplink | symlink | hardlink
set ACTION=move

:: Conflict resolution i.e: override | skip | fail
set CONFLICT=override

:: Episode filtering
set FILTERPATH=@/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/Filter.txt

:: Process music files
set MUSIC=false

:: Download subtitles for the given languages i.e: en | de | fr
set SUBTITLES=en

:: Fetch artwork/nfo
set ARTWORK=false

:: Generate *.url files and fetch all available backdrops
set EXTRAS=false

:: Tell the given Kodi/XBMC instance to rescan it's library
::Set KODI=host[:port]

:: Tell the given Plex instance to rescan it's library. Plex Home instances require an authentication token
::set PLEX=localhost:

:: Tell the given Emby instance to rescan it's library
::set EMBY=host:apikey

:: Save reports to local filesystem
set STOREREPORT=false

:: Do not extract archives
set SKIPEXTRACT=false

:: Automatically remove empty folders and clutter files that may be left behind after moving the video files, or temporary extracted files after copying
set CLEAN=true

:: Delete archives after extraction
set DELETEAFTEREXTRACT=true

:: Format path and strings for filebot, please see: http://www.filebot.net/naming.html
set FORMATPATH=@/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/Formatting.txt

:: Run filebot script
filebot -script fn:amc ^
					--output "%DESTINATION%" ^
					--log-file "%LOGDIR%/filebot-amc.log" ^
					--action %ACTION% ^
					--conflict %CONFLICT% ^
					-non-strict ^
					-no-xattr ^
					--filter ^
					%FILTERPATH% ^
					--def ^
					ut_dir=%TORRENT_PATH% ^
					ut_kind=multi ^
					ut_title=%TORRENT_NAME% ^
					excludeList="%LOGDIR%/filebot-history.log" ^
					music=%MUSIC% ^
					subtitles=%SUBTITLES% ^
					artwork=%ARTWORK% ^
					extras=%EXTRAS% ^
					storeReport=%STOREREPORT% ^
					skipExtract=%SKIPEXTRACT% ^
					clean=%CLEAN% ^
					deleteAfterExtract=%DELETEAFTEREXTRACT% ^
					--def ^
					%FORMATPATH%
it doesn't work.. I really can't find out the exact reasoning behind it sadly either :/
Last edited by ZeroByDivide on 11 May 2018, 21:15, edited 1 time in total.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

God idk anymore... I feel like giving up on this... it's stressing me out so much on top of the stress I have already daily.. I just can't do this anymore, no one ever seems to really ever be able to help... everything I have tried recently just seems to not work at all and I hate it so much..

even the above couple posts I did was stupid because even just doing

Code: Select all

filebot.cmd -list --q "Doctor Who|Doctor Who 2005"
alone produces this

Code: Select all

Doctor Who (2005) - 1x01 - Rose
Doctor Who (2005) - 1x02 - The End of the World
Doctor Who (2005) - 1x03 - The Unquiet Dead
Doctor Who (2005) - 1x04 - Aliens of London (1)
Doctor Who (2005) - 1x05 - World War Three (2)
Doctor Who (2005) - 1x06 - Dalek
Doctor Who (2005) - 1x07 - The Long Game
Doctor Who (2005) - 1x08 - Father's Day
Doctor Who (2005) - 1x09 - The Empty Child (1)
Doctor Who (2005) - 1x10 - The Doctor Dances (2)
Doctor Who (2005) - 1x11 - Boom Town
Doctor Who (2005) - 1x12 - Bad Wolf (1)
Doctor Who (2005) - 1x13 - The Parting of the Ways (2)
Doctor Who (2005) - 2x01 - New Earth
Doctor Who (2005) - 2x02 - Tooth and Claw
Doctor Who (2005) - 2x03 - School Reunion
Doctor Who (2005) - 2x04 - The Girl in the Fireplace
Doctor Who (2005) - 2x05 - Rise of the Cybermen (1)
Doctor Who (2005) - 2x06 - The Age of Steel (2)
Doctor Who (2005) - 2x07 - The Idiot's Lantern
Doctor Who (2005) - 2x08 - The Impossible Planet (1)
Doctor Who (2005) - 2x09 - The Satan Pit (2)
Doctor Who (2005) - 2x10 - Love and Monsters
Doctor Who (2005) - 2x11 - Fear Her
Doctor Who (2005) - 2x12 - Army of Ghosts (1)
Doctor Who (2005) - 2x13 - Doomsday (2)
Doctor Who (2005) - 3x01 - Smith and Jones
Doctor Who (2005) - 3x02 - The Shakespeare Code
Doctor Who (2005) - 3x03 - Gridlock
Doctor Who (2005) - 3x04 - Daleks in Manhattan (1)
Doctor Who (2005) - 3x05 - Evolution of the Daleks (2)
Doctor Who (2005) - 3x06 - The Lazarus Experiment
Doctor Who (2005) - 3x07 - 42
Doctor Who (2005) - 3x08 - Human Nature (1)
Doctor Who (2005) - 3x09 - The Family of Blood (2)
Doctor Who (2005) - 3x10 - Blink
Doctor Who (2005) - 3x11 - Utopia (1)
Doctor Who (2005) - 3x12 - The Sound of Drums (2)
Doctor Who (2005) - 3x13 - Last of the Time Lords (3)
Doctor Who (2005) - 4x01 - Partners in Crime
Doctor Who (2005) - 4x02 - The Fires of Pompeii
Doctor Who (2005) - 4x03 - Planet of the Ood
Doctor Who (2005) - 4x04 - The Sontaran Stratagem (1)
Doctor Who (2005) - 4x05 - The Poison Sky (2)
Doctor Who (2005) - 4x06 - The Doctor's Daughter
Doctor Who (2005) - 4x07 - The Unicorn and the Wasp
Doctor Who (2005) - 4x08 - Silence in the Library (1)
Doctor Who (2005) - 4x09 - Forest of the Dead (2)
Doctor Who (2005) - 4x10 - Midnight
Doctor Who (2005) - 4x11 - Turn Left
Doctor Who (2005) - 4x12 - The Stolen Earth (1)
Doctor Who (2005) - 4x13 - Journey's End (2)
Doctor Who (2005) - 5x01 - The Eleventh Hour
Doctor Who (2005) - 5x02 - The Beast Below
Doctor Who (2005) - 5x03 - Victory of the Daleks
Doctor Who (2005) - 5x04 - The Time of Angels (1)
Doctor Who (2005) - 5x05 - Flesh and Stone (2)
Doctor Who (2005) - 5x06 - The Vampires of Venice
Doctor Who (2005) - 5x07 - Amy's Choice
Doctor Who (2005) - 5x08 - The Hungry Earth (1)
Doctor Who (2005) - 5x09 - Cold Blood (2)
Doctor Who (2005) - 5x10 - Vincent and the Doctor
Doctor Who (2005) - 5x11 - The Lodger
Doctor Who (2005) - 5x12 - The Pandorica Opens (1)
Doctor Who (2005) - 5x13 - The Big Bang (2)
Doctor Who (2005) - 6x01 - The Impossible Astronaut (1)
Doctor Who (2005) - 6x02 - Day of the Moon (2)
Doctor Who (2005) - 6x03 - The Curse of the Black Spot
Doctor Who (2005) - 6x04 - The Doctor's Wife
Doctor Who (2005) - 6x05 - The Rebel Flesh (1)
Doctor Who (2005) - 6x06 - The Almost People (2)
Doctor Who (2005) - 6x07 - A Good Man Goes to War (1)
Doctor Who (2005) - 6x08 - Let's Kill Hitler (2)
Doctor Who (2005) - 6x09 - Night Terrors
Doctor Who (2005) - 6x10 - The Girl Who Waited
Doctor Who (2005) - 6x11 - The God Complex
Doctor Who (2005) - 6x12 - Closing Time
Doctor Who (2005) - 6x13 - The Wedding of River Song
Doctor Who (2005) - 7x01 - Asylum of the Daleks
Doctor Who (2005) - 7x02 - Dinosaurs on a Spaceship
Doctor Who (2005) - 7x03 - A Town Called Mercy
Doctor Who (2005) - 7x04 - The Power of Three
Doctor Who (2005) - 7x05 - The Angels Take Manhattan
Doctor Who (2005) - 7x06 - The Bells of St John
Doctor Who (2005) - 7x07 - The Rings of Akhaten
Doctor Who (2005) - 7x08 - Cold War
Doctor Who (2005) - 7x09 - Hide
Doctor Who (2005) - 7x10 - Journey to the Centre of the TARDIS
Doctor Who (2005) - 7x11 - The Crimson Horror
Doctor Who (2005) - 7x12 - Nightmare in Silver
Doctor Who (2005) - 7x13 - The Name of the Doctor
Doctor Who (2005) - 8x01 - Deep Breath
Doctor Who (2005) - 8x02 - Into the Dalek
Doctor Who (2005) - 8x03 - Robot of Sherwood
Doctor Who (2005) - 8x04 - Listen
Doctor Who (2005) - 8x05 - Time Heist
Doctor Who (2005) - 8x06 - The Caretaker
Doctor Who (2005) - 8x07 - Kill the Moon
Doctor Who (2005) - 8x08 - Mummy on the Orient Express
Doctor Who (2005) - 8x09 - Flatline
Doctor Who (2005) - 8x10 - In the Forest of the Night
Doctor Who (2005) - 8x11 - Dark Water
Doctor Who (2005) - 8x12 - Death In Heaven
Doctor Who (2005) - 9x01 - The Magician's Apprentice (1)
Doctor Who (2005) - 9x02 - The Witch's Familiar (2)
Doctor Who (2005) - 9x03 - Under The Lake (1)
Doctor Who (2005) - 9x04 - Before The Flood (2)
Doctor Who (2005) - 9x05 - The Girl Who Died (1)
Doctor Who (2005) - 9x06 - The Woman Who Lived (2)
Doctor Who (2005) - 9x07 - The Zygon Invasion (1)
Doctor Who (2005) - 9x08 - The Zygon Inversion (2)
Doctor Who (2005) - 9x09 - Sleep No More
Doctor Who (2005) - 9x10 - Face The Raven
Doctor Who (2005) - 9x11 - Heaven Sent (1)
Doctor Who (2005) - 9x12 - Hell Bent (2)
Doctor Who (2005) - 10x01 - A Star in Her Eye
Doctor Who (2005) - 1xSpecial 1 - Children in Need: Born Again
Doctor Who (2005) - 1xSpecial 2 - The Christmas Invasion
Doctor Who (2005) - 1xSpecial 3 - The Attack of the Graske
Doctor Who (2005) - 2xSpecial 4 - The Runaway Bride
Doctor Who (2005) - 3xSpecial 5 - The Infinite Quest
Doctor Who (2005) - 3xSpecial 6 - Children in Need: Time Crash
Doctor Who (2005) - 3xSpecial 7 - Voyage of the Damned
Doctor Who (2005) - 0xSpecial 8 - Proms Special: Music of the Spheres
Doctor Who (2005) - 4xSpecial 9 - The Next Doctor
Doctor Who (2005) - 0xSpecial 10 - Christmas Moments
Doctor Who (2005) - 0xSpecial 11 - Doctor Who at the Proms
Doctor Who (2005) - 0xSpecial 12 - Proms Special: Behind The Scenes
Doctor Who (2005) - 4xSpecial 13 - Planet of the Dead
Doctor Who (2005) - 4xSpecial 14 - The Waters of Mars
Doctor Who (2005) - 0xSpecial 15 - Dreamland
Doctor Who (2005) - 4xSpecial 16 - The End of Time (1)
Doctor Who (2005) - 4xSpecial 17 - The End of Time (2)
Doctor Who (2005) - 5xSpecial 18 - The Ultimate Guide
Doctor Who (2005) - 2xSpecial 19 - Tardisode 01: New Earth
Doctor Who (2005) - 2xSpecial 20 - Tardisode 02: Tooth And Claw
Doctor Who (2005) - 2xSpecial 21 - Tardisode 03: School Reunion
Doctor Who (2005) - 2xSpecial 22 - Tardisode 04: The Girl In The Fireplace
Doctor Who (2005) - 2xSpecial 23 - Tardisode 05: Rise of the Cybermen
Doctor Who (2005) - 2xSpecial 24 - Tardisode 06: The Age Of Steel
Doctor Who (2005) - 2xSpecial 25 - Tardisode 07: The Idiot's Lantern
Doctor Who (2005) - 2xSpecial 26 - Tardisode 08: The Impossible Planet
Doctor Who (2005) - 2xSpecial 27 - Tardisode 09: The Satan Pit
Doctor Who (2005) - 2xSpecial 28 - Tardisode 10: Love And Monsters
Doctor Who (2005) - 2xSpecial 29 - Tardisode 11: Fear Her
Doctor Who (2005) - 2xSpecial 30 - Tardisode 12: Army of Ghosts
Doctor Who (2005) - 2xSpecial 31 - Tardisode 13: Doomsday
Doctor Who (2005) - 0xSpecial 32 - Doctor Who at the Proms (2010)
Doctor Who (2005) - 0xSpecial 33 - Children in Need: A TARDIS Tea Party
Doctor Who (2005) - 5xSpecial 34 - A Christmas Carol
Doctor Who (2005) - 6xSpecial 35 - Space (1)
Doctor Who (2005) - 6xSpecial 36 - Time (2)
Doctor Who (2005) - 6xSpecial 37 - Best of the Doctor
Doctor Who (2005) - 0xSpecial 38 - Death is the Only Answer
Doctor Who (2005) - 6xSpecial 39 - Best of the Monsters
Doctor Who (2005) - 6xSpecial 40 - Best of the Companions
Doctor Who (2005) - 3xSpecial 41 - Doctor Who: A Celebration Concert
Doctor Who (2005) - 6xSpecial 42 - The Impossible Astronaut Prequel
Doctor Who (2005) - 6xSpecial 43 - The Curse of the Black Spot Prequel
Doctor Who (2005) - 6xSpecial 44 - A Good Man Goes to War Prequel
Doctor Who (2005) - 6xSpecial 45 - Let's Kill Hitler Prequel
Doctor Who (2005) - 6xSpecial 46 - The Wedding of River Song Prequel
Doctor Who (2005) - 6xSpecial 47 - The Doctor, the Widow and the Wardrobe
Doctor Who (2005) - 0xSpecial 48 - Children in Need: The Doctor's Clothes
Doctor Who (2005) - 0xSpecial 49 - Best of the Christmas Specials
Doctor Who (2005) - 0xSpecial 50 - The Doctor, the Widow and the Wardrobe Prequel
Doctor Who (2005) - 6xSpecial 51 - Bad Night
Doctor Who (2005) - 6xSpecial 52 - Good Night
Doctor Who (2005) - 6xSpecial 53 - First Night
Doctor Who (2005) - 6xSpecial 54 - Last Night
Doctor Who (2005) - 6xSpecial 55 - Up All Night
Doctor Who (2005) - 7xSpecial 56 - Good as Gold
Doctor Who (2005) - 7xSpecial 57 - The Science of Doctor Who
Doctor Who (2005) - 7xSpecial 58 - The Women of Doctor Who
Doctor Who (2005) - 7xSpecial 59 - The Timey-Wimey of Doctor Who
Doctor Who (2005) - 7xSpecial 60 - The Destinations of Doctor Who
Doctor Who (2005) - 7xSpecial 61 - Pond Life (1): April
Doctor Who (2005) - 7xSpecial 62 - Pond Life (2): May
Doctor Who (2005) - 7xSpecial 63 - Pond Life (3): June
Doctor Who (2005) - 7xSpecial 64 - Pond Life (4): July
Doctor Who (2005) - 7xSpecial 65 - Pond Life (5): August
Doctor Who (2005) - 7xSpecial 66 - The Snowmen
Doctor Who (2005) - 5xSpecial 67 - Meanwhile in the TARDIS (1)
Doctor Who (2005) - 5xSpecial 68 - Meanwhile in the TARDIS (2)
Doctor Who (2005) - 7xSpecial 69 - Asylum of the Daleks Prequel
Doctor Who (2005) - 7xSpecial 70 - The Making of the Gunslinger (A Town Called Mercy Prequel)
Doctor Who (2005) - 7xSpecial 71 - The Last Day of the Ponds
Doctor Who (2005) - 6xSpecial 72 - Doctor Who in America
Doctor Who (2005) - 7xSpecial 73 - Doctor Who in the U.S.
Doctor Who (2005) - 7xSpecial 74 - Children in Need: The Great Detective
Doctor Who (2005) - 7xSpecial 75 - Doctor Who: P.S.
Doctor Who (2005) - 6xSpecial 76 - Doctor Who: Rewind - Trust your Doctor
Doctor Who (2005) - 7xSpecial 77 - Vastra Investigates: A Christmas Prequel
Doctor Who (2005) - 0xSpecial 78 - An Adventure in Space and Time
Doctor Who (2005) - 7xSpecial 79 - The Bells of Saint John: A Prequel
Doctor Who (2005) - 7xSpecial 80 - The Battle of Demon's Run ? Two Days Later
Doctor Who (2005) - 0xSpecial 81 - National Television Awards Sketch 2011
Doctor Who (2005) - 7xSpecial 82 - The Night of the Doctor
Doctor Who (2005) - 7xSpecial 83 - The Day of the Doctor
Doctor Who (2005) - 7xSpecial 84 - The Time of the Doctor
Doctor Who (2005) - 7xSpecial 85 - She Said, He Said (The Name of the Doctor Prequel)
Doctor Who (2005) - 7xSpecial 86 - Clarence and the Whispermen (The Name of the Doctor Prequel)
Doctor Who (2005) - 0xSpecial 87 - Doctor Who Live: The Next Doctor
Doctor Who (2005) - 0xSpecial 88 - Doctor Who at the Proms (2013)
Doctor Who (2005) - 7xSpecial 89 - The Companions
Doctor Who (2005) - 0xSpecial 90 - The Science of Doctor Who (2013)
Doctor Who (2005) - 0xSpecial 91 - The Ultimate Guide (2013)
Doctor Who (2005) - 0xSpecial 92 - The Afterparty
Doctor Who (2005) - 7xSpecial 93 - The Last Day
Doctor Who (2005) - 0xSpecial 94 - Doctor Who Explained
Doctor Who (2005) - 0xSpecial 95 - The Five(ish) Doctors Reboot
Doctor Who (2005) - 0xSpecial 96 - The Day of the Doctor: Behind the Lens
Doctor Who (2005) - 0xSpecial 97 - Tales from the TARDIS
Doctor Who (2005) - 7xSpecial 98 - Clara and the TARDIS
Doctor Who (2005) - 7xSpecial 99 - Rain Gods
Doctor Who (2005) - 7xSpecial 100 - The Inforarium
Doctor Who (2005) - 0xSpecial 101 - Farewell to Matt Smith
Doctor Who (2005) - 5xSpecial 102 - Tonight's the Night
Doctor Who (2005) - 0xSpecial 103 - The Time of the Doctor: Behind the Lens
Doctor Who (2005) - 0xSpecial 104 - The Doctors Revisited: The First Doctor
Doctor Who (2005) - 0xSpecial 105 - The Doctors Revisited: The Second Doctor
Doctor Who (2005) - 0xSpecial 106 - The Doctors Revisited: The Third Doctor
Doctor Who (2005) - 0xSpecial 107 - The Doctors Revisited: The Fourth Doctor
Doctor Who (2005) - 0xSpecial 108 - The Doctors Revisited: The Fifth Doctor
Doctor Who (2005) - 0xSpecial 109 - The Doctors Revisited: The Sixth Doctor
Doctor Who (2005) - 0xSpecial 110 - The Doctors Revisited: The Seventh Doctor
Doctor Who (2005) - 0xSpecial 111 - The Doctors Revisited: The Eighth Doctor
Doctor Who (2005) - 0xSpecial 112 - The Doctors Revisited: The Ninth Doctor
Doctor Who (2005) - 0xSpecial 113 - The Doctors Revisited: The Tenth Doctor
Doctor Who (2005) - 0xSpecial 114 - The Doctors Revisited: The Eleventh Doctor
Doctor Who (2005) - 0xSpecial 115 - Greatest Monsters and Villains (1) - The Judoon
Doctor Who (2005) - 0xSpecial 116 - Greatest Monsters and Villains (2) - The Silurian
Doctor Who (2005) - 0xSpecial 117 - Greatest Monsters and Villains (2) - The Ood
Doctor Who (2005) - 0xSpecial 118 - Greatest Monsters and Villains (4) - The Clockwork Droids
Doctor Who (2005) - 0xSpecial 119 - Greatest Monsters and Villains (5) - The Ice Warriors
Doctor Who (2005) - 0xSpecial 120 - Greatest Monsters and Villains (6) - The Cybermen
Doctor Who (2005) - 0xSpecial 121 - Greatest Monsters and Villains (7) - The Silence
Doctor Who (2005) - 0xSpecial 122 - Greatest Monsters and Villains (8) -  The Master
Doctor Who (2005) - 0xSpecial 123 - Greatest Monsters and Villains (9) -  The Weeping Angels
Doctor Who (2005) - 0xSpecial 124 - Greatest Monsters and Villains (10) - The Daleks
Doctor Who (2005) - 0xSpecial 125 - The Ultimate Companion
Doctor Who (2005) - 0xSpecial 126 - The Ultimate Time Lord
Doctor Who (2005) - 8xSpecial 127 - Earth Conquest (The World Tour)
Doctor Who (2005) - 8xSpecial 128 - Live Preshow
Doctor Who (2005) - 8xSpecial 129 - After Who Live
Doctor Who (2005) - 8xSpecial 130 - Doctor Who Extra: Deep Breath
Doctor Who (2005) - 8xSpecial 131 - Doctor Who Extra: Into the Dalek
Doctor Who (2005) - 8xSpecial 132 - Doctor Who Extra: Robot of Sherwood
Doctor Who (2005) - 8xSpecial 133 - Doctor Who Extra: Listen
Doctor Who (2005) - 8xSpecial 134 - Doctor Who Extra: Time Heist
Doctor Who (2005) - 8xSpecial 135 - Doctor Who Extra: The Caretaker
Doctor Who (2005) - 8xSpecial 136 - Doctor Who Extra: Kill the Moon
Doctor Who (2005) - 8xSpecial 137 - Doctor Who Extra: Mummy on the Orient Express
Doctor Who (2005) - 8xSpecial 138 - Doctor Who Extra: Flatline
Doctor Who (2005) - 8xSpecial 139 - Doctor Who Extra: The Forest of the Night
Doctor Who (2005) - 8xSpecial 140 - Doctor Who Extra: Dark Water
Doctor Who (2005) - 0xSpecial 141 - Doctor Who Extra: Death in Heaven
Doctor Who (2005) - 8xSpecial 142 - Last Christmas
Doctor Who (2005) - 8xSpecial 143 - Doctor Who Extra: Last Christmas
Doctor Who (2005) - 9xSpecial 144 - Doctor Who Extra: The Husbands of River Song
Doctor Who (2005) - 8xSpecial 145 - Deep Breath Prequel
Doctor Who (2005) - 9xSpecial 146 - Prologue
Doctor Who (2005) - 9xSpecial 147 - The Doctor's Meditation
Doctor Who (2005) - 9xSpecial 148 - The Husbands of River Song
Doctor Who (2005) - 9xSpecial 149 - The Return of Doctor Mysterio
which doesn't have any "Doctor Who" either, even though that command isn't running a filter at all...
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

1.
--q is the search query. You can't pass in multiple queries.


2.
If your --filter fails at runtime (i.e. throws an exception rather than returning a value) then it'll be the same as --filter false meaning that the given episode will not be included and not be considered for matching.


3.
Prototyping expressions without instant as-you-type feedback is a waste of time, especially if you're doing it for the first time.

The most efficient way of develping --filter expressions would probably look something like this:
Image
Episodes ➔ Fetch episode list for series ➔ Send To ➔ List
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

1. Okay well I really didn't know, seeing as how there is really no documentation about "--q" really anywhere and I gave google and the filebot forums a good search trying to figure things out...

2. I really don't know if it's failing or not as I can't really tell.. if I download American Dad, this filter

Code: Select all

age < 30 || !(defines.ut_title =~ /(?i)American.Dad/)
works correctly and only gets the episodes for the last 30 days for american dad and if I download any other show it'll pull all episode data like how I'm wanting, it's only this bit

Code: Select all

!readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/exclude.txt').contains(n)
that is not working correctly for some odd reason...

Hell I even broke down and tried out the old method of just doing this in qbittorrent

Code: Select all

filebot -script fn:amc --output D:/Shows --log-file "C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/logs/filebot-amc.log" --action move --conflict override -non-strict -no-xattr --filter @/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/filter.txt --def "ut_dir=%N" "ut_kind=multi" "ut_title=%F" excludeList="C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/logs/filebot-history.log" music=n subtitles=en artwork=n extras=n storeReport=n skipExtract=n clean=y deleteAfterExtract=y --def @/C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/Formatting.txt
instead of having qbittorrent call out to a .bat script that runs everything and it was having the same problem.. so idk why my filter.txt file isn't able to see the path for my exclude.txt correctly because I know I'm pushing the correct txt files and and I don't edit anything in normal notepad, only use notepad++ or Atom so there is no BOM marker that ends up breaking anything, unless I'm doing my exclude.txt list all wrong... this is what my exclude.txt looks like to begin with -- Image and my current filter.txt file as well if you want to take a look -- Image

3. I tried doing the same setup you had in your picture but it just produces an error in the list and I went through episodes, searched for Firefly and then sent it to the list and then typed it out -- Image
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

Random typing and testing will not get you very far. Have you tried to systematically narrow down the problem?


1. Confirm that readline is working:

Code: Select all

$ filebot -list --db TheTVDB --q "Firefly" --format "{readLines('/Users/reinhard/names.txt')}"
[Firefly, Doctor Who]
...

2. Confirm that List.contains() is working:

Code: Select all

filebot -list --db TheTVDB --q "Firefly" --format "{['Firefly'].contains(n)}"
true
...

3. Confirm that it works when you put it together:

Code: Select all

$ filebot -list --db TheTVDB --q "Firefly" --format "{readLines('/Users/reinhard/names.txt').contains(n)}"
true
...

4. Confirm that the same thing works as filter:

Code: Select all

$ filebot -list --db TheTVDB --q "Firefly" --filter "readLines('/Users/reinhard/names.txt').contains(n)"
Apply Filter: {readLines('/Users/reinhard/names.txt').contains(n)}
Include [Firefly - 1x01 - The Train Job]
...
Firefly - 1x01 - The Train Job
...
Positive test case: Check.


5. Confirm that the filter works as expected for all relevant cases:

Code: Select all

$ filebot -list --db TheTVDB --q "Game of Thrones" --filter "readLines('/Users/reinhard/names.txt').contains(n)"
Apply Filter: {readLines('/Users/reinhard/names.txt').contains(n)}
No output, all episodes have been filtered out. Negative test case: Check.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

1.

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --format "{readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/exclude.txt')}"
produces Image it repeats the list like a ton O_o is it supposed to do that??

2.

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --format "{['Doctor Who'].contains(n)}"
produces Image and again it repeats the word "true" a bunch of times.

3.

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --format "{readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/exclude.txt').contains(n)}"
produces Image repeating "true" again a bunch of times.

4.

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --filter "readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/exclude.txt').contains(n)"
produces Image can't produce full list because of the fact that can't scroll further up.

5.

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who 2005" --filter "readLines('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/exclude.txt').contains(n)"
produces Image no episode data..

so this confirms that it is should be working correctly, by its self at least.. but this is actually leading me to believe that the way I'm wanting to do things the whole readLines thing is not what I'm wanting...

I'm wanting it to filter out Doctor Who completely but keep Doctor Who 2005....wanting to filter out The Librarians completely but keep The Librarians 2014 which seems to not be what the whole readLines exclude list is actually going to do..

does

Code: Select all

--filter "n != /Doctor Who/"
support multiple names like so

Code: Select all

--filter "n != /Doctor Who|The Librarians/"
?

edit: so I got this to work

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --filter "age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && n != /Doctor Who/"
correctly in that it'll filter out Doctor Who but keep Doctor Who 2005... but doing something like

Code: Select all

filebot.cmd -list --db TheTVDB --q "Doctor Who" --filter "age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && n != /Doctor Who|The Librarians/"
doesn't seem to want to work, for each n filter I want I had to end up doing it like so

Code: Select all

filebot.cmd -list --db TheTVDB --q "The Librarians" --filter "age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && n != /Doctor Who/ && n != /The Librarians/"
is there anyway to condense that down to just one

Code: Select all

n !=
?
Last edited by ZeroByDivide on 21 Dec 2016, 04:22, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

So you're trying to say that you think that Doctor Who is the same as Doctor Who (2005)? No, it's not. It might as well be X and Y.

Try it yourself:

Code: Select all

{['Doctor Who'].contains('Doctor Who') ... true}

Code: Select all

{['Doctor Who'].contains('Doctor Who (2005)') ... false}

FYI:

readLines does nothing other than reading lines and giving you a List object, just like the List literal, so these two expressions will do exactly the same:

Code: Select all

def myList = ['Doctor Who']

Code: Select all

def myList = readLines('/path/to/file.txt')
What you then do with that list is up to you.


EDIT:

There are many ways to condense the code, but you shouldn't use code you don't understand. So keep it simple.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

rednoah wrote:So you're trying to say that you think that Doctor Who is the same as Doctor Who (2005)? No, it's not. It might as well be X and Y.

Try it yourself:

Code: Select all

{['Doctor Who'].contains('Doctor Who') ... true}

Code: Select all

{['Doctor Who'].contains('Doctor Who (2005)') ... false}

FYI:

readLines does nothing other than reading lines and giving you a List object, just like the List literal, so these two expressions will do exactly the same:

Code: Select all

def myList = ['Doctor Who']

Code: Select all

def myList = readLines('/path/to/file.txt')
What you then do with that list is up to you.
no that is not what I'm saying at all -.- I am wanting to exclude doctor who but keep doctor who 2005.. I am not saying that they are the same damn thing.. you are just getting my words mixed up...........
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

Code: Select all

'Doctor Who (2005)' in ['Doctor Who', 'The Librarians']
false ... as expected

Code: Select all

'Doctor Who' in ['Doctor Who', 'The Librarians']
true ... as expected

You can use the ! operator to flip the value:

Code: Select all

!('Doctor Who' in ['Doctor Who', 'The Librarians'])
false ... as expected

If the --filter results in false then the episode will be excluded. If the --filter results in true then the episode will be included.
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

rednoah wrote:So you're trying to say that you think that Doctor Who is the same as Doctor Who (2005)? No, it's not. It might as well be X and Y.

Try it yourself:

Code: Select all

{['Doctor Who'].contains('Doctor Who') ... true}

Code: Select all

{['Doctor Who'].contains('Doctor Who (2005)') ... false}

FYI:

readLines does nothing other than reading lines and giving you a List object, just like the List literal, so these two expressions will do exactly the same:

Code: Select all

def myList = ['Doctor Who']

Code: Select all

def myList = readLines('/path/to/file.txt')
What you then do with that list is up to you.


EDIT:

There are many ways to condense the code, but you shouldn't use code you don't understand. So keep it simple.
Only way to learn is to use it... honestly every time I come on here asking for help on some stuff, you always seem to come off so hostile about everything....
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

rednoah wrote:

Code: Select all

'Doctor Who (2005)' in ['Doctor Who', 'The Librarians']
false ... as expected

Code: Select all

'Doctor Who' in ['Doctor Who', 'The Librarians']
true ... as expected

You can use the ! operator to flip the value:

Code: Select all

!('Doctor Who' in ['Doctor Who', 'The Librarians'])
false ... as expected

If the --filter results in false then the episode will be excluded. If the --filter results in true then the episode will be included.
God this is just getting super annoying.. and honestly your really being not much help on this :/ gah why can't filebot just support two seperate --filters so this could be a whole lot easier to setup..
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

I'm not your personal computer science teacher. If you ask if you can use the != operator on two String objects that are not the same and expect true then I think you just didn't do your homework.

What you're trying to do is not difficult, but it's certainly an advanced feature, and depending on what you're doing, you will need to learn some basic Groovy.


If you ask a question specific to FileBot then I will be polite: viewtopic.php?f=5&t=4536

If you ask a question about basic Groovy programming for the n-th time then I will be less polite.


EDIT:


I see you're asking about logical operators. I shall kindly refer you to the documentation: http://docs.groovy-lang.org/next/html/d ... _operators
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

Never said you was, but you don't have to be so hostile about things either... I'm just trying to learn more filebot stuff since I wanted to clean up my script I've been using for the past couple years a bit..

anyways I'm just going to stick to doing

Code: Select all

"age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && n != /Doctor Who/ && n != /The Librarians/"
for now I guess, until I can get something better figured out..
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Combining filters & need some help :/

Post by rednoah »

I'd write the filter expression like this:

Code: Select all

"age < 7 || !(n in readLines('series-names.txt') || defines.ut_title =~ /(?i)American.Dad/)"
* The age < 7 filter works well because it limits the list of options to one single episode (for weekly shows) so you're essentially forcing the match to be the latest episode. If you do age < 30 then there'll be multiple options which is probably not much better than having multiple options due to not having an age filter at all.

* Despite having an age filter, you want to disable that age filter for certain shows, is what I think you're trying to do? For example the age < 30 || n != /Doctor Who/ part make no sense because it means the age filter is only enabled for Doctor Who but it doesn't make sense for Doctor Who since that one hasn't aired new episodes for 30+ years.


Somehow I have a feeling that your logic is a bit wonky and doesn't actually work.


If you want the age filter to ONLY be active for certain shows, it'd look like this:

Code: Select all

age < 7 || !(n in readLines('series-with-active-age-filter.txt')
If you want the age filter for ALL shows EXCEPT certain shows, then it'd look like this:

Code: Select all

age < 7 || n in readLines('series-exempt-from-age-filter.txt')


Instead of using an external list file, you can also use Groovy List literals or regular expressions.

Code: Select all

n ==~ /Doctor.Who|Doctor.No/

Code: Select all

n in ['Doctor Who', 'Doctor No']
:idea: Please read the FAQ and How to Request Help.
ZeroByDivide
Posts: 170
Joined: 16 Dec 2014, 01:39

Re: Combining filters & need some help :/

Post by ZeroByDivide »

Somehow I have a feeling that your logic is a bit wonky and doesn't actually work.
Actually the filter

Code: Select all

"age < 30 || !(defines.ut_title =~ /(?i)American.Dad/) && n != /Doctor Who/ && n != /The Librarians/"
works like so and these are just a few examples (that I had tested several times to make sure everything was working).

Example 1 -
I download American Dad, qBittorrent finishes download and starts my post processing script which has all my filebot stuff in it, filebot does its stuff and searches for episodes in the past 30 days and grabs the latest American Dad episode info no problem, renames it and then finishes up moving the file to the respected place I have setup with my formatting and cleans up afterwords.

Example 2 -
I download Doctor Who (2005) (or The Librarians (2014)) , qBittorrent finishes download and starts my post process script which has all my filebot stuff in it, filebot does it's stuff and searches for episodes and grabs every single episode info listed for Doctor Who (2005) (or The Librarians (2014)) but excludes Doctor Who (or The Librarians) from the search and it applies the correct episode data for the episode, and then finishes up moving the file to the respected place I have setup with my formatting and cleans up afterwords.

Example 3 -
I download say Westworld (the tv show) (or any other show not in the filter bit), qBittorrent finishes download and starts my post process script which has all my filebot stuff in it, filebot does it's stuff and searches for episodes and grabs every single episode info listed for the show and doesn't exclude any other show that was included in the search query and it applies the correct episode data for the episode, and then finishes up moving the file to the respected place I have setup with my formatting and cleans up afterwords.

For "examples 2 & 3" it doesn't apply the age filter at all when the filebot stuff is executed, but anyways I've actually set up a new filter this morning with a .csv list that is kinda setup like
If you want the age filter to ONLY be active for certain shows, it'd look like this:
but it'll ignore shows in some searches as well (like my example 2), that pretty much accomplishes what I was trying to do as well and it actually works unlike all my old attempts at trying things, so I can be safe to say that this thread is pretty much done now.

Filter looks like such

Code: Select all

--filter "csv('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/list.csv').get(n) != 'no' && (csv('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/list.csv').get(n) == 'age' && (age < 30) || (!model.any{ csv('C:/Users/JourneyOver/Dropbox/Public/Folders/Filebot/MyStuff/list.csv').get(it.n) == 'age' }))"
and then my CSV file looks like

Code: Select all

-BlackListFilter-;no

Doctor Who (2009);no
Doctor Who;no
Doctor-X;no
The Librarians;no
The Librarian;no

-AgeFilter-;no

American Dad!;age
So thanks for all the help (even when you did come off as a little hostile in a couple posts) ^^
Can't really do donations right now as I have no job and living with my parents currently, but once I get a job again I'll send a donation your way.
Post Reply