Evolving my script not working

Any questions? Need some help?
Post Reply
rendez2k
Posts: 10
Joined: 15 Sep 2015, 18:09

Evolving my script not working

Post 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 &
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Evolving my script not working

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply