Re: [Banshee-List] Browse Plugin



Oscar,

I tried the patch and got the same results as Magnus and added the InfoType.cs file and
it works :)  I've managed to make it crash tho.  Here's what happened:

Opened banshee. I already have a few albums in the library and after clicking on a few artists or genres or albums, it will only show a single track in the list below. Once I click back on All at the top of the column, banshee crashes immediately and spits
the following to the terminal:
--------------------------------------------------------------------------------
(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: _gtk_rbtree_reorder: assertion `tree->root->count ==
length' failed

(Banshee:1067): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion
`GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed

Unhandled Exception: System.Exception: Unknown type
in <0x0068c> GLib.Value:get_Val ()
in <0x00068> Gtk.TreeModelSort:GetValue (Gtk.TreeIter,int)
in <0x00041> Banshee.PlaylistView:IterTrackInfo (Gtk.TreeIter)
in <0x00037> Banshee.PlaylistView:TrackCellInd
(Gtk.TreeViewColumn,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
in <0x00083> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_TreeViewColumn_CellRenderer_TreeModel_TreeIter
(Gtk.TreeViewColumn,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
in <0x00147> GtkSharp.TreeCellDataFuncWrapper:NativeCallback
(intptr,intptr,intptr,Gtk.TreeIter&,intptr)
in <0x00045> (wrapper native-to-managed)
GtkSharp.TreeCellDataFuncWrapper:NativeCallback
(intptr,intptr,intptr,Gtk.TreeIter&,intptr)
in (unmanaged) 0xb7137ec1
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x005a6> Banshee.BansheeEntry:Startup (string[])
in <0x0000a> Banshee.BansheeEntry:Main (string[])
------------------------------------------------------------------------------

Have you seen this before?

Also, I'm curious to make this work with DAP devices. I have a NJB device and had it sorta working with banshee, and I'm looking into making this patch update the njb and (hopefully) ipod stuff as well. From the looks of it, the album/artist/genre fields are now stored with both an ID and the string, and the njb/ipod stuff needs to be updated to access the name part of the datatype correctly. Am I right in assuming
that?  If so...you'll probably get a little patch from me soon :)

That's all for me now...

Patrick van Staveren
--
Patrick "Trick" van Staveren
Western Michigan University
AIM: goofyassmoose
http://www.trick.vanstaveren.us/


----- Message from oforero novell com ---------
   Date: Wed, 01 Mar 2006 14:07:10 +0100
   From: Oscar Forero <oforero novell com>
Reply-To: banshee-list gnome org
Subject: Re: [Banshee-List] Browse Plugin
     To: banshee-list gnome org, magnus grand1982 com


Hi,

It is not a plug-in, it changes some stuff in the banshee itself, the second part is that it will be kind of expensive because of banshee reloading the model on every change; Because of that i have evolved that into the normalized version and because it makes some heavy changes in classes like PlaylistModel and PlaylistView it guess it will take some time
before Aaron can accept that (if accepted at all).

If you want to check the Browser apply the normalized patch in a clean 0.10.6 and then follow the normal install procedures, it will create a new DB file (banshee2.db) into <home>/.gnome2/banshee/ ; the old one will be left intact. Feel free to tested and tell me what you think, even if you think it sucks ....

regards,

Oscar.

magnus grand1982 com 03/01/06 1:34 pm >>>
Hi!

I saw that Oscar had created a browse plugin with rhythmbox "like"
browsing support in banshee. Will this plugin be included in the src
tree? How could I compile Banshee with this plugin today?

Magnus

_______________________________________________
Banshee- list mailing list
Banshee- list gnome org
http://mail.gnome.org/mailman/listinfo/banshee- list




----- End message from oforero novell com -----






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]