-
 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  .- Knowledge Base  . 

Audio Format Converter

   0.7.0  

Amarok Script

Score 79%
Audio Format Converter
zoom


Link:  http://mlmitton.com
Downloads:  20581
Submitted:  May 2 2005
Updated:  Apr 28 2007

Description:

This script allows you to convert the audio format of the tracks in the playlist. The script takes a snapshot of the current playlist. Once the conversion has started, you can go back to using amaroK normally.

Supported files for both input and output include .flac, .ogg, .mp3, .mpc, .m4a, and .wav. Additionally, .wma, .ra, and are supported for input. (See below for the required packages.)

I don't know how to do anything with metatags from .wma or .ra. All I know is tags will get transferred to the output file if and only if the tags show up in the amaroK playlist. If they aren't there, I suggest converting the files, then using a real tag editor like Easy Tag to put them in to the converted files.

This has only been tested on amaroK 1.2.4, but it should work on any amaroK>=1.2

The original files are NOT deleted. If the output file will overwrite an existing file, a dialog will appear to ask you whether to go ahead and overwrite or to skip the track. If you try to convert a file into the format it's already in, a dialog will ask you how to handle this situation.

Depending on the number of tracks and the speed of your computer, this can take a long time to run. With each track, a passive popup will let you know what track it's processing. At any time, you can stop the script by clicking 'stop' in the amaroK script GUI.

Required Packages:
lame -- for .mp3 in and out
flac -- for .flac in and out
oggenc -- for .ogg out
oggdec -- for .ogg in
mppenc -- for .mpc out
mppdec -- for .mpc in
mplayler -- for .wma or .ra in
faad -- for .mp4/.m4a in
faac -- for .m4a out




Changelog:

v 0.7.0
++++++
The improvements in this release are due to Frederick Schaer, and I (we) thank him for his help!

The improvements are: 1) It now should handle full utf-8 character encoding for all the usual tags. 2) It corrects the error noted in the comments below about IndexError/AttributeError--something which I believe only affects more recent versions of Python.

v.6.2
++++++
For myriad reasons, a file can fail to convert but the script will continue on with the next file (as intended--I don't want one corrupted file to stop a 1,000 file batch). There is now an error log in the top-level directory where your transcoded files are saved that lists any files that failed to convert.

v.6.1
++++++
--amaroK switched the track number xml tag in their playlist from "TrackNo" to "Track". This catches up with the change, but should still work on versions earlier than 1.3.

v.6
++++++
--Fixed a piping bug that could cause the script to stop after a couple of files.
--Added a check for whether the output format is the same as the input format, with a dialog for how to handle this situation.
--Added a few more included options for encoders (OTHER still allows you to set your own options.)




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from mlmitton
Report inappropriate content



goto page: prev   1  2  3  4  5  6 

-

 Constant overwrite

 
 by moxie on: Jul 9 2007
 
Score 50%

The scripts fails to operate when amarok can't find album/artist information. In my case a folder with .wav files (loreena mckennit album). Amarok only shows the title of the song, nothing else. This will cause the script to create a file called 00_.mp3 which it then overwrites at each song. When amarok does find all the album/artist information it works great.


Reply to this

-

 Re: acute accent

 
 by gzu on: Jul 25 2007
 
Score 50%

Some of my files have the acute accent Hex 60/decimal 96 character used instead of the single quote 27/39 and it is causing problems (crashes). Can these be automatically replaced.

Thanks,

GZU


Reply to this

-

 error

 
 by s4ik0 on: Jul 26 2007
 
Score 50%

got this output from the error

probably something is missing (i'm not using KDE...):

sh: kdialog: command not found
sh: kdialog: command not found
sh: kdialog: command not found
sh: kdialog: command not found
Traceback (most recent call last):
File "/home/.../.kde/share/apps/amarok/scripts/formatconverter0.7.0.amarokscript/formatconverter0.7.0.py", line 286, in <module>
outputFormat, destination, fileNameConven, error_log = configure(inPacks, outPacks)
File "/home/.../.kde/share/apps/amarok/scripts/formatconverter0.7.0.amarokscript/formatconverter0.7.0.py", line 56, in configure
fileNameConven = int(os.popen("kdialog --menu \"Please select the naming convention for your files.\" \"1\" \"[base directory]/trackno_title.[ext]\" \"2\" \"[base directory]/Artist/Album/trackno_title.[ext]\" \"3\" \"[base directory]/artist_album_trackno_title.[ext]\" ").readline()[:-1])
ValueError: invalid literal for int() with base 10: ''


Reply to this

-

 error

 
 by s4ik0 on: Jul 26 2007
 
Score 50%

got this output from the error

probably something is missing (i'm not using KDE...):

sh: kdialog: command not found
sh: kdialog: command not found
sh: kdialog: command not found
sh: kdialog: command not found
Traceback (most recent call last):
File "/home/.../.kde/share/apps/amarok/scripts/formatconverter0.7.0.amarokscript/formatconverter0.7.0.py", line 286, in <module>
outputFormat, destination, fileNameConven, error_log = configure(inPacks, outPacks)
File "/home/.../.kde/share/apps/amarok/scripts/formatconverter0.7.0.amarokscript/formatconverter0.7.0.py", line 56, in configure
fileNameConven = int(os.popen("kdialog --menu \"Please select the naming convention for your files.\" \"1\" \"[base directory]/trackno_title.[ext]\" \"2\" \"[base directory]/Artist/Album/trackno_title.[ext]\" \"3\" \"[base directory]/artist_album_trackno_title.[ext]\" ").readline()[:-1])
ValueError: invalid literal for int() with base 10: ''


Reply to this

-

 Re: error

 
 by TGM on: Aug 14 2007
 
Score 50%

Install kdebase-bin. That'll give you kdialog.


Reply to this

-

 Re: Re: error

 
 by bugmenot1234 on: Jan 27 2009
 
Score 50%

Thank you very much!!

Worked with Ubuntu 8.10 !!!!


Reply to this

-
.

 Problem with ogg

 
 by diogorg on: Oct 29 2007
 
Score 50%

I`m using the script to convert mp3 in ogg, and when I use on quality options the value 3 or 6, i get the musics ok, but when I chose the option "OTHER", and type any number (like 4 or 5), i get errors.

I look the script, and found the line that show the options, and for me I increment the options to 4 and 5. But, do you have any ideia to use the OTHER option?


The script is amazing, nice job.
And thank you.


Reply to this

goto page: prev   1  2  3  4  5  6 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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.