file_to_id() can stat the filepath to find the inode number (aka the song id). This is much easier than doing a bunch of lookups. What I really want to do eventually is get rid of file_to_id()...