rygel: Add message about streaming-only mode
authorJens Georg <jensg@openismus.com>
Tue, 28 May 2013 07:46:53 +0000 (09:46 +0200)
committerJens Georg <jensg@openismus.com>
Tue, 28 May 2013 07:46:53 +0000 (09:46 +0200)
src/rygel/rygel-main.vala

index cc43ad0..71eb8bd 100644 (file)
@@ -78,6 +78,12 @@ internal class Rygel.Main : Object {
     }
 
     private int run () {
+        try {
+            if (!this.config.get_upnp_enabled ()) {
+                message (_("Rygel is running in streaming-only mode."));
+            }
+        } catch (Error error) { }
+
         this.main_loop.run ();
 
         return this.exit_code;