Erik, On Mon, Aug 13, 2012 at 7:33 PM, Erik Massop <[email protected]> wrote:
> Dear Mark, > > On Mon, August 13, 2012 2:37 pm, Mark Watts wrote: > > I'm writing a simple client to learn ruby and processing a simple > > language (so why not use xmms2 :)) and I've run into a couple of > problems. > > The first is that attempting to call coll_query_info on a collection that > > uses a complement operator with `$myclient.coll_query_info(my_coll)` > > Doesn't coll_query_info take at least 2 arguments? > > Right, it's actually more like `coll_query_info(my_coll, %w<artist album title>) ` > results in an error: > > > >> ****** > >> * _internal_get_from_bb_value_of_type_alloc raised a fatal error: Got > >> messag > >> * This is probably a bug in XMMS2 > >> ****** > >> > > but does not exit, or else the call just hangs without any message so the > > message may be unimportant. > > but yes, that shouldn't happen and should be investigated. I can't > reproduce this behaviour though. Could you send or upload the code? > > The portion that's causing the error is pasted here --> http://www.pasteall.org/34497/ruby I know the collection built in that code snippet should get printed out in the command-line client since one that's structured similarly ("not_iosys" in the snippet) does. Neither collection query is successful in my script. > The second problem is that > > `$myclient.playlist.add_collection(my_coll).wait.value` gives an error in > > value.c line 295, but doesn't add the collection to the playlist. > > Is ".wait.error?" true? If so, does ".wait.error" give anything > interesting? > > It never gets out of `wait`, so I don't know. > I > > subclassed Xmms::Collection-- could that cause a problem? > > I don't know at this instant. > > Since It doesn't work with my stored collection either, I don't think that's it :/ > Regards, > > Erik Massop > > -- Regards, Mark Watts College of Natural Sciences University of Texas at Austin -- _______________________________________________ Xmms2-devel mailing list [email protected] http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel
