On Mon, 2006-06-19 at 12:01 -0700, Adam Zimmerman wrote: > sys:1: GtkWarning: gtk_tree_selection_count_selected_rows: assertion > `GTK_IS_TREE_SELECTION (selection)' failed > sys:1: Warning: invalid unclassed pointer in cast to `GObject' > sys:1: Warning: instance with invalid (NULL) class pointer > sys:1: Warning: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE > (instance)' failed
That was another "forget to remove idle callback when finalised" bug, it's fixed now. > I'll also get in touch with John at Magnatune and ask for a partner id > and get info on how the purchase API responds. It might be worth asking if there is a compressed version of the .xml file available too, for example a gzipped version is ~270kb instead of 5.8Mb - and that would save a lot of bandwidth. If there is anything he needs to know about Rhythmbox which you don't feel up to answering, feel free to pass my address on. On a related note, we can probably do some other things to reduce the bandwidth. The most obvious would be caching the xml file as ~/.gnome2/rhythmbox/magnatune/song_info.xml (or whatever) and only downloading it every now and then, and in the background. We could probably send the HTTP magic needed to get the "it hasn't changed" response, so we know not to update. > I still need to figure out a way to attach the album's sku string to an > entry so that it can be purchased. Rhythmbox supports attaching extra data, but it's not currently exposed to Python. One method of doing it (which would be fairly simple) would be to give each entry a dictionary, accessable via "entry.data" or something - how does that sound? James "Doc" Livingston -- "The Web brings people together because no matter what kind of a twisted sexual mutant you happen to be, you've got millions of pals out there. Type in 'Find people that have sex with goats that are on fire' and the computer will ask, 'Specify type of goat.'" -- Rich Jeni _______________________________________________ rhythmbox-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
