Issues with AMC and TV Shows

Any questions? Need some help?
Post Reply
skinsvpn
Posts: 12
Joined: 26 Sep 2014, 11:46

Issues with AMC and TV Shows

Post by skinsvpn » 22 May 2020, 00:01

I am having an issue when running AMC on my tv shows. The script is determining that the file is a tv show and following tv show naming option but matching with a movie. I think this is what the groovy errors I get are showing me.

filebot -script fn:sysinfo

Code: Select all

FileBot 4.9.1 (r7372) JDK8
JNA Native: 5.2.2
MediaInfo: 18.08.1
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Xeon(R) CPU E5-2689 0 @ 2.60GHz (206D7),ASM,AES-NI)
unrar: UNRAR 5.61 freeware
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 28 GB Max Memory / 223 MB Used Memory
OS: Linux (amd64)
HW: Linux a86cf5bef105 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 10 GB | btrfs [/watch] @ 10 GB | fuse.shfs [/storage] @ 8 TB | btrfs [/:/output:rw] @ 10 GB | btrfs [/config] @ 766 GB | btrfs [/:/watch:rw] @ 10 GB | btrfs [/output] @ 10 GB | btrfs [/etc/resolv.conf] @ 10 GB | btrfs [/etc/hostname] @ 10 GB | btrfs [/etc/hosts] @ 10 GB | btrfs [/mnt/cache/filebot_out] @ 766 GB | fuse.shfs [/mnt/user/media] @ 8 TB | btrfs [/mnt/cache/filebot_in] @ 766 GB | fuse.sshfs [/mnt/disks/whatbox] @ 5 TB | btrfs [/mnt/cache/whatbox] @ 766 GB
DATA: /config
Package: DOCKER
License: FileBot License PX11950516 (Valid-Until: 2070-02-25)
Done ヾ(@⌒ー⌒@)ノ
Relevant Log Section:

Code: Select all

Run script [fn:amc] at [Thu May 21 09:53:11 EDT 2020]
Parameter: subtitles = en
Parameter: pushbullet = *****
Parameter: pushover = *****
Parameter: exec = /bin/ash /config/filebot_verify_suball.sh '{f}/'
Parameter: music = y
Parameter: artwork = y

Parameter: ignore = idx|\.sub
Parameter: movieFormat = {fn =~ /2160p/ ? "4k_movies" : "movies"}/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).ascii()} ({y})/{n.replaceFirst(/^(?i)(The|A|
An)\s(.+)/, /$2, $1/).ascii()} {"("+fn.matchAll(/despecialized|extended|uncensored|remastered|remaster|4k.remaster|unrated|uncut|directors.cut|director.s.cut|spe
cial.edition|criterion.collection|theatrical|remux/)*.upperInitial()*.lowerTrail().sort().join(", ").replaceAll(/[._]/, " ")+")"} {"[$vf $vc $ac $af]"}
Parameter: seriesFormat = tv_shows/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).ascii()} ({y})/Season {s.pad(2)}/{n.ascii()} - {s00e00} - {t.ascii()} {"("+
fn.matchAll(/despecialized|extended|uncensored|remastered|remaster|4k.remaster|unrated|uncut|directors.cut|director.s.cut|special.edition|criterion.collection|re
mux/)*.upperInitial()*.lowerTrail().sort().join(", ").replaceAll(/[._]/, " ")+")"} {"[$vf $vc $ac $af]"}{"."+lang}
Parameter: musicFormat = music/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).ascii()}/{album.ascii()} ({y})/{album.ascii()} - {media.PartPosition}{pi.pad(2)
} - {t.ascii()} ({kbps})
Argument[0]: /mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX
Ignore video extra: /mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/Sample/rick.and.morty.s04e07.1080p.webrip.x264-btx.sample.mkv
Read archive [rick.and.morty.s04e07.1080p.webrip.x264-btx.rar] and extract to [/mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e
07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX]
Extracting files [/mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.1080p.WEBRip.x
264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx.mkv]
Input: /mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/ric
k.and.morty.s04e07.1080p.webrip.x264-btx.mkv
Group: {Series=rick and morty} => [rick.and.morty.s04e07.1080p.webrip.x264-btx.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.108
0p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx.mkv
Rename movies using [TheMovieDB]
Auto-detect movie from context [/mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.
1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx.mkv]
[MOVE] from [/mnt/disks/whatbox/Rick.and.Morty.S04E07.1080p.WEBRip.x264-BTX/rick.and.morty.s04e07.1080p.webrip.x264-btx/Rick.and.Morty.S04E07.1080p.WEBRip.x264-B
TX/rick.and.morty.s04e07.1080p.webrip.x264-btx.mkv] to [/mnt/user/media/tv_shows/Rick (2003)/Season/Rick - - [1080p x264 AAC 2ch].mkv]
Processed 1 files
groovy.lang.MissingPropertyException: No such property: seriesInfo for class: net.filebot.web.Movie
groovy.lang.MissingPropertyException: No such property: seriesInfo for class: net.filebot.web.Movie
        at Script1$_run_closure69$_closure112$_closure117.doCall(Script1.groovy:355)
        at Script1$_run_closure69$_closure112.doCall(Script1.groovy:355)
        at Script1$_run_closure69.doCall(Script1.groovy:352)
        at Script1.run(Script1.groovy:332)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)

Error (o_O)
AMC call:

Code: Select all

docker exec FileBot /opt/filebot/filebot -script fn:amc --output '/mnt/user/media/' \
  --log-file amc.log \
  --action move \
  --conflict index -non-strict \
  --db TheMovieDB \
  --def subtitles=en \
  --def pushbullet=$pushbullet_token \
  --def pushover=$pushover_userkey:$pushover_apitoken \
  "exec=/bin/ash /config/filebot_verify_suball.sh '{f}/'" \
  music=y artwork=y \
  ignore='idx|\.sub' \
  'movieFormat='"$movie_format" \
  'seriesFormat='"$series_format" \
  'musicFormat='"$music_format" \
  "$file_name"

kim
Power User
Posts: 964
Joined: 15 May 2014, 16:17

Re: Issues with AMC and TV Shows

Post by kim » 22 May 2020, 00:21

try removing

Code: Select all

--db TheMovieDB \
Movie

Code: Select all

TheMovieDB
TV

Code: Select all

TheMovieDB::TV

skinsvpn
Posts: 12
Joined: 26 Sep 2014, 11:46

Re: Issues with AMC and TV Shows

Post by skinsvpn » 22 May 2020, 00:29

Well, that was it. I could have sworn I reviewed the call to look for something like that that would hang me up. Thank you for pointing it out for me!

User avatar
rednoah
The Source
Posts: 18381
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Issues with AMC and TV Shows

Post by rednoah » 22 May 2020, 04:36

It seems that respecting the --db option was a bad idea. Upcoming revisions of the amc script will ignore it again, as we used to do in the past.
:idea: Please read the FAQ and How to Request Help.

Post Reply