Page 1 of 1

Evolving my script not working

Posted: 04 Jun 2016, 15:20
by rendez2k
Hi all, I'm trying to evolve my script to add extra details to the filenames but its failing. Can someone tell me whats wrong? I've edited the plex numbers for security.


#!/bin/bash
TORRENT_PATH=$1
TORRENT_NAME=$2
TORRENT_LABEL=$3

filebot -script fn:amc --log-file amc.log --action symlink --conflict override -non-strict
--def "seriesFormat=/home/rendez2k/Media/TV Shows/{'Saison '+s}/{n} S{s.pad(2)}E{e.pad(2)} - {t} [{vf}, {vc}, {ac}, {af}]" "movieFormat=/home/rendez2k/Media/Movies/{n} ({y}) [{vf}, {vc}, {ac}, {af}]" --def music=n artwork=n "ut_dir=$TORRENT_PATH" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL" --def "exec=chmod 777 -R '/home/rendez2k/Media'" --def plex=000.000.000.0:00000000000000000000 &

Re: Evolving my script not working

Posted: 04 Jun 2016, 16:45
by rednoah
Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features