sharing: Ensure Tracker rygel plugin is disabled

The Tracker plugin is enabled by default, and will replace the
MediaExport plugin is enabled. This means that instead of sharing files
listed in the paths set in the UI, we'd be sharing the user's files as
configured in the Search panel. Not what we want to do if this contains
private files.
This commit is contained in:
Bastien Nocera 2016-01-10 10:07:15 +01:00
parent d98d42880d
commit 0d4b2bc49b

View file

@ -109,6 +109,7 @@ cc_media_sharing_set_preferences (gchar **folders)
file = cc_media_sharing_open_key_file ();
g_key_file_set_boolean (file, "general", "upnp-enabled", TRUE);
g_key_file_set_boolean (file, "Tracker", "enabled", FALSE);
g_key_file_set_boolean (file, "MediaExport", "enabled", TRUE);
str_list = folders;