Changeset 360c0d9472708134d80c9207b1cabb3edc140157

Show
Ignore:
Timestamp:
07/18/07 06:29:02 (1 year ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1184732942 +0000
git-parent:

[4261df82c937df0d13c4a86cc4aba5838fc9f0be]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1184732942 +0000
Message:

D-Bus: "org.mpris.vlc" adjustement.
Patch from Mirsal, as often.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • NEWS

    r2265cda r360c0d9  
    9797   * Improved mouse gestures 
    9898 * Unix 
    99    * Allow only one running instance, using D-Bus interface (experimental)
     99   * Allow only one running instance, using D-Bus interface
    100100   * D-Bus Interface (experimental) implements the MPRIS  
    101101     (Media Player Remote Interfacing specification), a common dbus control  
  • src/libvlc-common.c

    r79de69c r360c0d9  
    606606        else 
    607607        { 
    608             /* check if a Media Player is available 
     608            /* check if VLC is available on the bus 
    609609             * if not: D-Bus control is not enabled on the other 
    610610             * instance and we can't pass MRLs to it */ 
     
    612612            DBusMessage *p_test_reply = NULL; 
    613613            p_test_msg =  dbus_message_new_method_call( 
    614                     "org.freedesktop.MediaPlayer", "/", 
     614                    "org.mpris.vlc", "/", 
    615615                    "org.freedesktop.MediaPlayer", "Identity" ); 
    616616            /* block until a reply arrives */ 
     
    641641 
    642642                    p_dbus_msg = dbus_message_new_method_call( 
    643                             "org.freedesktop.MediaPlayer", "/TrackList", 
     643                            "org.mpris.vlc", "/TrackList", 
    644644                            "org.freedesktop.MediaPlayer", "AddTrack" ); 
    645645