#!/bin/bash
# FileBot script to process newly created music files using a specified preset
# Directory containing the music files to be processed
input_dir="/media/william/NewData/music/CURRENT/"
# Preset to be used for processing music files (replace 'music_preset' with the name of your music preset)
music_preset="ALTERNATIVE2"
# Log file to store processing information
log_file="/media/william/NewData/music/logs/file.log"
# Run FileBot on newly created music files in input directory
filebot -script fn:amc --conflict skip -non-strict --log-file "$log_file" "$input_dir"
The bash script above is a very simple (many recommended options are missing)amc script call. Made unnecessarily complicated by defining variables that are then not used, or only used once.
i missed that. Is there a command to use a preset? I'm using arr-scripts with LIdarr. They implement using deezer as the downloader. I tried specifiying the format i wanted but it seems not to do it. So I wanted to use filebot to apply my current MUSIC file formatting.
$ filebot -rename *.flac --db ID3 --format '{artist} - {t}'
Rename music using [ID3 Tags]
[MOVE] from [14. James Horner - I See You (Theme from Avatar).flac] to [Leona Lewis - I See You (Theme from Avatar).flac]
Processed 1 file