Difference between revisions of "DBus"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== TODO for DBus integration ==
 
== TODO for DBus integration ==
  
=== List all signals, methods with their arguments and return value ===
+
See [[DBus-spec]]
  
 
=== Decide service bahaviour ===
 
=== Decide service bahaviour ===
Line 7: Line 7:
 
Could vlc be a on-demand startable service, would it be useful ?
 
Could vlc be a on-demand startable service, would it be useful ?
  
We just have to create a /usr/share/dbus-1/org.videolan.vlc.service:
+
We just have to create a /usr/share/dbus-1/org.freedesktop.MediaPlayer.service:
 
----
 
----
 
[D-BUS Service]
 
[D-BUS Service]
  
Name=org.videolan.vlc
+
Name=org.freedesktop.MediaPlayer
  
 
Exec=/usr/bin/vlc -I dummy --control dbus
 
Exec=/usr/bin/vlc -I dummy --control dbus
Line 22: Line 22:
  
 
it'd be cool to create network streams too, using mrl ?
 
it'd be cool to create network streams too, using mrl ?
 
== List of signals and methods already implemented ==
 
 
See [[DBus-spec]]
 

Revision as of 00:57, 6 December 2006

TODO for DBus integration

See DBus-spec

Decide service bahaviour

Could vlc be a on-demand startable service, would it be useful ?

We just have to create a /usr/share/dbus-1/org.freedesktop.MediaPlayer.service:


[D-BUS Service]

Name=org.freedesktop.MediaPlayer

Exec=/usr/bin/vlc -I dummy --control dbus ---

Missing features

playlist => we can export to a temporary file using xspf or m3u, and let the remote application do whatever it wants to do with that file. can either take the file path as an argument, or return the path of the newly created file.

it'd be cool to create network streams too, using mrl ?