amc log:
Code: Select all
Run script [fn:amc] at [Mon Jun 03 14:24:13 CEST 2019]
Parameter: unsorted = y
Parameter: movieFormat = D:/Movies/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y})/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y}){' (Part '+pi+')'} [{source}-{vf} {vc} {ac}]{' ['+group+']'}{'.'+lang}
Parameter: seriesFormat = D:/Series/{n.replaceAll(':',' -')}/{'Season ' + s}/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y}) - {s00e00.lower()} - {t.replaceAll(':',' -')} [{source}-{vf} {vc} {ac} {bitdepth}bit]{' ['+group+']'}{'.'+lang}
Parameter: animeFormat = D:/Anime/{primarytitle.replaceAll(':',' -')}/{primarytitle.replaceAll(':',' -')} - {'S' + special.pad(3)}{'E' + absolute.pad(3)} - {t.replaceAll(':',' -')}{' ['+bitdepth+'bit]'}{' ['+group+']'}
Parameter: ut_label = Anime
Parameter: ut_state = 
Parameter: ut_title = [Erai-raws] Shingeki no Kyojin Season 3 (2019) - 06 [720p AVC-YUV444P10][Multiple Subtitle].mkv
Parameter: ut_kind = multi
Parameter: ut_file = 
Parameter: ut_dir = D:\Downloads\qBittorrent\Anime\[Erai-raws] Shingeki no Kyojin Season 3 (2019) - 06 [720p AVC-YUV444P10][Multiple Subtitle].mkv
Input: D:\Downloads\qBittorrent\Anime\[Erai-raws] Shingeki no Kyojin Season 3 (2019) - 06 [720p AVC-YUV444P10][Multiple Subtitle].mkv
Group: [tvs:shingeki no kyojin] => [[Erai-raws] Shingeki no Kyojin Season 3 (2019) - 06 [720p AVC-YUV444P10][Multiple Subtitle].mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Shingeki no Kyojin]
Fetching episode data for [Attack on Titan]
Fetching episode data for [Rage of Bahamut]
Fetching episode data for [Attack on Titan: Junior High]
[HARDLINK] from [D:\Downloads\qBittorrent\Anime\[Erai-raws] Shingeki no Kyojin Season 3 (2019) - 06 [720p AVC-YUV444P10][Multiple Subtitle].mkv] to [D:\Series\Attack on Titan\Season 3\Attack on Titan (2013) - s03e06 - Sin [-720p x264 AAC 10bit] [Erai-raws].mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノIs there something going wrong out of my control or is there anything I can do to possibly fix this?
Here's my amc call via a python script:
Code: Select all
import sys
import subprocess
# configuration
output = 'D:/Downloads'
# custom formats (use / instead of \ as directory separator)
movieFormat  = "D:/Movies/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y})/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y}){' (Part '+pi+')'} [{source}-{vf} {vc} {ac}]{' ['+group+']'}{'.'+lang}"
seriesFormat = "D:/Series/{n.replaceAll(':',' -')}/{'Season ' + s}/{n.replaceTrailingBrackets().replaceAll(':',' -')} ({y}) - {s00e00.lower()} - {t.replaceAll(':',' -')} [{source}-{vf} {vc} {ac} {bitdepth}bit]{' ['+group+']'}{'.'+lang}"
animeFormat  = "D:/Anime/{primarytitle.replaceAll(':',' -')}/{primarytitle.replaceAll(':',' -')} - {'S' + special.pad(3)}{'E' + absolute.pad(3)} - {t.replaceAll(':',' -')}{' ['+bitdepth+'bit]'}{' ['+group+']'}"
# required args
label, state, title, kind, file, directory = sys.argv[1:7]
if label == 'Radarr' or label == 'Sonarr' or label == 'Other':
	print('Aborting due to label: ' + label)
	sys.exit(0)
command = [
	'filebot', '-script', 'fn:amc',
	'--output', output,
	'--action', 'hardlink',
	'--conflict', 'auto',
	'-non-strict',
	'--log-file', 'D:\Other\Filebot/amc.log',
	'--def',
		'unsorted=y',
		'movieFormat='  + movieFormat,
		'seriesFormat=' + seriesFormat,
		'animeFormat='  + animeFormat,
		'ut_label=' + label,
		'ut_state=' + state,
		'ut_title=' + title,
		'ut_kind='  + kind,
		'ut_file='  + file,
		'ut_dir='   + directory
]
# execute command (and hide cmd window)
subprocess.run(command, creationflags=0x08000000)
 TheTVDB / Absolute is sometimes a better choice. But it's a bad choice in this case. We'll see how it goes for a while, and then maybe revert to always use AniDB by default, if that does work better in the end.
 TheTVDB / Absolute is sometimes a better choice. But it's a bad choice in this case. We'll see how it goes for a while, and then maybe revert to always use AniDB by default, if that does work better in the end. Please read the
 Please read the