Please read lltag manual for more information. # Now it renames files this way: "song-number title", but this can be changed as liked, # The following will verify if we have chosen a cue file, and exits if notĮcho "Verifying file $i has a cue extension." Įcho "Warning: file $i is not a cue file. I suggest you to add the Eudoxos repositories ( yourubuntuversion main), or you may prefer to download this deb: "Įcho "flac not found, automatically installing"Įcho "cuetools not found, automatically installing."Įcho "shntool not found, automatically installing."Įcho "lltag not found, automatically installing." # This will check your system for dependencies, and install packages if neededĮcho "Monkey's Audio Codec is not in your system"Įcho "Do a Google search (it's easy to install, but it's not in the repositories). My english is not so good, but I think it can be understood, please, feel free to correct it and let me know the changes you might thing desirable: Thank you.Įcho "This bash script will convert and split ape files with associated cue files"Įcho "WARNING: THIS SCRIPT WILL INSTALL NECESSARY PACKAGES IF NOT ALREADY INSTALLED" Now, this is the english version, as requested by nafihsus. Lltag -yes -no-tagging -rename '%n %t' `ls split-track*.flac` Consultar el manual de lltag para más información. # Ahora renombra los archivos según el esquema "número de canción título", pero se puede cambiar como queramos, Shnsplit -o flac -f $FILENAME.cue $FILENAME.apeĮcho "Añadiendo información de etiqueta." # Verifica que hemos elegido un archivo cue y sale si no es asíĮcho "Verificando que el archivo $i tiene extensión cue." Įcho "Advertencia: El archivo $i no tiene extensión. Sudo aptitude update & sudo aptitude install lltag -y Sudo aptitude update & sudo aptitude install shntool -yĮcho "No tienes instalado lltag, instalando automáticamente." Sudo aptitude update & sudo aptitude install cuetools -yĮcho "No tienes instalado shntool, instalando automáticamente." Sudo aptitude update & sudo aptitude install flac -yĮcho "No tienes instalado cuetools, instalando automáticamente." Que añadas los repositorios de Eudoxos ( tuversióndeubuntu main), o queĮcho "No tienes instalado flac, instalando automáticamente." # Comprueba si se tienen todas las herramientas necesarias y las instala si es necesarioĮcho "No tienes instalado Monkey's Audio Codec."Įcho "Busca en Google, que hay mucha información (Es fácil de instalar, pero no está en los repositorios). (I apologize for my broken english).Įcho "Script para convertir archivos ape con hoja cue asociada en archivos flac sueltos"Įcho "ATENCIÓN: ESTE SCRIPT INSTALARÁ AUTOMÁTICAMENTE ALGUNOS DE LOS PAQUETES NECESARIOS PARA EJECUTARSE SI NO ESTÁN YA INSTALADOS." Then you can copy it into /usr/bin, so it can be accesible anytime, anywhere:Īny comment welcome. Just copy this in an empty file, rename it to something like apecue2flac, save it and make it executable by doing this: It also installs any package needed, except mac-port, but tells you how to do it. It basically converts an APE + CUE file in several FLAC files and renames and tags them using the information provided by the cue sheet. I'm spanish, so this script is in spanish too, but it's easy to understand, I think. I only registered to post this script, for I couldn't find anything that does this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |