Any questions? Need some help?
Rick7C2
Posts: 12 Joined: 22 Nov 2013, 23:04
Post
by Rick7C2 » 22 Feb 2017, 17:23
I'm getting this error when running the below command and I can't make sense out of it. What am I doing wrong?
ERROR
Code: Select all
Illegal usage: output folder [/volume1/media/.remote/Media Server/TV Showsnew] must be separate from input arguments [/volume1/media/.remote/Media Server/TV Shows]
Command
Code: Select all
filebot -script 'fn:amc' '/volume1/media/.remote/Media Server/TV Shows' --output '/volume1/media/.remote/Media Server/TV Showsnew' --conflict auto --lang en --def 'minLengthMS=0' 'minFileSize=0' 'ut_label=tv' 'music=y' 'artwork=y' 'clean=y' 'deleteAfterExtract=y' 'seriesFormat={n}/{episode.special ? '\''Special'\'' : '\''Season '\''+s.pad(2)}/{n} - {episode.special ? '\''S00E'\''+special.pad(2) : s00e00} - {airdate} - {t} ({any{fn.match(/720[pP]|1080[pP]|2160[pP]/)}{vf}} {any{source}{'\''Unknown'\''}})' 'movieFormat={n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} [{y}] [{any{certification}{'\''Unknown Rating'\''}}] {genres} [{imdbid}]/{ny} ({any{fn.match(/720[pP]|1080[pP]|2160[pP]/)}{vf}}, {any{source}{'\''Unknown'\''}})' 'exec=mkdir -p "/volume1/media/Media Server/TV Shows/{n}/{episode.special ? '\''Special'\'' : '\''Season '\''+s.pad(2)}/" && echo 'plugin://plugin.video.metalliq/tv/play/{info.id}/{s}/{e}/library' >"/volume1/media/Media Server/TV Shows/{n}/{episode.special ? '\''Special'\'' : '\''Season '\''+s.pad(2)}/{n} - {episode.special ? '\''S00E'\''+special.pad(2) : s00e00} - {airdate} - {t}.strm"' --log all
rednoah
The Source
Posts: 24482 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 22 Feb 2017, 17:25
Do:
Code: Select all
--output '/volume1/media/.remote/Media Server/Media'
Don't forget about using
--def excludeList when running things in an automated setup.
Rick7C2
Posts: 12 Joined: 22 Nov 2013, 23:04
Post
by Rick7C2 » 22 Feb 2017, 17:38
rednoah wrote: Do:
Code: Select all
--output '/volume1/media/.remote/Media Server/Media'
Don't forget about using
--def excludeList when running things in an automated setup.
That worked but I don't understand why?
Yes my automated setup uses the excludelist. This is just a one time run to rename all current media to my new naming scheme and to create .strm files for use in kodi.
Thanks!
rednoah
The Source
Posts: 24482 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 22 Feb 2017, 17:58
1.
.../TV Showsnew starts with
.../TV Shows and the sanity check
(incorrectly) hits this corner case.
2.
If you know that you're dealing with TV Shows, then adding
--def ut_label=Series is considered best practice.
3.
Your
--def exec could be a lot more concise if you were to use the destination file path binding
{f} instead of recreating your format twice.
e.g. take the last 3 components of the destination path:
Rick7C2
Posts: 12 Joined: 22 Nov 2013, 23:04
Post
by Rick7C2 » 22 Feb 2017, 18:10
1. Ahh Ok, That makes sense now.
2. Ok I will change it though ut_label=tv seems to be working as expected. Also I would like to note that ut_label=tv came from the command filebot-node for my synology generated.
3. Cool! I will be implementing that.
rednoah
The Source
Posts: 24482 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 22 Feb 2017, 18:15
2.
The series|tv|tv.show|etc is all the same. The amc scripts tries to pick up all the labels that are commonly used by auto-downloaders.
3.
Sharing is caring.