Need recommendations for watcher script replacement...

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Need recommendations for watcher script replacement...

Post by nzdreamer55 »

Hello everyone,

I see that the watcher script is depreciated

http://www.filebot.net/forums/viewtopic ... 4&t=5#p132

and I would like to run filebot amc script per the recommendations against a target folder. I don't use a local torrent client so cannot tie it in per the examples. I could set up a recurring scheduled task in windows, but don't want to over burden the servers that are used for filebot.




Any suggestions would be appreciated.

-S
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

Then you might wanna use the amc script in intervals. Just need to set --def excludeList correctly so it doesn't process stuff that has already been processed.
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

Thanks. So I see from the amc script I can include this

--def excludeList=amc-input.txt

Where is this txt file stored when run on windows machine?

Here is what I am using, but I keep getting e-mails every time it runs. I think it is processing the same files over and over.

Code: Select all

REM TV Renaming Filebot script
filebot -script fn:amc --def "seriesFormat=\\\\TITANSERVER/Series/{n}/{n} {episode.special ? 'Special' : 'Season '+s.pad(2)}/{n}.{s00e00}{'.'+[vf]}{'.'+[resolution]}{'.'+[vc]}{'.'+[ac]}{'.'+[af]}{'.'+[source]}{'.'+[group]}.{t}" --def "movieFormat=\\\\TITANSERVER/Movies/Movies/{n} ({y}) [{imdbid}]/{n} ({y}) [{imdbid}]{'.'+[vf]}{'.'+[resolution]}{'.'+[vc]}{'.'+[ac]}{'.'+[af]}{'.'+[source]}{'.'+[group]}" -r --log-file amc.log --action copy --conflict auto "D:\TVcurrent" --def subtitles=en --def backdrops=y --def artwork=y --def myepisodes=nzdreamer55:********* --def gmail=nzdreamer55**************:************** --def mailto=nzdreamer55************** --def reportError=y --def clean=y --def excludeList=amc-input.txt --def ut_label=tv
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

What's the output?
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

So I have a .bat file that runs every every 15 minutes. I get a email from filebot with the same files in it every time the bat file runs.

Code: Select all

FileBot finished processing Boardwalk.Empire.S05E05.720p.HDTV.x264-KILLERS, Bobs.Burgers.S05E01.720p.HDTV.X264-DIMENSION, Brooklyn.Nine-Nine.S02E02.720p.HDTV.X264-DIMENSION, Brooklyn.Nine-Nine.S02E02.720p.WEB-DL.DD5.1.H.264-NTb, Downton.Abbey.S05E03.Episode.3.720p.WEB-DL.AAC2.0.H.264-CtrlHD, Falling.Skies.S04E11.720p.WEB-DL.DD5.1.H.264-KiNGS[rarbg], Family.Guy.S13E02.720p.HDTV.X264-DIMENSION, Last.Week.Tonight.With.John.Oliver.S01E20.720p.HDTV.x264-BATV, Squidbillies.S09E03.720p.HDTV.x264-MiNDTHEGAP[et], The.Big.Bang.Theory.S08E04.720p.HDTV.X264-DIMENSION, The.Blacklist.S02E03.720p.HDTV.X264-DIMENSION, The.Simpsons.S26E02.720p.HDTV.X264-DIMENSION (14 files).

