GNOME Bugzilla – Bug 512232
printplaying doesnt work
Last modified: 2009-04-01 21:19:59 UTC
Please describe the problem: When I play a video file in Totem and open up a terminal to type 'totem --printplaying' the terminal just locks and does nothing and i have to press CTRL+C to kill it. Steps to reproduce: 1. Play any video file in Totem 2. Open up a terminal and type 'totem --printplaying' Actual results: The terminal locks and does nothing, which probably isn't what's intended. Expected results: Nothing really, which is exactly the problem. Does this happen every time? Yes Other information:
Regression from 2 years ago caused by that patch: http://svn.gnome.org/viewvc/libbacon/trunk/src/bacon-message-connection.c?r1=95&r2=96
Looks like the channel used in bacon_message_connection_send() is not the same that was used to receive the message in server_cb(). If Marco has any ideas. I tried fixing it, but could get anywhere.
Created attachment 103889 [details] [review] libbacon-message-connection-debug.patch Patch to test the functionality (similar to what Totem does). run ./testmsg in one terminal, run ./testmsg SAY in another one. It should print "Any reply" on the client side. Does when reverting Marco's patch. Maybe it's time to switch to D-Bus...
See also bug 576016 2009-04-01 Bastien Nocera <hadess@hadess.net> * src/totem-options.c (totem_options_process_for_server): * src/totem-options.h: Remove --print-playing, we have a D-Bus plugin to export that data now (Closes: #512232)