I run AMC with this post process script
Code: Select all
#!/bin/bash
filebot -script fn:amc --output "/media/storage" --log-file "/home/harry/.amc.log" --action duplicate --conflict override -non-strict --def music=y artwork=y --def movieFormat="Movies/{n.ascii()} ({y})/{n.ascii()} ({y}){' CD'+pi}{'.'+lang}" seriesFormat="TV Shows/{n.ascii()}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n.ascii()} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.ascii().replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}" animeFormat="Anime/{primaryTitle.ascii()}/{primaryTitle.ascii()} - {sxe.ascii()} - {t.ascii().replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, /'/).replacePart(', Part $1')}" musicFormat="Music/{n.ascii()}/{album.ascii()+'/'}{pi.pad(2)+'. '}{artist.ascii()} - {t.ascii()}" "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
Previously I was running an Ubuntu setup, but now its running Debian.
Code: Select all
Run script [fn:amc] at [Tue Feb 07 16:05:10 CET 2017]
Parameter: music = y
Parameter: artwork = y
Parameter: movieFormat = Movies/{n.ascii()} ({y})/{n.ascii()} ({y}){' CD'+pi}{'.'+lang}
Parameter: seriesFormat = TV Shows/{n.ascii()}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n.ascii()} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.ascii().replaceAll(/[´‘’ʻ]/, /'/).replacePart(', Part ')}
Parameter: musicFormat = Music/{n.ascii()}/{album.ascii()+'/'}{pi.pad(2)+'. '}{artist.ascii()} - {t.ascii()}
Parameter: ut_dir = /home/harry/transmission//The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta
Parameter: ut_kind = multi
Parameter: ut_title = The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta
Input: /home/harry/transmission/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta.mkv
Group: [tvs:the big bang theory] => [The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
[DUPLICATE] Rename [/home/harry/transmission/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta.mkv] to [/media/storage/TV Shows/The Big Bang Theory/Season 10/The Big Bang Theory - S10E14 - The Emotion Detection Automation.mkv]
[DUPLICATE] Failed to rename [/home/harry/transmission/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta/The.Big.Bang.Theory.S10E14.1080p.HEVC.x265-MeGusta.mkv]
Processed 0 files
But it still says 'Processed 0 files', and belive it or not, 0 files seem to have been processed
Output from filebot -script fn:sysinfo
Code: Select all
harry@Loki:~$ sudo -u debian-transmission filebot -script fn:sysinfo
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
java.lang.IllegalArgumentException: /gvfs is not a valid directory
GVFS: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.7
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 3 GB Max Memory / 16 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /var/lib/transmission-daemon/.filebot
uname: Linux Loki 4.9.0-0.bpo.1-amd64 #1 SMP Debian 4.9.2-2~bpo8+1 (2017-01-26) x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