diff options
author | Jens Georg <mail@jensge.org> | 2021-02-24 00:25:55 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2021-05-23 18:31:13 +0200 |
commit | d0410cccf6af55e16d3ba9400ad5e9f703313739 (patch) | |
tree | dc4819b49768160653abddd30857ad5a4043a1ff /src | |
parent | d4cf4b8bf4ab2f46a842c5f107fea80469b52cd5 (diff) | |
download | rygel-d0410cccf6af55e16d3ba9400ad5e9f703313739.tar.gz |
MediaExport: Tracker3 blocks start as well
Not only the old Tracker plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/media-export/rygel-media-export-plugin.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/media-export/rygel-media-export-plugin.vala b/src/plugins/media-export/rygel-media-export-plugin.vala index b1001dfd..c18c0bac 100644 --- a/src/plugins/media-export/rygel-media-export-plugin.vala +++ b/src/plugins/media-export/rygel-media-export-plugin.vala @@ -22,6 +22,7 @@ using Rygel; using GUPnP; private const string TRACKER_PLUGIN = "Tracker"; +private const string TRACKER3_PLUGIN = "Tracker3"; /** * Simple plugin which exposes the media contents of a directory via UPnP. @@ -59,7 +60,7 @@ public void on_plugin_available (Plugin plugin, Plugin our_plugin) { // Do not allow this plugin and the tracker plugin to both be // active at the same time, // because they serve the same purpose. - if (plugin.name == TRACKER_PLUGIN) { + if (plugin.name == TRACKER_PLUGIN || plugin.name == TRACKER3_PLUGIN ) { if (our_plugin.active && !plugin.active) { // The Tracker plugin might be activated later, // so shut this plugin down if that happens. @@ -78,7 +79,7 @@ public void on_plugin_available (Plugin plugin, Plugin our_plugin) { // Log that we are starting this plugin // because the Tracker plugin is not active instead. message ("Plugin '%s' inactivate, activating '%s' plugin", - TRACKER_PLUGIN, + plugin.name, MediaExport.Plugin.NAME); } our_plugin.active = !plugin.active; |