Changeset 360c0d9472708134d80c9207b1cabb3edc140157
- 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
| r2265cda |
r360c0d9 |
|
| 97 | 97 | * Improved mouse gestures |
|---|
| 98 | 98 | * Unix |
|---|
| 99 | | * Allow only one running instance, using D-Bus interface (experimental). |
|---|
| | 99 | * Allow only one running instance, using D-Bus interface. |
|---|
| 100 | 100 | * D-Bus Interface (experimental) implements the MPRIS |
|---|
| 101 | 101 | (Media Player Remote Interfacing specification), a common dbus control |
|---|
| r79de69c |
r360c0d9 |
|
| 606 | 606 | else |
|---|
| 607 | 607 | { |
|---|
| 608 | | /* check if a Media Player is available |
|---|
| | 608 | /* check if VLC is available on the bus |
|---|
| 609 | 609 | * if not: D-Bus control is not enabled on the other |
|---|
| 610 | 610 | * instance and we can't pass MRLs to it */ |
|---|
| … | … | |
| 612 | 612 | DBusMessage *p_test_reply = NULL; |
|---|
| 613 | 613 | p_test_msg = dbus_message_new_method_call( |
|---|
| 614 | | "org.freedesktop.MediaPlayer", "/", |
|---|
| | 614 | "org.mpris.vlc", "/", |
|---|
| 615 | 615 | "org.freedesktop.MediaPlayer", "Identity" ); |
|---|
| 616 | 616 | /* block until a reply arrives */ |
|---|
| … | … | |
| 641 | 641 | |
|---|
| 642 | 642 | p_dbus_msg = dbus_message_new_method_call( |
|---|
| 643 | | "org.freedesktop.MediaPlayer", "/TrackList", |
|---|
| | 643 | "org.mpris.vlc", "/TrackList", |
|---|
| 644 | 644 | "org.freedesktop.MediaPlayer", "AddTrack" ); |
|---|
| 645 | 645 | |
|---|