Commit graph

10 commits

Author SHA1 Message Date
Robert Ancell
a30f660db9 sharing: Use g_auto for variables 2018-06-03 01:11:17 +00:00
Bastien Nocera
0d4b2bc49b 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.
2016-01-10 10:24:41 +01:00
Bastien Nocera
658bcc86e6 sharing: Fix empty folder list by default
https://bugzilla.gnome.org/show_bug.cgi?id=736536
2014-09-12 12:04:58 +02:00
Bastien Nocera
22c4db538f sharing: Avoid truncated folders list in media sharing
When XDG user dirs are badly setup, and the folders list contains items
such as @VIDEOS@ or @MUSIC@, g_get_user_special_dir() returns NULL and
we would insert NULL into the string array. That would cause the code
reading it to assume the end of the array was reached.

Go through a temporary array instead to build it.

https://bugzilla.gnome.org/show_bug.cgi?id=733489
2014-07-24 12:39:08 +02:00
Bastien Nocera
056784e60e sharing: Fix crash in media preferences
When XDG user dirs are badly setup, g_get_user_special_dir() will return
NULL, causing us to crash. Use g_strcmp0() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=733489
2014-07-24 12:39:08 +02:00
Bastien Nocera
cbeba7c6bf sharing: Add per-network sharing
Using the new D-Bus service from gnome-settings-daemon.

https://bugzilla.gnome.org/show_bug.cgi?id=727580
2014-06-24 11:35:30 +02:00
Bastien Nocera
b8626fd50a sharing: Forcefully enable the MediaExport plugin
When enabling DLNA, also make sure to enable the plugin that
we use to export the media to the TV or set-top-box, otherwise
rygel won't export anything.

https://bugzilla.gnome.org/show_bug.cgi?id=708055
2013-10-02 17:53:17 +02:00
Cosimo Cecchi
f0b3d1afaa sharing: fix a GCC warning 2013-02-14 20:21:43 -05:00
Thomas Wood
4d6d7253ed sharing: start or stop Rygel when Media Sharing is enabled or disabled
Ensure Rygel is started when the Media Sharing option is enabled and
stopped when it is disabled. This also adds and removes Rygel from the
autostart directory as appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=692702
2013-02-14 15:02:38 +00:00
Thomas Wood
b30d0133b9 Add initial implementation of the new Sharing panel
https://bugzilla.gnome.org/show_bug.cgi?id=687772
2013-01-14 18:06:20 +00:00