-
recent posts
Categories
-
RSS Links
links,friends
me
Archives
tags
1984 2600 advertising amazon appadurai art artist atomic-theory authorship b-list barthes basketball Bend blog book california career celebrity censorship Columbia communication computer computer-science computers connecting create css culture death deck definitions deibert dewey digitial Dingle distribution documenting doomsday Dublin education encyclopedia enlightenment famous fascism filming foss France freedom friends future gallery globalization google GOProject grad-school graphics greek grief gtd havelock history history-of-communication Hitchens hitler homer html hungary images india inquiry instructional-technology interesting internet jingoism jonassen Joyce kindle kurzweil labor language lanier law learning leaving lifehack lightbox linux lucky-life math mathematics math teaching mccain me medals media meg Megan memory metaphors mimesis mindmapping mindtools music myth nba NYC obama obsessive ocean olympics open-source operating-system paper philosophy plato play playwrighting plugin poetry project propaganda protest ratpoison reformation religion republic research revolution scaffolding science socrates standards stats stories story TC teaching technology theater Tom tool tools tradition victory web webdev website wordpress writer zenphoto-
Meta
music mix-indices
mix at mirror 1
mix at mirror 2
(These links will be dead in like a week, as I’m using one of those temporary file upload places.)
This is not a party mix, or a sleep mix. It is for citywalking and traintaking.
I decided against open standard .oggs because I think most of you will use a music player that doesn’t recognize them. So they are mp3s. boo.
finally figured out the problem I was having with the damn tags. Every time I would try to open the mix in Itunes things would go awry (I don’t use Itunes, I use cplay and mplayer). Turned out I was only editing the id3v1 tags, and the id3v2 tags were trumping them (in itunes, at least).
So I installed me some ‘id3v2‘. that’s the one for linux, and other unixs. it was letting me edit them from the command line, which is what I wanted (well, I wanted a curses interface because I am fearful, but the goal is cli). So I needed a script. Found a great one that worked first time from a ‘creaky joe’ on the murga-linux forum. It instantly filled in artist, album, track, and importantly, took the filename, stripped the extension, and made it the title. great.
now I can look into the script and see what made it happen. it’s pretty simple I think. here it is. I hope it helps some cli learner somewhere. GUI tag editors are stupid.
#!/bin/bash#
# tag-mp3-id3v2.sh
#
# Tags every .mp3 in the current directory with the band and
# album names, and creates a song title by stripping
# the .mp3 extension from the file name.
#
# Use as follows: tag-mp3-id3v2.sh Artist Album
# (Make sure relevant Artist & Album are input to the script).
#
# Am using id3v2 Type 2 tags for everything EXCEPT Podcasts
# as my 1GB Sony NWD-B103 player can ONLY use id3v2 Type 1 tags.
#
# My 2GB Sansa Clip+, 30GB Creative Zen Vision M, and 4GB Philips GoGear are perfectly
# fine with Type 2 tags.
# XBMC is also perfectly fine with Type 2 tags (both on xbox XBMC and PC XBMC).
#
#
pdir=`pwd`
echo
echo "Current directory is '$pdir'"
echo
if [ $# -ne 2 ]
" >&2
equates to 'Artist'"
equates to 'Album'"
then
echo "Usage: $0
echo "Make sure
echo "Make sure
exit 1
fi
echo $1
echo $2
echo
fcount=0
for i in *.mp3; do
let fcount=fcount+1
SONG=`basename "$i" .mp3`
id3v2 -2 -T $fcount --album "$2" --artist "$1" --song "$SONG" "$i"
done