Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-22 Thread Michael Gratton
On 23/03/10 09:09, Samuel Skånberg wrote: Now I'm wondering, is there any documentation on these methods I get from the command, for instance getPlayingUri? Or is the xml file the only documentation? And with that said, can I "only" use the method defined in the introspect files? So if I need mo

Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-22 Thread Samuel Skånberg
ox-om-the-d-bus/ --- Den mån 2010-03-22 skrev Michael Gratton : Från: Michael Gratton Ämne: Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets Till: rhythmbox-devel@gnome.org Datum: måndag 22 mars 2010 00.12 On 22/03/10 07:23, Samuel Skånberg wrote: > > If I r

Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-22 Thread Samuel Skånberg
Thanks for the fast reply! Dbus sounds nice. Is there a good place to start? Would I still have to develop a plugin or can I skip that totally? --- Den mån 2010-03-22 skrev Michael Gratton : Från: Michael Gratton Ämne: Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network

Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-22 Thread Samuel Skånberg
Ahh, that would solve it. Thanks for the reply! --- Den sön 2010-03-21 skrev Jonathan Matthew : Från: Jonathan Matthew Ämne: Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets Till: "Samuel Skånberg" Kopia: rhythmbox-devel@gnome.org Datum: söndag 21

Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-21 Thread Michael Gratton
On 22/03/10 07:23, Samuel Skånberg wrote: If I run my cli app that connects to the plugin and issue "play" and then "pause" a couple of times, rhythmbox crashes and segfaults. Any ideas why or what I could do instead? Programming with whreads are generally error prone and is best avoided. Is

Re: [Rhythmbox-devel] Rhythmbox crashes when using threads and network sockets

2010-03-21 Thread Jonathan Matthew
2010/3/22 Samuel Skånberg > > Hi, > I have started to develop a command line interface to rhythmbox called > rhythmcurse: http://github.com/sameltvom/rhythmcurse. > The plugin spawns a thread that listens for network connection. If a > connection is being made by a client (the actual cli applica