Category: computers suck
-
demented tiles for demented people
I’d totally put these up on my walls, but I may end up climbing them:
I made them by taking 32×32 pixel tiles of random grey noise, Atkinson dithering them (using pamditherbw) then vectorizing them using potrace. If you click on the tiles, you can download/view the PDF source of each.
(pgmnoise, the source of the grey noise, relies heavily on the system time as its seed. Before I introduced a delay between image generation, several images appeared almost identical.)
-
cleaning up your FireFly Media Server database
mp3 tagging is a minefield. Like all metadata, one has to balance obsession with detail against ease of acquisition.
Some Firefly clients are pickier than other about tagging. Regrettably, some of the music I get from emusic has bad characters in the tags, which throws the players right off. Finding the problem files is the majority of the problem – here’s a method that at least helps:
wget -O- http://host:port/rsp/db/1 | perl -pwe 's,<(?![/\?]),\n<,g;' > firefly.xml
xmllint --noout firefly.xml
You’ll likely get a few lines like:
firefly.xml:463415: parser error : PCDATA invalid Char value 65535
<title>�Singing in the Bathtub</title>
In this case, the song title tag has some junk characters in it that you’ll need to fix. After cleaning up the tags and rebuilding the database, try this process again to see if you’ve caught all the errors. -
y’know, just in case you were interested …
FactoryDirect.ca has rockboxable Sandisk Sansa E250‘s for under $50 – including 4GB of microSD cards.
-
iTunes ate my iPod!
Kind of what my iPod now does, until the battery runs out I have, well had, a 2GB second-gen iPod Nano. Now I have a very slim brick.
When I upgraded to iTunes 8, it offered an update for my iPod. I let it do its thing, then resync’ed it. I noticed that the iPod rebooted after the sync — no big deal — but then kept rebooting (back and forth …) forever.
I tried resetting it; nope, it would just start doing its thing again.
I tried putting it into disk mode, then restoring it; nope, back and forth, back and forth …
In desperation, I tried restoring it on a PC, which needed to reformat the iPod. Partial success; it sync’ed music from the PC, but since my working music library is on my iBook, I had to restore and resync, and guess what? back and forth, back and forth …
I’d heard that the problem could be caused by empty podcast folders, so I cleared out and rebuilt my library, put the iPod into disk mode and restored it on a PC, resync’ed on the iBook and … back and forth, back and forth …
As a last try I’m going to fsck it under Linux. I might be stuck using yamipod, which is probably a bonus, as all I use iTunes for is as an iPod conduit. I really miss having a Rockbox-capable player, as it just worked the way I expected.
UPDATE: yeah, that last one did it. Shame about yamipod’s UI.
-
dual monitor + virtuawin = 13,312,000 virtual pixels of awesome
VirtuaWin adds joy to my desktop: using my 1280×800 laptop with a Dell 1920×1200 flat panel with four workspaces, I’ve got over 13 million pixels at my command. I have the laptop screen dedicated to my Vestas Online Busines SCADA session, so by making the SCADA window sticky, it’s always visible as I move from workspace to workspace on my big screen.
Shame the underlying OS blows pickled pineapple, though.
-
ffms2m3u.sh – create playlist for all files on a Firefly Media Server
ffms2m3u – create playlist for all files on a Firefly Media Server.
If you run Firefly Media Server, you can run this script to create an M3U of all the tracks on your server. You can play this in most audio players; VLC likes it, as does iTunes (though big playlists take an age to load). Rhythmbox and the default Ubuntu Movie Player won’t touch my playlist of over 17,000 tracks.
To configure the script you need to edit three lines:
# where the Firefly database lives
DATABASE="/usr/var/cache/mt-daapd/songs3.db"
# server domain name or IP address
SERVER="server.example.com"
# Port to talk to server - don't leave blank
PORT="3689"
If you’re running Ubuntu, you’ll probably only need to change the SERVER line. It spits the M3U playlist, ordered by album, to stdout. Note that in the default Ubuntu install, regular users can’t read the database file.If you’re running this from a cron job, it’s probably a good idea to fill in the real paths for sqlite3 and awk.
-
me, the fried tie dye
I had to pass unnoticed in Eugene, so I bought a tie-dye shirt from Maggie’s Farm. I like it.
-
it is done
1626 Artists / 1124 Albums / 17082 Tracks / 39.4 Days / 70.15 GB.
That was a lot of ripping.
-
i’d like to apologize
for submitting The Music Tapes‘ Music Tapes for Clouds and Tornadoes to freedb under the genre reggae; all the other genres I tried had a disc ID clash.
Above all, though, draw a tiny musical note on your acorn.
-
less than 100 CDs to go …
1492 Artists / 999 Albums / 15245 Tracks / 34.9 Days / 62.12 GB
(and here’s me thinking I had about 2000 CDs, too)CDs that wouldn’t read: 0 (so far). That’s not to say that there weren’t some difficulties (copy-controlled CDs can go die, glitching and gronking in my drives) and my oldest CD (XTC’s Skylarking, my copy of which I think has just turned 20) had a ton of retries.
Lost CDs: Thomas Dolby’s Aliens Ate My Buick is somewhere in the house, but nowhere I’ve looked.
Found CDs: My long-lost promo copy of the (Portland) Decemberists’ Picaresque, which I thought had vanished in a road trip to Missouri. It was lurking in a long-forgotten portable CD player in the bottom of a storage bin.
Pleasant surprises: that freedb is generally better than it used to be.
Peeves: copy-controlled CDs (see above); flappy cardboardy cases that only have the title on one spine; oversized CD cases (Japanese imports, I’m looking straight at you), dark blue text on a black background, idjit freedb submitters who insist on Band, The syntax or worse, submit whole albums called sdfsdf;aefhsdf; bonus DVD “premium” releases (who watches these?).
-
an appropriate use of company time
$ pbmtext Hello | pnmcrop | pnmtopnm -plain | tail +3 | tr '01' ' #' ### ### ## ## # # # # # # # # # # ## # # ## ###### # # # # # # # # #### # # # # # # # # # # # # # ## # # # # # ### ### ### ###### ##
-
song counts
1332 Artists / 774 Albums / 12074 Tracks / 27.1 Days / 47.34 GB
— and the sad thing is, this would barely half fill a current iPod. -
ripping dvd audio with Ubuntu
With more than a little help from How to Rip DVD audio to mp3 or ogg — Ubuntu Geek, here’s how I’d rip audio from a DVD:
for f in $(seq 1 12)
do
transcode -i /dev/sr1 -x null,dvd -T 1,$f,1 -N 0x1 -y null,wav -m $(printf "%02d" $f).wav
done
Your track count and device name will vary. You’ll note that I caved, and used the annoying $(…) syntax instead of good old-fashioned backticks (which some youngsters will claim are deprecated, but I claim as job security). WordPress munges those badly, so we’re stuck with the ugly.
You could use livemp3 to convert to mp3s (if I remembered to upload the version that handles wav files) under controlled circumstances. -
emusic: where Canada still means more expensive and second-rate
I’m not going to get all Swindleeeee!!!!! about it, but I’ve noticed a few things missing in the new emusic Canada site. I lost all my MP3s in the break-in, but I thought I’d downloaded all of the ones I’d bought from emusic a couple of days ago.
Not so. For unexplained reasons, I got humming The Whole House is Singing, and I thought I needed to listen to some Alasdair Roberts. Couldn’t find it in the share, so I went back to emusic to download it again, and rats!, it’s gone. So here’s some music I’ve paid for, but now emusic (champions of no-DRM) can’t make good on their promise to let you re-download everything you’ve bought.
(I’ve also noticed that most of the Deva Premal tracks [hey, they’re Catherine‘s] have gone, but have had no compulsion whatsoever to hum them …)