Homebrew version music rename error

Any questions? Need some help?
Post Reply
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Homebrew version music rename error

Post by elgallo »

My set up

Code: Select all

fiLast login: Thu Jan  8 01:27:52 on ttys002
leMac-mini-de-el-GALLO-3:~ gallo$ filebot -script fn:sysinfo
FileBot 4.5.3 (r2729)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/opt/homebrew-cask/Caskroom/filebot/4.5.3/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_11
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 59 MB Used Memory
OS: Mac OS X (x86_64)
uname: Darwin Mac-mini-de-el-GALLO-3.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
Mac-mini-de-el-GALLO-3:~ gallo$
my CLI

Code: Select all

Mac-mini-de-el-GALLO-3:~ gallo$ filebot -rename "/Volumes/Med1a/Myoozik/\ \ COMPLETE/Waffles/WafMP3/" --format "/Volumes/Med1a/Myoozik/iT/{artist}/{album}/[{pi.pad(2)}] {artist} -{album}-{t}" --action test --db AcoustID --conflict auto -non-strict
Rename music using [AcoustID]
IOException: Failed to exec fpcalc: Exit code 2
java.io.IOException: Failed to exec fpcalc: Exit code 2
	at net.filebot.web.AcoustIDClient.fpcalc(AcoustIDClient.java:252)
	at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:60)
	at net.filebot.cli.CmdlineOperations.renameMusic(CmdlineOperations.java:518)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:105)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:75)
	at net.filebot.Main.main(Main.java:170)
Failure (°_°)
Mac-mini-de-el-GALLO-3:~ gallo$
I've tried Symlinking fpcalc from
/usr/bin/

to viewtopic.php?p=3538#p3538 as suggested by user Baker219
Baker219 wrote:So instead of symlinking, I simply used an alias. I placed fpcalc in /usr/bin and then placed an alias in /Applications/FileBot/Contents/Resources/Java/ This seems to have done the trick. Thanks!
to do this I have to create the Folder "Java" inside folder
/opt/homebrew-cask/Caskroom/filebot/4.5.3/FileBot.app/Contents/Resources

as in Mac OS X version via homebrew, the Folder "Java" already exists
/opt/homebrew-cask/Caskroom/filebot/4.5.3/FileBot.app/Contents/Java

any suggestions would be greatly appreciated
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Homebrew version music rename error

Post by rednoah »

Your cmdline call is wrong. You're passing in an illegal file path.

Learn some cmdline basics:
viewtopic.php?f=4&t=1899
:idea: Please read the FAQ and How to Request Help.
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Re: Homebrew version music rename error

Post by elgallo »

thanks my issue was twofold

I had -rename BEFORE my input

AND

I had escaped "\" the spaces I have in a folder name (so in finder that folder is first regardless of other folder names)
"musicFormat=/path/to/\ \ COMPLETE/folder/"

where the solution was simply
"musicFormat+/path/to/ COMPLETE/folder/"
Post Reply