Limit AMC output for log

Any questions? Need some help?
Post Reply
rix
Posts: 8
Joined: 19 Jun 2015, 11:04

Limit AMC output for log

Post by rix »

Hi,

I have been using the Automated Media Center script for half a year now, without any real issues.

I run it among other automated tools (mkvpropedit, bulk renaming quality levels, reencoding to h265 for selected series).
These are called by Pyload/NZBDrone on download completion and work fine so far.

My situation is as follows:
NZBDrone handles the heaviest load and moves files automatically. Only automatic reencodes go into my log file.

Pyload runs hooks for less available content (non-english). For this instance I use the AMC script with FileBot.

Here is my question: Can I limit the output of AMC somehow, so it only outputs successfully renamed files to the log?

Ideally I would have only one log file in the end where reencodes (handled by my batch scripts) and renames by Filebot are listed.

I know this is much of a "first-world problem" :roll: but it would help me dearly in keeping my automated library organized.

ps: Filebot sorts and renames stuff from Pyload so I can check for errors, remux stuff etc. After checking I then move the files to my live Plex library. This is why having a clean log helps me in finding falsely labeled files etc.


This is my current (working!) AMC call: (note that I renamed amc.groovy to Rename.groovy)

Code: Select all

start filebot.launcher -script D:/Verarbeitung/Bin/Rename.groovy "D:/Downloads" --output "D:/Verarbeitung" --log-file "D:/Verarbeitung/Bin/Verarbeitung.log" --action move --conflict skip -non-strict --def music=y --def skipExtract=y --def clean=y --def "seriesFormat=D:/Verarbeitung/Serien/{n}/{'S'+s.pad(2)}/{s00e00} - {t} - {source}-{vf}" "movieFormat=D:/Verarbeitung/Filme/{n} ({y})/{n} ({y})" --def "animeFormat=D:/Verarbeitung/Serien/{n}/{'S'+s.pad(2)}/{s00e00} - {t} - {source}-{vf}" "musicFormat=D:/Verarbeitung/Musik/{artist}/{album}/{pi.pad(2)} - {t}"
Do I have to edit the file itself or is there something I can add to the call?

I would love to only get the bold output to my log
Run script [D:/Verarbeitung/Bin/Rename.groovy] at [Fri Jun 19 13:18:38 CEST 2015]
Parameter: music = y
Parameter: skipExtract = y
Parameter: clean = y
Parameter: seriesFormat = D:/Verarbeitung/Serien/{n}/{'S'+s.pad(2)}/{s00e00} - {t} - {source}-{vf}
Parameter: movieFormat = D:/Verarbeitung/Filme/{n} ({y})/{n} ({y})
Parameter: animeFormat = D:/Verarbeitung/Serien/{n}/{'S'+s.pad(2)}/{s00e00} - {t} - {source}-{vf}
Parameter: musicFormat = D:/Verarbeitung/Musik/{artist}/{album}/{pi.pad(2)} - {t}
Argument: D:\Downloads
Input: D:\Downloads\ncis s12e01 dummy.mkv
Group: [tvs:ncis] => [ncis s12e01 dummy.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [ncis]
Fetching episode data for [NCIS]
Fetching episode data for [NCIS: New Orleans]
Fetching episode data for [NCIS: Los Angeles]
[MOVE] Rename [D:\Downloads\ncis s12e01 dummy.mkv] to [D:\Verarbeitung\Serien\NCIS\S12\S12E01 - Twenty Klicks - -576p.mkv]
Processed 1 files
Clean clutter files and empty folders
Done ヾ(@⌒ー⌒@)ノ
Thank you for your help!
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Limit AMC output for log

Post by rednoah »

filebot -help wrote:--log [all, fine, info, warning, off] : Log level

Code: Select all

--log info
:idea: Please read the FAQ and How to Request Help.
rix
Posts: 8
Joined: 19 Jun 2015, 11:04

Re: Limit AMC output for log

Post by rix »

Thank you very much. I ve got a lot to learn, I guess :lol: ;)
Post Reply