Original Name	New Name	New Location
Boardwalk.Empire.S05E05.720p.HDTV.x264-KILLERS.eng.srt	Boardwalk Empire.S05E05.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[KILLERS].King of Norway.srt	\\TITANSERVER\Series\Boardwalk Empire\Boardwalk Empire Season 05
Boardwalk.Empire.S05E05.720p.HDTV.x264-KILLERS.mkv	Boardwalk Empire.S05E05.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[KILLERS].King of Norway.mkv	\\TITANSERVER\Series\Boardwalk Empire\Boardwalk Empire Season 05
Bobs.Burgers.S05E01.720p.HDTV.X264-DIMENSION.mkv	Bob's Burgers.S05E01.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[DIMENSION].Work Hard or Die Trying, Girl.mkv	\\TITANSERVER\Series\Bob's Burgers\Bob's Burgers Season 05
Brooklyn.Nine-Nine.S02E02.720p.WEB-DL.DD5.1.H.264-NTb.mkv	Brooklyn Nine-Nine.S02E02.[720p].[1280x720].[AVC].[AC3].[6ch].[WEB-DL].[NTb].Chocolate Milk.mkv	\\TITANSERVER\Series\Brooklyn Nine-Nine\Brooklyn Nine-Nine Season 02
Brooklyn.Nine-Nine.S02E02.720p.HDTV.X264-DIMENSION.mkv	Brooklyn Nine-Nine.S02E02.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[DIMENSION].Chocolate Milk.mkv	\\TITANSERVER\Series\Brooklyn Nine-Nine\Brooklyn Nine-Nine Season 02
Downton.Abbey.S05E03.Episode.3.720p.WEB-DL.AAC2.0.H.264-CtrlHD.mkv	Downton Abbey.S05E03.[720p].[1280x716].[AVC].[AAC].[2ch].[WEB-DL].[CtrlHD].Episode 3.mkv	\\TITANSERVER\Series\Downton Abbey\Downton Abbey Season 05
Falling.Skies.S04E11.720p.WEB-DL.DD5.1.H.264-KiNGS.srt	Falling Skies.S04E11.[720p].[1280x718].[AVC].[AC3].[6ch].[WEB-DL].[KiNGS].Space Oddity.srt	\\TITANSERVER\Series\Falling Skies\Falling Skies Season 04
Falling.Skies.S04E11.720p.WEB-DL.DD5.1.H.264-KiNGS.eng.srt	Falling Skies.S04E11.[720p].[1280x718].[AVC].[AC3].[6ch].[WEB-DL].[KiNGS].Space Oddity.srt	\\TITANSERVER\Series\Falling Skies\Falling Skies Season 04
Falling.Skies.S04E11.720p.WEB-DL.DD5.1.H.264-KiNGS.mkv	Falling Skies.S04E11.[720p].[1280x718].[AVC].[AC3].[6ch].[WEB-DL].[KiNGS].Space Oddity.mkv	\\TITANSERVER\Series\Falling Skies\Falling Skies Season 04
Last.Week.Tonight.With.John.Oliver.S01E20.720p.HDTV.x264-BATV.mkv	Last Week Tonight with John Oliver.S01E20.[HDTV].[BATV].Civil Forfeiture.mkv	\\TITANSERVER\Series\Last Week Tonight with John Oliver\Last Week Tonight with John Oliver Season 01
squidbillies.s09e03.720p.hdtv.x264-mtg.mkv	Squidbillies.S09E03.[HDTV].[MiNDTHEGAP].Taint Misbehavin'.mkv	\\TITANSERVER\Series\Squidbillies\Squidbillies Season 09
The.Big.Bang.Theory.S08E04.720p.HDTV.X264-DIMENSION.mkv	The Big Bang Theory.S08E04.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[DIMENSION].The Hook-Up Reverberation.mkv	\\TITANSERVER\Series\The Big Bang Theory\The Big Bang Theory Season 08
The.Blacklist.S02E03.720p.HDTV.X264-DIMENSION.mkv	The Blacklist.S02E03.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[DIMENSION].Dr. James Covington.mkv	\\TITANSERVER\Series\The Blacklist\The Blacklist Season 02
The.Simpsons.S26E02.720p.HDTV.X264-DIMENSION.mkv	The Simpsons.S26E02.[720p].[1280x720].[x264].[AC3].[6ch].[HDTV].[DIMENSION].The Wreck of the Relationship.mkv	\\TITANSERVER\Series\The Simpsons\The Simpsons Season 26
// Generated by FileBot 4.2 (r2326) on Toshiba at 10/6/14 9:52:45 PM
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

I don't know what this is... but I need the cmdline output, obviously...

It'll look something like this:
Image
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

OK. I put 4 shows into the target folder to limit the number of files, but all 4 of these files have been run through filebot before so I would think that they should be ignored. I still got an e-mail stating that they were processed. I attached the output piped to a txt file and attached the txt file.
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

This is only from a single run so I don't know if anything gets reprocessed if you run it again. In this log it definitely did process some files.

BTW are you running on the latest v4.5 or a recent BETA / RC thereof? This might explain why it works in my tests but not for you.
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

Sorry for only getting you 1 run. This output is from a batch file where I just duplicated the command line so that it runs a second time and outputs to a file. Filebot is emailing me when it completes the second run which it the same as the first run. I would expect if filebot were to ignore files that were already processed then I should not get a second email with all of the same files processed. I am running filebot 4.5 currently.

Thanks
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

Can you try isolating the issue?

Does it happen always? For any input? Or only for archives? Or only for multi part archives? Do all archive paths get added to the exclude list file, or just the extracted files? Extracted archives should be added to the exclude list file and not touched in subsequent calls.
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

Can you show me what the output should look like when it works?
Where is the amc-input.txt?
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need recommendations for watcher script replacement...

Post by rednoah »

In your --output folder in a file called amc-input.txt

EDIT: you didn't set --output, then i have no idea, probably in the working directory, and if that's not writable it'll explain why it's not working.
:idea: Please read the FAQ and How to Request Help.
nzdreamer55
Posts: 162
Joined: 20 Jul 2012, 23:25

Re: Need recommendations for watcher script replacement...

Post by nzdreamer55 »

Thanks for the help. It was that I had not set the output folder. Can you add this to your instruction on how to use the amc script?

http://www.filebot.net/forums/viewtopic.php?t=215

Maybe something about how the --def excludeList needs the output folder set?

I'm good now.
Post Reply