DBus: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m syntaxhighlight |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{See also|DBus-spec|DBus-usage}} | |||
== TODO for DBus integration == | == TODO for DBus integration == | ||
| Line 8: | Line 10: | ||
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 14: | Line 17: | ||
Exec=/usr/bin/vlc -I dummy --control dbus | Exec=/usr/bin/vlc -I dummy --control dbus | ||
</syntaxhighlight> | |||
[[Category:Development]] | [[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