Image 01
profile-image

xeper

cord walter
transKode

Amarok 1.x Scripts by attendant 126 comments

Hello!

I mainly use transkode to convert music for my car stereo (ogg -> mp3-cd), but unfortunately this f*@!^H^H^H fine product ignores playlist and plays all tracks in alphabetical order.

I wonder if a variable could be added to the filename template that adds a number representing the position of the audio track in the current amarok playlist to the filename, e.g.
001_artist-track
002_artist-track
...
This would simplify making mix-cds for this kind of dumb audio players a lot...

-cord

- Aug 06 2007
Kid3

MP3 Taggers by ufleisch 218 comments

Hi!

I have the unfortunate combination of quite a lot of songs with non-ASCII Characters in their Tags/Filenames and a stupid MP3-Radio in my car that knows only 7-Bit-ASCII :(

Is there any funtion planned in kid3 that converts Filenames and/or Tags to plain ASCII? Otherwise I have to create a higly complicated .kid3rc...

Something like this:

StrRepMapKeys=$,&,*,.,/,:,,?,[,],`,{,},~,´,À,Á,,í,Ä,È,É,Ê,Ì,Í,Î,Ñ,Ò,Ó,Ô,Ö,Û,Ü,ß,à,á,â,ã,ä,ç,è,é,ê,ì,í,î,ñ,ò,ô,ö,ù,ú,û,ü,Ĉ,ĉ,ŝ
StrRepMapValues=,+,,,-,-,-,-,,(,),',(,),-,',A,A,A,A,Ae,E,E,E,I,I,I,N,O,O,O,Oe,U,Ue,ss,a,a,a,a,ae,c,e,e,e,i,i,i,n,o,o,oe,u,u,u,ue,C,c,s

-cord - Dec 30 2006
Audio Format Converter

Amarok 1.x Scripts by mlmitton 67 comments

This script is exactly what I have been looking for - however it does choke on Filenames/Tags that contain Unicode characters. Is this a problem with Audio Format Converter or with the encoder (in this case lame 3.96.1 from packman.links2linux.de)?

Error message is:

Traceback (most recent call last):
File "/srv/shares/home/cord/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 273, in ?
mainEncodeLoop(outputFormat, destination, fileNameConven, dom_plist, options, checkOverwrite, checkInEqOut, transSkip, neverOver, FIELDS, INPUT, error_log)
File "/srv/shares/home/cord/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 255, in mainEncodeLoop
doTranscode(infoPopup, decodeCommand, encodeCommand, rmWavCommand, transSkip)
File "/srv/shares/home/cord/.kde/share/apps/amarok/scripts/formatconverter.amarokscript/formatconverter.py", line 198, in doTranscode
os.system(infoPopup)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbf' in position 95: ordinal not in range(128) - Dec 09 2005