a2mp3-0.01/0000775000175000017500000000000011665351464011035 5ustar evanevana2mp3-0.01/a2mp3.1.txt0000664000175000017500000000163010353412457012650 0ustar evanevanA2MP3(1) ======== Michael Gebetsroither NAME ---- a2mp3 - program to optimize your music for your mp3 player SYNOPSIS -------- *a2mp3* [OPTIONS] 'FILE' 'FILE' ... DESCRIPTION ----------- *a2mp3* is a program that Automates the task of optimizing your music to the needs of your mp3-player and keep the size at a minimum. It converts all files given at commandline to your personal folder given in your configfile. The default folder is ~/mp3tmp. OPTIONS ------- *-h*:: Show summary of options. *-v*:: Show what is going on (more v => more out). FILES ----- */etc/a2mp3.conf*:: The main config file, adjust it to your needs *~/.a2mp3.conf*:: If existing this file will be sourced after the main config file. SEE ALSO -------- lame(1) AUTHOR ------ a2mp3 was written by Michael Gebetsroither . This manual page was written by Michael Gebetsroither . a2mp3-0.01/a2mp30000775000175000017500000001175011164201612011670 0ustar evanevan#!/bin/sh # Filename: a2mp3 # Purpose: Program to optimize various music formats to mp3 for mp3-players # Authors: (c) Michael Gebetsroither # License: This file is licensed under the GPL v2. # Latest change: Sat Dec 24 15:04:59 CET 2005 ################################################################################ ### ### __INCLUDES ### . /etc/grml/sh-lib #. /etc/grml/sysexits-sh ### ### __VARIABLES ### verbose_=0 USER_="`id -un`" CONF_FILE_='/etc/a2mp3.conf' UCONF_FILE_="/home/${USER_}/.a2mp3.conf" OUT_DIR_="/home/${USER_}/mp3tmp" # output directory for encoded mp3 files TMP_="" # tmpfile MP3_='lame' MP3_OPTS_='-h -V7 --quiet' test -r "$CONF_FILE_" && . "$CONF_FILE_" test -r "$UCONF_FILE_" && . "$UCONF_FILE_" ### ### __FUNCTIONS ### printUsage() { cat <