elfs: (Default)
[personal profile] elfs
One of my complaints about the iPod is that, unlike the Rockbox and related technologies, the iPod is completely dependent upon the iTunes database for navigation. It was impossible to just dump files into the iPod and get them to work the way you want.

Was. The absolutely coolest project came across my virtual desk this morning: FusePod. Linux has long had the capability to support FUSE, the Filesystem In Userspace project, which can take anything that can rationally be described as a heirarchy (and the iTunes.db does that) and lays it out as a filesystem, so that all the traditional and well-evolved filesystem tools can be used on it.

It works wonderfully. You mount the iPod as a filesytem normally, and looking into that path you see the usual iTunes.db-mangled layout. You then run fusepod, giving it both that path and a new mountpoint as arguments, and when you look at that new mountpoint you see the iTunes.db as the filesystem, like so:
# ls /mnt/music/ 
Albums/ Artists/ Playlists/ add_songs sync_ipod.sh*
All/ Genre/ add_files.sh* statistics
That's so cool I could just squee.

Using it is still a little twonky. You have to write the file paths into the symbolic link thing "add_songs," which is kinda like a directory and kinda not. It's a write-only path; when you check files into it, they appear in the other parts of the filesystem where they belong, under "Album", "Artists", and so on. Unfortunately, as of version 0.4, this doesn't happen automatically; you have to call a program to sync this wishlist with the on-pod iTunes.db before you unmount, but this is most definitely the correct step in the correct direction.

[Edit] Even better: There's now an unofficial gentoo ebuild for it! I installed it by hand, but this is just as good.

Date: 2006-06-14 01:43 am (UTC)
ext_3294: Tux (Default)
From: [identity profile] technoshaman.livejournal.com
Woot woot wootity WOOT! Thanks! (/me wonders if there's an Ubuntu Universe package yet :)

Date: 2006-06-14 04:33 am (UTC)
From: [identity profile] elfs.livejournal.com
If you've ever used GTKPod, it's actually more or less the same interface, I'm afraid, it's just done using Unix command-line level tools for writing to the filesystem, and a filesystem-like interface for reading files out of it. It's not quite the automated, smart filesystem we need, but like I said, it's a step in the right direction.

Date: 2006-06-14 07:28 am (UTC)
From: [identity profile] gromm.livejournal.com
That's so cool I could just squee.

Oh yes, and so could I.

In fact, that's almost as cool as some of the wacky shit I've done with ssh. ;)

Date: 2006-06-14 05:01 pm (UTC)
From: [identity profile] abostick59.livejournal.com
The only thing that would be cooler is if you could do that in Darwin.

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 03:10 pm
Powered by Dreamwidth Studios