Image 01
profile-image

bdillahu

Bruce Dillahunty
Audio Format Converter

Amarok 1.x Scripts by mlmitton 67 comments

It is a "lame" failing that it doesn't handle unknown genre's (by default).

I got around this by changing line 183 to read:

encodeCommand = "lame --ignore-tag-errors " + options + id3Options + " " + tempWavFile + " " + outputFileNameE

Adding the "--ignore-tag-errors " (make sure you get the trailing space) got me moving on.

Bruce - Jan 06 2006
Audio Format Converter

Amarok 1.x Scripts by mlmitton 67 comments

I don't know if it really works or helps, but maybe as a pointer, I got past this error by adding a

".encode( "utf-8" ) on each variable where the script complained... thus it went from:

error.write(outputFileName + "\n")
to:

error.write(outputFileName.encode( "utf-8" ) + "\n")

I had to change lines: 198, 200 and 264

I still have the problem that it creates the temp.wav file but I don't get the mp3 file (going from flac to mp3). - Jan 06 2006