Here is how I think it should be implemented:
1) rhythmbox should use GApplication to implement a few GAction like "play".
2) rhythmbox should install a .service file to be dbus-activatable
3) rhythmbox should install a org.gnome.Rhythmbox.desktop file that tells the actions it implements. See http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s07.html
4) Unity can then start rhythmbox and play by invoking the "play" action on rhythmbox, using g_desktop_app_info_launch_action().
Here is how I think it should be implemented: Rhythmbox. desktop file that tells the actions it implements. See http:// standards. freedesktop. org/desktop- entry-spec/ latest/ ar01s07. html app_info_ launch_ action( ).
1) rhythmbox should use GApplication to implement a few GAction like "play".
2) rhythmbox should install a .service file to be dbus-activatable
3) rhythmbox should install a org.gnome.
4) Unity can then start rhythmbox and play by invoking the "play" action on rhythmbox, using g_desktop_
Most of the work should be done upstream IMHO.