Welcome Guest

Pages: 1
External Script Errors
PowderPostOctober 6, 2013, 15:23
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicExternal Script Errors

I’m using the command-line-version of KeyFinder – https://github.com/ibsh/is_KeyFinder/wiki#can-i-use-keyfinder-on-the-command-line to analyze the audio files and get the main musical key back. The script generates informations which it returns through the error stream, here is an example:

Script /Users/me/Desktop/echoparam.sh returned error code 0
file=/Users/me/Music/Some Album/09-The Plumes.flac
with error:
Decoder prepared for /Users/me/Music/Som Album/09-The Plumes.flac (s16, 44100)
Chroma vector for segment 0 of file /Users/me/Music/Som Album/09-The Plumes.flac: [15166560256, 14453726208, 29079306240, 14881610752, 48438411264, 11791857664, 21501777920, 30519826432, 17866635264, 24351498240, 12155273216, 39685640192]

The real key is returned through stdout, and I am able to store is as I want. The only problem here is the annoying popup reporting the script error (which is just additional information).

Is it possible to mute the error stream of the script? It would be nice to have an additional check box on the »Run External Script« Action: »Ignore Errors«

2MR2PostOctober 30, 2013, 12:43
Avatar photo
Administrator
Posts: 2079
Registered:
August 23, 2012, 19:27
Normal topicRe: External Script Errors

I'm not sure why they're returning output to stderr with a zero return code .... but it's easy enough to add an 'Ignore Errors' option.

I'll add it in.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.018 seconds.