I'm trying to write a script that will take all the album cover art from banshee, which stores it all in one general folder (.cache/media-art) and uses the database banshee-1.db, and copy it into the appropriate folder in my actual music collection.
I will probably attempt this in java and I basically want it to work like this:
Code:
START PROGRAM copyalbumart
$folderName
$albumArt
$bandName
openfolder .cache/media-art
foreach ($albumArt as $picture){
$bandName =
$folderName =
copy $albumArt
open Music/$bandName/$folderName
paste $albumArt
close Music/$bandName/$folderName}
closefolder .cache/media-art
END PROGRAM copyalbumart
But I have no idea how to get the band name and album name variables from the banshee database. I think banshee uses sqlite3. How would I access the information? Thanks
Bookmarks