-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

Amakode

   1.9  

Amarok Script

Score 69%
Link:  Link
Downloads:  2550
Submitted:  Nov 4 2006
Updated:  Mar 31 2009

Description:

Amakode is a script for Amarok 1 to transcode music. It uses various external executables to do the grunt work which you will need to install separately using your package manager. More installation details on the home page.




Changelog:

Musepack support thanks to Luigi Curzi and Louis-Guillaume Fortin.

mp4 bug fixes thanks to Michael Morris.




LicenseBSD
(Amakode)
Send to a friend
Subscribe
Other  Apps  from tobydickenson
Report inappropriate content



goto page: prev   1  2  3  4 

-

 logs & weird errors

 
 by sulla on: Dec 12 2007
 
Score 50%

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??


Reply to this

-

 Re: logs & weird errors

 
 by DJOConnor on: Feb 13 2008
 
Score 50%

Amakode deletes the log if it thinks the transcode was successful. For it to think that the decoder/encoder must have exited with zero status.

I would say that Amarok is trying to transfer the files and failing somehow but it's hard to say why (filename issues maybe?)

If you want to double check amakode you can put a # in front of the line "os.unlink(self.errfname)" (line 246 in 1.4) and it won't delete the log file.


Reply to this

-
.

 converting problem

 
 by BuzzDee on: Dec 17 2007
 
Score 50%

Hello

I have a Problem with AmaKode while converting ogg to mp3 when I put some files on my iPod. The timeinformations in the mp3 file are wrong.iPod (and Amarok) tells me something between 15 and 25 minutes, but the song is only 5 minutes. However, if I use the tools ogg123 to make a wav and then lame to make a mp3, the time is right (with the same parameters as amaKode use). If I use the AmaKode Script the time is broken and some songs dont play correct. Have you any ideas?

Sebastian


Reply to this

-

 Re: converting problem

 
 by DJOConnor on: Feb 13 2008
 
Score 50%

Hmm, I haven't noticed that but I don't use an iPod.

The header for the mp3 will not have a length because lame is writing to a pipe when called from Amakode.

I don't really want to un-pipe Amakode because that would remove any advantage gained by a multi-core system.

You could try changing the lame options to use a fixed bitrate - perhaps the iPod only does a naive length calculation and assumes a fixed bit rate.

If you know of a tool that can fix up the mp3 post encode I'd be interested. I guess the other option would be to alter how the encoders run so they write a file directly.. (But pipes are the unix way :)


Reply to this

-

 Re: Re: converting problem

 
 by oiv on: Jul 10 2008
 
Score 50%

The same problem can be seen if the created mp3 is played with mplayer also. In my case I found it out when I was converting flac to mp3. I tested it and it seems that lame is creating something wrong when using pipe and abr or vbr.

My fix was to change the mp3 encode to
encode["mp3"] = ["lame", "-", "-"]
This fixed the problem.


Reply to this

-

 Re: Re: Re: converting problem

 
 by Arkad on: May 14 2009
 
Score 50%

Thank you for the tip, now my iPod displays tracks good length.

Great script.


Reply to this

-
.

 How to launch ?

 
 by nonolemono on: Dec 26 2007
 
Score 50%

Hello,

I can't figure out how to use this script.
No window appears, no context menu in the playlist ?

I'm getting nuts with this Hope someone could just give a quick answer.

Thanks a lot.
Nono


Reply to this

-

 Re: How to launch ?

 
 by DJOConnor on: Feb 13 2008
 
Score 50%

- Download amakode-1.4.amarokscript.tar.gz
- Run Amarok.
- Go to the Tools menu and select Script Manager.
- Click Install Script and point it at where you downloaded Amakode.
- Open the Transcoding tree on the right, click on Amarok and then click on the Run button.
- Click the Close button.

Once you do that you can set your media device up in Amarok and when it needs to transcode (ie depending on what options you've set) it will call Amakode.


Reply to this

-

 Convert to WAV

 
 by rws on: Feb 10 2008
 
Score 50%

Hello there,

I'm trying to automatically convert flac files from my collection to wav as my audio player cannot handle flac itself. The Encoding path flac->mp3 works flawlessly, but I fail to setup flac->wav as the script has no encoding option for wav. I'm not familiar with python, so maybe somebody can tell me how to simply "encode"/save the wav stream.

thx alot


Reply to this

-

 Re: Convert to WAV

 
 by DJOConnor on: Feb 13 2008
 
Score 50%

Edit the python script and look for "Programs used to encode" then add this just below it..
encode["wav"] = ["cat"]

(Make sure it is indented with the rest otherwise Python will puke)


Reply to this

-

 Re: Re: Convert to W

 
 by rws on: Feb 13 2008
 
Score 50%

thanks alot, that did the trick.

I already tried passing it to a program that simply does nothing without it, but miserably failed in doing so. Python's just not my world ;-)

For being the perfect script, only wav-tags are missing now. But that's something I can gladly live with.

Thx again!


Reply to this

-

 Re: Re: Re: Convert to W

 
 by DJOConnor on: Apr 22 2008
 
Score 50%

How do you read WAV tags? :)


Reply to this

-

 Re: Re: Re: Re: Conv

 
 by rws on: Apr 22 2008
 
Score 50%

well, I haven't gone too deep into it but my car stereo claims to be able to read Wave Tags (what ever that means).

So far, all I got on wav tags:

- amarok can't write them
- id3 seems to break the wav container
- there's something called broadcast wave which supports some kind of tagging
- a RIFF chunk should also work (no idea how)
- audacity claims to be able to edit meta info, but fails to do so (don't know why yet)

as soon a I find some way to add a tag to a wav file in commandline, I'll post it here

regards, rws


Reply to this

-
.

 New development

 
 by tobydickenson on: Sep 7 2008
 
Score 50%

Daniel has kindly allowed me to pick up maintenance of Amakode now that he is no longer using it. I have some bug fixes in the pipeline which I hope to have ready to release asap.

Please check out sourceforge for beta versions, or reporting any bugs.


Reply to this

-

 patch

 
 by popiet on: Sep 23 2008
 
Score 50%

Hello

I've had a problem using amakode : my system's locale are utf8 and when a tag contained utf8 characters I got an error like "ascii codec can't handle this". I simply added .encode('iso8859-15') to tags :

83,86c83,86
< self['album'] = self.tagInfo.album.strip()
< self['artist'] = self.tagInfo.artist.strip()
< self['title'] = self.tagInfo.title.strip()
< self['comment'] = self.tagInfo.comment.strip()
---
> self['album'] = self.tagInfo.album.strip().encode('iso-8859-15')
> self['artist'] = self.tagInfo.artist.strip().encode('iso-8859-15')
> self['title'] = self.tagInfo.title.strip().encode('iso-8859-15')
> self['comment'] = self.tagInfo.comment.strip().encode('iso-8859-15')
88c88
< self['genre'] = self.tagInfo.genre.strip()
---
> self['genre'] = self.tagInfo.genre.strip().encode('iso-8859-15')
89a90
>

hope you find it useful.


Reply to this

-
.

 Re: patch

 
 by tobydickenson on: Oct 6 2008
 
Score 50%

Hi, I already have a different fix for that problem in SVN. You may want to check out that beta version from sourceforge at http://sourceforge.net/svn/?group_id=238313

I expect version 1.6 including this fix to be released this week.

Thanks


Reply to this

goto page: prev   1  2  3  4 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.