Difference between revisions of "DBus"

From VideoLAN Wiki
Jump to navigation Jump to search
m (syntaxhighlight)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{See also|DBus-spec|DBus-usage}}
 +
 
== TODO for DBus integration ==
 
== TODO for DBus integration ==
  
VLC aims to implement [[DBus-spec]], a desktop-neutral document, that is suitable for very Media Players.
+
VLC implements [[DBus-spec]], a desktop-neutral document, that aims to be suitable for every Media Players.
  
<span style="color: red; font-weight: bold">VLC DOES NOT IMPLEMENT FULLY THIS DOCUMENT (YET)</span>
+
=== Decide service behaviour ===
 
 
=== Decide service bahaviour ===
 
  
 
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.freedesktop.MediaPlayer.service:
 
We just have to create a /usr/share/dbus-1/org.freedesktop.MediaPlayer.service:
----
+
 
 +
<syntaxhighlight lang="ini">
 
[D-BUS Service]
 
[D-BUS Service]
  
Line 16: Line 17:
  
 
Exec=/usr/bin/vlc -I dummy --control dbus
 
Exec=/usr/bin/vlc -I dummy --control dbus
---
+
</syntaxhighlight>
 
 
=== 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 ?
+
[[Category:Development]]

Latest revision as of 03:54, 19 March 2019

See also: DBus-spec and DBus-usage

TODO for DBus integration

VLC implements DBus-spec, a desktop-neutral document, that aims to be suitable for every Media Players.

Decide service behaviour

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