SyntaxError: unexpected char: '\'
Posted: 06 Jun 2013, 06:42
Script in uTorrent :
Output after uTorrent finish download I got :
So, how to fix it..
Code: Select all
filebot -script fn:amc --output "E:/" --log-file "E:/amc.log" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n "ut_dir=E:\TV Shows\01 Seeding" "ut_file=Revolution.2012.S01E19.HDTV.x264-LOL.mp4" "ut_kind=single" "ut_title=Revolution.2012.S01E19.HDTV.x264-LOL.mp4" "ut_label=Revolution (2012)" "ut_state=11" --def "seriesFormat=TV Shows/{n.replaceTrailingBrackets()}/Season {s}/{n.replaceTrailingBrackets()} - S{(episode.season ? s : 1).pad(2)}E{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’?]/, \"'\") .lowerTrail().replacePart(', Part $1')}" "movieFormat=Movies/{n}_{y}/{n} ({y}){\" CD$pi\"}
Output after uTorrent finish download I got :
Code: Select all
Parameter: music = n
Parameter: subtitles = en
Parameter: artwork = n
Parameter: ut_dir = E:\TV Shows\01 Seeding
Parameter: ut_file = Revolution.2012.S01E19.HDTV.x264-LOL.mp4
Parameter: ut_kind = single
Parameter: ut_title = Revolution.2012.S01E19.HDTV.x264-LOL.mp4
Parameter: ut_label = Revolution (2012)
Parameter: ut_state = 11
Parameter: seriesFormat = TV Shows/{n.replaceTrailingBrackets()}/Season {s}/{n.replaceTrailingBrackets()} - S{(episode.season ? s : 1).pad(2)}E{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’?]/, \'\) .lowerTrail().replacePart(', Part $1')}
Parameter: movieFormat = Movies/{n}_{y}/{n} ({y}){" CD$pi\}
Input: E:\TV Shows\01 Seeding\Revolution.2012.S01E19.HDTV.x264-LOL.mp4
Group: [tvs:Revolution] => [Revolution.2012.S01E19.HDTV.x264-LOL.mp4]
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [Revolution.2012.S01E19.HDTV.x264-LOL.mp4] to [Revolution.2012.S01E19.HDTV.X264-LOL] via filehash
Fetching [Revolution.2012.S01E19.HDTV.X264-LOL.srt]
Export [Revolution.2012.S01E19.HDTV.X264-LOL.srt] as: SubRip / UTF-8
Writing [Revolution.2012.S01E19.HDTV.X264-LOL.srt] to [Revolution.2012.S01E19.HDTV.x264-LOL.eng.srt]
ScriptException: SyntaxError: unexpected char: '\'
Done ヾ(@⌒ー⌒@)ノ