I'm trying to understand AMC.groovy for my Synology NAS, and it looks great.
I made my experiments, and the only thing that I cannot resolve is fetching ITALIAN subtitles for my episodes.
This is my script
Code: Select all
filebot -script fn:escape
filebot -script fn:amc '/volume1/torrent/prova' \
--output '/volume1/torrent/prova' \
--lang it \
--log-file '/volume1/torrent/prova/amc.log' \
--def excludeList=amc-input.txt \
--action copy \
--conflict auto \
-non-strict \
--def "seriesFormat=/volume1/torrent/prova/TVshows/{n}/{'Stagione '+s}/{n.upperInitial()} - {sxe} - {t.upperInitial().replacePart(', (Parte $1)')} - [{source}.{vf}.{ac}]{'.ita'}" "movieFormat=/volume1/torrent/prova/Movies/{genres[0]}/[{fn.match(/3D/)+', '}{vf}, {ac}, {af}] - {n.upperInitial().ascii()} ({y}) di {director} [{genres[0]}, {rating}]" "musicFormat=Z:/Music/{n}/{fn}" \
--def subtitles=it,fr,de,en clean=y unsorted=y music=y
Code: Select all
Parameter: excludeList = amc-input.txt
Parameter: seriesFormat = /volume1/torrent/prova/TVshows/{n}/{'Stagione '+s}/{n.upperInitial()} - {sxe} - {t.upperInitial().replacePart(', (Parte )')} - [{source}.{vf}.{ac}]{'.ita'}
Parameter: movieFormat = /volume1/torrent/prova/Movies/{genres[0]}/[{fn.match(/3D/)+', '}{vf}, {ac}, {af}] - {n.upperInitial().ascii()} ({y}) di {director} [{genres[0]}, {rating}]
Parameter: musicFormat = Z:/Music/{n}/{fn}
Parameter: subtitles = it,fr,de,en
Parameter: clean = y
Parameter: unsorted = y
Parameter: music = y
Argument: /volume1/torrent/prova
Input: /volume1/torrent/prova/Gotham - 1x07.mkv
Input: /volume1/torrent/prova/House Of Cards - 2x01.mkv
Input: /volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi
Exclude: /volume1/torrent/prova/amc.log
[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi [series: null, movie: Zodiac (2007)]
Group: [tvs:gotham] => [Gotham - 1x07.mkv]
Group: [tvs:house of cards] => [House Of Cards - 2x01.mkv]
Group: [tvs:null, mov:zodiac 2007, anime:null] => [[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi]
Get [Italian] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/Gotham - 1x07.mkv
Get [French] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/Gotham - 1x07.mkv
Get [German] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/Gotham - 1x07.mkv
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Matched [Gotham - 1x07.mkv] to [Gotham S01E07 HDTV x264-LOL[ettv]] via hash
Fetching [Gotham S01E07 HDTV x264-LOL[ettv].srt]
Export [Gotham S01E07 HDTV x264-LOL[ettv].srt] as: SubRip / UTF-8
Writing [Gotham S01E07 HDTV x264-LOL[ettv].srt] to [Gotham - 1x07.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [Gotham]
Fetching episode data for [Gotham]
Fetching episode data for [Gotham Girls]
Fetching episode data for [Gotham Comedy Live]
Auto-detected query: [Gotham]
Fetching episode data for [Gotham]
Fetching episode data for [Gotham Girls]
Fetching episode data for [Gotham Comedy Live]
[COPY] Rename [/volume1/torrent/prova/Gotham - 1x07.eng.srt] to [/volume1/torrent/prova/TVshows/Gotham/Stagione 1/Gotham - 1x07 - L'ombrello Del Pinguino - [.720p.AC3].ita.srt]
[COPY] Rename [/volume1/torrent/prova/Gotham - 1x07.mkv] to [/volume1/torrent/prova/TVshows/Gotham/Stagione 1/Gotham - 1x07 - L'ombrello Del Pinguino - [.720p.AC3].ita.mkv]
Processed 2 files
Get [Italian] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/House Of Cards - 2x01.mkv
Get [French] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/House Of Cards - 2x01.mkv
Get [German] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/House Of Cards - 2x01.mkv
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Matched [House Of Cards - 2x01.mkv] to [House.of.Cards.2013.S02E01.WEBRip.HDTV.x264-2HD] via hash
Fetching [House.of.Cards.2013.S02E01.WEBRip.HDTV.x264-2HD.srt]
Export [House.of.Cards.2013.S02E01.WEBRip.HDTV.x264-2HD.srt] as: SubRip / UTF-8
Writing [House.of.Cards.2013.S02E01.WEBRip.HDTV.x264-2HD.srt] to [House Of Cards - 2x01.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [House Of Cards]
Fetching episode data for [House of Cards]
Fetching episode data for [House of Cards (US)]
Fetching episode data for [House of Carters]
Auto-detected query: [House Of Cards]
Fetching episode data for [House of Cards]
Fetching episode data for [House of Cards (US)]
Fetching episode data for [House of Carters]
[COPY] Rename [/volume1/torrent/prova/House Of Cards - 2x01.mkv] to [/volume1/torrent/prova/TVshows/House of Cards/Stagione 2/House Of Cards - 2x01 - Capitolo 14 - [.720p.AAC].ita.mkv]
[COPY] Rename [/volume1/torrent/prova/House Of Cards - 2x01.eng.srt] to [/volume1/torrent/prova/TVshows/House of Cards/Stagione 2/House Of Cards - 2x01 - Capitolo 14 - [.720p.AAC].ita.srt]
Processed 2 files
Get [Italian] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi
Get [French] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi
Get [German] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi]
[COPY] Rename [/volume1/torrent/prova/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi] to [/volume1/torrent/prova/Movies/Crime/[480p, AC3, 6ch] - Zodiac (2007) di David Fincher [Crime, 6.7].avi]
Processed 1 files
Clean temporary extracted files
Delete /volume1/torrent/prova/Gotham - 1x07.eng.srt
Delete /volume1/torrent/prova/House Of Cards - 2x01.eng.srt
Done
If I try with my old single show script, Filebot finds the subs.
Why AMC doesn't ?
Thank u