It would be better to get the information directly from the database for this plugin, using sqlite commands. Of courcse this involves using the db-connection probided by the Banshee API! greetz, Mathijs > Date: Mon, 9 Jun 2008 12:51:30 +0200 > From: patrys pld-linux org > To: banshee-list gnome org > Subject: Re: [Banshee-List] Fleow Plugin > > On Mon, Jun 9, 2008 at 12:44 PM, <infernux web de> wrote: > >> - the original Fleow plugins adds it's 'Engine' widget (the cover flow) as > >> next: InterfaceElements.MainContainer.PackEnd(...); What is the structure > >> of the GUI at the moment, and can I replace the album browser? I'be > >> browsed throuught the source code but couldn't find it immediately. > > The browser code should be in Banshee.Collection.Gui IIRC. I don't know if you can > > override the widget right now but even if not, I don't see why this could not > > become an extension point in the future. Gabriel, Aaron, what do you think? > > > >> - What is the database layout of Banshee? > > Go to ~/.config/banshee-1 and run "sqlite3 banshee.db .dump > banshee.db.sql" > > to get a text dump of you DB which should give you the basic idea. > > > >> More specifically where are the album covers stored (in the database? real files?) > >> or where can I find the information in the database! > > The cover art files are all stored in ~/.cache/album-art/ as individual files. The > > filenames are artist-album.jpg (with spaces and special characters stripped out). > > Have a look at src/Core/Banshee.Core/Banshee.Base/CoverArtSpec.cs for the > > details. > > Shouldn't this be exposed by the Banshee API instead of being read > from files on disk (which are an implementation detail)? > > -- > Patryk Zawadzki > PLD Linux Distribution > _______________________________________________ > Banshee-list mailing list > Banshee-list gnome org > http://mail.gnome.org/mailman/listinfo/banshee-list Blijf onderweg online met Windows Live for Mobile! Download 't nu op jouw mobiele telefoon. |