You are not logged in.
Pages: 1
I prefer use flac files. And always convert other formats to flac.
This is my script for converting files.
cd 1988
echo Directory changed
cuebreakpoints *.cue | shnsplit -o flac *.flac &&
echo Files converted
cuetag.sh *.cue split-track*.flac &&
echo tags
cd ..
I know that this script is not good, but that is not a question.
After executing this script i need to rename files( cause they are split-track*.flac )
I use EasyTag to rename files. But now i shoul do it via ssh.
What programms may i use to do it?
Offline
Offline
This is gui programm, but i need CLI programm whitout X
Offline
There is a necrobumped thread which slipped the attention of our overly busy mods:
https://bbs.archlinux.org/viewtopic.php?id=64685
Don't post there, if you don't want to get a modedit, just use it as reference and continue here.
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
There is this nice script that I sometimes use (although I prefer ex falso) that is made by someone else on this forum (I forgot who, sorry!). Does the whole thing though, so perhaps you can implement it or just use the whole thing.
#!/bin/sh
# frontend for: cuetools, shntool, mp3splt
# optional dependencies: flac, mac, wavpack, ttaenc
# v1.3 sen
SDIR=`pwd`
if [ "$1" = "" ]
then
DIR=$SDIR
else
case $1 in
-h | --help )
echo "Usage: cuesplit [Path]"
echo " The default path is the current directory."
exit
;;
* )
DIR=$1
esac
fi
echo -e "\
Directory: $DIR
________________________________________
"
cd "$DIR"
TYPE=`ls -t1`
case $TYPE in
*.ape*)
mkdir split
shnsplit -d split -f *.cue -o "flac flac -V --best -o %f -" *.ape -t "%n %p - %t"
rm -f split/00*pregap*
cuetag.sh *.cue split/*.flac
exit
;;
*.flac*)
mkdir split
shnsplit -d split -f *.cue -o "flac flac -V --best -o %f -" *.flac -t "%n %p - %t"
rm -f split/00*pregap*
cuetag.sh *.cue split/*.flac
exit
;;
*.mp3*)
mp3splt -no "@n @p - @t (split)" -c *.cue *.mp3
cuetag.sh *.cue *split\).mp3
exit
;;
*.ogg*)
mp3splt -no "@n @p - @t (split)" -c *.cue *.ogg
cuetag.sh *.cue *split\).ogg
exit
;;
*.tta*)
mkdir split
shnsplit -d split -f *.cue -o "flac flac -V --best -o %f -" *.tta -t "%n %p - %t"
rm -f split/00*pregap*
cuetag.sh *.cue split/*.flac
exit
;;
*.wv*)
mkdir split
shnsplit -d split -f *.cue -o "flac flac -V --best -o %f -" *.wv -t "%n %p - %t"
rm -f split/00*pregap*
cuetag.sh *.cue split/*.flac
exit
;;
*.wav*)
mkdir split
shnsplit -d split -f *.cue -o "flac flac -V --best -o %f -" *.wav -t "%n %p - %t"
rm -f split/00*pregap*
cuetag.sh *.cue split/*.flac
exit
;;
* )
echo "Error: Found no files to split!"
echo " --> APE, FLAC, MP3, OGG, TTA, WV, WAV"
esac
exit
Offline
You can even use something like this.
Offline
Pages: 1