profile-image

sulla

Wolfgang Sailer
Amakode

Amarok 1.x Scripts 48 comments

Score 50%
50 Likes
50 Dislikes
Mar 31 2009
Hi!

I observe a stange and irreproducible behaviour with amakode 1.3. I remember, I also had it with 1.0, so the problems must be in the original code somewhere:

Ocasionally I get errors, I think it is the file-copying after the coding, because amacode works on the file for some time and then amarok spits out an error message saying: copying of the file "///file:/tmp/transcode-1234.mp3 to /media/sda1/music/test.mp3 failed"

I tried to catch the log file from /tmp/transcode-12345.log, but this file gets *deleted* immediately after the error message is displayed in amarok. In contrast, the coded output *.mp3 file is not removed from /tmp. I believe the behaviour should be the other way round...

So, I end up with an amarok transfer queue window with 90% of the files successfully transferred and 10% not. Those failed files remain in the window, and if I transfer them again, they get re-coded successuflly in 90% of the cases. So, after a few tries all my music is re-encoded successfully...

Very strange, isn't it?? - Dec 12 2007
Hi!

A truly great script. It does what its supposed to do!

However, the typo (the forgotten comma) as mentioned above is still present in the script as of version 1.0 on 2007-08-19. A corrected version 1.0.1 would be nice.

Otherwise a *GREAT* script!

==========================
A suggestion to speed things up a bit:

Transcoding is a CPU-intensive job, I know. Is there a way to transcode certain formats directly into each other (ogg to mp3), i.e. without the intermediate step of conversion through a WAV file? This could speed up the process.

Also, could you rewrite the script so it uses multi-core CPUs? My CPU0 goes to 100% load, CPU1 stays at 1%... e.g. by calling the external transcoding programs in a way that they use a multi-threading mode? If this is not an option, could you make your script transcode as many tracks as there are processors in parallel? Like e.g. if you have 10 files in your job, you could start by sending 4 conversion jobs to a quad-core CPUs, and if one core finishes send the next job to it?

That would do the trick. And it might be easy to implement by adding a control-layer over the top conversion class which calls the conversion jobs and assigns them to a specific CPU.

Greetinx, Sulla - Aug 19 2007
ScroogLyrics

Amarok 1.x Scripts 51 comments

Score 50%
50 Likes
50 Dislikes
Jan 18 2008
Hi!

Could you add
www.lyricwiki.org
to the sites that are searched? It should have a clean api. The song's page is http://www.lyricwiki/artist/songname
Also, you could check the amarok script "lyricwiki" to see how they do it.

Otherwise a fine script,
Greetinx,
sulla - Dec 11 2007
Free Disk Space Applet

System Software 33 comments

Score 72%
72 Likes
28 Dislikes
May 20 2005
I wanted to
./configure --prefix=$(kde-config --prefix)
and received the error
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
Is this because Kubuntu Edgy Eft ships with Xorg 7.1? - Dec 01 2006
Kima - kicker monitoring applet

KDE 1.-4. Improvements 360 comments

by kenws
Score 82%
82 Likes
18 Dislikes
Aug 20 2007
I tried to compile it, but got the error when doing a ./configure --prefix=/usr:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
Is it probably because Kubuntu Edgy ships with X11 7.1 ? - Dec 01 2006