Package Details: mp3ify 0.1-1

Package Base: mp3ify
Description: Converts directory structures with a lot of audio formats to mp3
Upstream URL: https://wiki.archlinux.org/index.php/Convert_Any_To_Mp3
Category: multimedia
Licenses: GPL
Submitter: memeplex
Maintainer: memeplex
Last Packager: None
Votes: 10
First Submitted: 2011-01-20 04:20
Last Updated: 2011-07-10 19:54

Dependencies (3)

Required by (0)

Sources

Latest Comments

Comment by hplgonzo

2015-01-21 07:09

In line 13 of PKGBUILD, use "package()" instead of "build()".

Comment by ptchinster

2014-06-07 21:17

Converting eitm_2014_06_06 (2).aac... Traceback (most recent call last):
File "<string>", line 6, in <module>
AttributeError: 'NoneType' object has no attribute 'get'
done.
Converting eitm_2014_06_03.aac... Traceback (most recent call last):
File "<string>", line 6, in <module>
AttributeError: 'NoneType' object has no attribute 'get'
done.

Comment by memeplex

2014-01-10 17:09

@j0n4t et al: to be honest I haven't been using this script during the last two years, but as my bash coding skills had gone a long way since then expect a full rewrite soon, if not for anything else at least for aesthetics. I'll reviewing all of your comments and suggestions at that point. Cheers, Carlos.

Comment by j0n4t

2014-01-10 16:33

It is possible use that to convert WMA.
In line 64 of the script mp3ify, where is read:

case $INPUT_EXTENSION in
flac|m4a|ogg|ape|aac|mpc)

add the WMA extension like this:

case $INPUT_EXTENSION in
flac|m4a|ogg|ape|aac|mpc|wma)

and it will convert wma as well.
I guess whatever audio extension mplayer supports could be put in here, not tested it yet.

Oh, just a side note, i did this and recieved some errors relative to no tags in file, maybe my files was not tagged or the mutagen part of the script can not read them from the files. For me, that was okay because i just needed the sound.

Sorry if any errors, my english is bad.

Comment by fiskus

2012-12-21 09:27

Well, to solve problem with "comment is not valid key" I removed mention of comment from soucre code. Ugly solution, but it works.

And I have another problem. Both Samsung Smart TV and Playstation 3 don't recognize id3 tags of tracks.

Comment by fiskus

2012-04-25 08:29

Hello.
I tried to convert my media library organized by beet http://code.google.com/p/beets/
and got error on every track:

mutagen.easyid3.EasyID3KeyError: "'comment' is not a valid key"

After removing 'comment' from /usr/bin/mp3ify -- there is all clear

Comment by innn

2012-03-06 07:46

does this also wma to mp3?

Comment by m45t3r

2011-07-10 21:45

Maybe it would be better to use package() instead of build(), since you don't really build anything.

And inside the function, this would be cleaner:
package() {
mkdir -p ${pkgdir}/usr/bin
install ${startdir}/mp3ify ${pkgdir}/usr/bin
}

Comment by memeplex

2011-07-10 19:58

Sorry, the script itself was missing in the tarball. I've uploaded an updated version with the script I'm currently using on a daily basis.

Comment by m45t3r

2011-07-10 19:40

v0.2 with some fixes and new functionality: http://pastebin.com/sMndnA9i

Comment by m45t3r

2011-07-10 18:23

@halfie, try this one: http://pastebin.com/vezKDGy9

Anonymous comment

2011-03-12 05:52

doesn't build.


$ yaourt -S mp3ify

==> Downloading mp3ify PKGBUILD from AUR...
x PKGBUILD


First Submitted: Thu, 20 Jan 2011 04:20:06 +0000
mp3ify 0.1-1 : Converts directory structures with a lot of audio formats to mp3
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mp3ify dependencies:
- lame (already installed)
- mutagen (already installed)
- mplayer (already installed)


==> Continue building mp3ify ? [Y/n]
==> --------------------------------
==>
==> Building and installing package
==> Making package: mp3ify 0.1-1 (Fri Mar 11 21:53:57 PST 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
cp: cannot stat `mp3ify': No such file or directory
Aborting...
==> ERROR: Makepkg was unable to build mp3ify.
==> Restart building mp3ify ? [y/N]
==> -------------------------------
==>
==> WARNING: Following packages have not been installed:
mp3ify