I have the following list of episodes:
Code: Select all
My.Show.S02E01E02.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E03.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E04.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E05.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E06.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E07.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E08.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E09.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E10.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E11.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E12.Extended.720p.BluRay.x264-NTb.mkv
My.Show.S02E13.Extended.720p.BluRay.x264-NTb.mkv
Code: Select all
my show - 2x01 - Everything Is Great!
my show - 2x02 - Dance Dance Resolution
my show - 2x03 - Team Cockroach
my show - 2x04 - Existential Crisis
my show - 2x05 - The Trolley Problem
my show - 2x06 - Janet and Michael
my show - 2x07 - Derek
my show - 2x08 - Leap to Faith
my show - 2x09 - Best Self
my show - 2x10 - Rhonda, Diana, Jake, and Trent
my show - 2x11 - The Burrito
my show - 2x12 - Somewhere Else
Is there any mapper expression I can use to fix this situation?
Code: Select all
docker exec qbittorrent /usr/bin/filebot -script fn:amc --action test --output /Media --conflict skip --log-file amc.log --def ut_dir=/srv/pv/torrent/downloads/complete/tv_shows/My.Show.S02.Extended.720p.BluRay.x264-NTb ut_kind=multi ut_title=My.Show.S02.Extended.720p.BluRay.x264-NTb ut_label=tv_shows --def @/scripts/notify.txt --def movieFormat=@/scripts/movieFormat.groovy --def seriesFormat=@/scripts/seriesFormat.groovy --def animeFormat=@/scripts/animeFormat.groovy --mapper "episode.derive(2, e - 1)"
Code: Select all
Syntax Error: net.filebot.format.BindingException: Binding "e": undefined