Commit 9a1ab88d authored by Rafaël Carré's avatar Rafaël Carré

Automatically loads dbus control interface in one-instance mode

Adds one instance in NEWS
parent de3efb74
......@@ -69,6 +69,8 @@ Interfaces:
* Brand new interface for Linux and Windows, based on the Qt toolkit
* All
* Improved user interaction
* Unix
* Allow only one running instance, using D-Bus interface (experimental).
Changes between 0.8.6a and 0.8.6-bugfix (not yet released):
......
......@@ -859,6 +859,11 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
*/
VLC_AddIntf( 0, "hotkeys,none", VLC_FALSE, VLC_FALSE );
/* loads dbus control interface if in one-instance mode
* we do it only when playlist exists, because dbus module needs it */
if( config_GetInt( p_libvlc, "one-instance" ) )
VLC_AddIntf( 0, "dbus,none", VLC_FALSE, VLC_FALSE );
/*
* If needed, load the Xscreensaver interface
* Currently, only for X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment