Page 1 of 1
Cannot install filebot through terminal on OSX, error
Posted: 08 Apr 2015, 23:44
by marios50
Hey guys,
So ive been trying to get this working all day but to no avail. First of all im a total newbie when it comes to terminal and stuff but i tried to follow the guide posted by noah step by step and got to the stage where i need to install filebot.
The error i get is :
Symlinking App 'FileBot.app' to '/Users/Marios/Applications/FileBot.app'
==> Symlinking Binary 'filebot.sh' to '/usr/local/bin/filebot'
Error: Command failed to execute!
==> Failed command:
["/usr/bin/xattr", "-w", "com.apple.metadata:kMDItemAlternateNames", "(\\\"filebot\\\")", "#<Pathname:/usr/local/bin/filebot>"]
==> Output of failed command:
==> Exit status of failed command:
----
I tried this on two different macs both runnig yosemite 10.10
I have already purchased filebot through the appstore but all i get is the gui and there isnt a filebot.sh in the .app folder.
Any help would be appreciated

Re: Cannot install filebot through terminal on OSX, error
Posted: 09 Apr 2015, 03:24
by rednoah
If you have issues with brew cask ask the brew cask people.
You can also download the app manually and then link filebot to bin, it's basic command line skills that you'll need anyway if you wanna use filebot from the command line.

Re: Cannot install filebot through terminal on OSX, error
Posted: 09 Apr 2015, 08:54
by marios50
rednoah wrote:If you have issues with brew cask ask the brew cask people.
You can also download the app manually and then link filebot to bin, it's basic command line skills that you'll need anyway if you wanna use filebot from the command line.

Thanks for the reply
OK so i tried to skip working through brew cask and try to manually specify the path to "filebot.sh" in the transmission-postprocess script.No luck.
Can you see any error in the following script file?
#!/bin/bash
/Downloads/FileBot.app/Contents/MacOS/filebot -script fn:amc --output “/Users/Marios1/media” --log-file amc.log --action copy --conflict override -non-strict --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
Also am i supposed to have another script file or is the above script gonna do all the work? Just really confused atm:/
Re: Cannot install filebot through terminal on OSX, error
Posted: 09 Apr 2015, 12:32
by marios50
rednoah wrote:If you have issues with brew cask ask the brew cask people.
You can also download the app manually and then link filebot to bin, it's basic command line skills that you'll need anyway if you wanna use filebot from the command line.

Actually nvm i managed to get basic functionality up after hours of trial and error

now all that's left is for it to extract to an other specific folder.
This is my script:
#!/bin/bash
/Users/Marios1/Downloads/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc --output /Users/Marios1/media --log-file amc.log --action copy --conflict override -non-strict --def artwork=n --def plex=127.0.0.1:xxxxxxxxxxx --def extractfolder=/Users/Marios1/torrents/extracted "ut_dir=/Users/Marios1/torrents/data" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
Although i specified where for it to extract, the files are never extracted there but in the same directory as the rar files.
Just a bit more of your patience please

Re: Cannot install filebot through terminal on OSX, error
Posted: 09 Apr 2015, 18:54
by rednoah
There is no such option. Files will always be extracted in the same directory where the archive is.
You might be looking for this:
--def clean=y Automatically remove empty folders and clutter files that may be left behind after moving the video files or temporary extracted files after copying
Re: Cannot install filebot through terminal on OSX, error
Posted: 09 Apr 2015, 20:40
by marios50
rednoah wrote:There is no such option. Files will always be extracted in the same directory where the archive is.
You might be looking for this:
--def clean=y Automatically remove empty folders and clutter files that may be left behind after moving the video files or temporary extracted files after copying
Hmm i guess that would work..it wont affect seeding correct?
And it probably doesnt work if im symlinking?
Re: Cannot install filebot through terminal on OSX, error
Posted: 10 Apr 2015, 05:04
by rednoah
1.
Since you're seeding the archive, you can delete the temporary extracted files.
2.
Yes, removing the files the symlinks point to doesn't make sense. Hence the clean option only does something in MOVE and COPY modes.