Working script, just need help adding music

Support for Windows users
Post Reply
OGROAR
Posts: 2
Joined: 07 May 2020, 03:06

Working script, just need help adding music

Post by OGROAR »

Hello!

Loving this so far.
Using RSS, then Filebot and Plex for movies and TV.
Very new to this.
I'm looking to add music in and cant seem to get it to even acknowledge the added code in my output file.

My working script:


filebot -script fn:amc --output "E:\Current/" --action move -non-strict "D:/inc/" --def excludeList=amc.txt "seriesFormat=E:/Media/TV/{n}/{n.replaceAll(/[:|]/, ' - ')}/Season {s.pad(2)}/{n.replaceAll(/[:|]/, ' - ')} - {s00e00} - {t} {source}-{vf}" "movieFormat=E:/Media/Movies/{n.replaceAll(/[:|]/, ' - ')} ({y})/{n.replaceAll(/[:|]/, ' - ')} ({y}) - {vf} - {audio.language}" --log-file="C:/Users/slave/Desktop/LOGS/AMC-log.txt"

The script I want to add or something that works..
"musicFormat=E:/Media/Music/{n.replaceAll(/[:*?"<>|?]/).replaceAll(/[`´‘’?]/, "'")}\{album.replaceAll(/[:*?"<>|?]/).replaceAll(/[`´‘’?]/, "'")}\{pi.pad(2)} - {t.replaceAll(/[:*?"<>|?]/).replaceAll(/[`´‘’?]/, "'")}"
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Working script, just need help adding music

Post by rednoah »

Music Mode needs to be explicitly enabled. See amc script docs for details.
:idea: Please read the FAQ and How to Request Help.
Post Reply