[rygel] media-export: Fix saving id filtering on startup



commit 6c2fd83813e70a19c32a7c453b32a2cab76597a3
Author: Jens Georg <mail jensge org>
Date:   Mon Feb 8 16:43:47 2010 +0100

    media-export: Fix saving id filtering on startup

 .../rygel-media-export-root-container.vala         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 3d7ef9b..19719fd 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -296,10 +296,10 @@ public class Rygel.MediaExportRootContainer : Rygel.MediaDBContainer {
                 virtual_container.parent = this;
                 try {
                     this.media_db.save_container (virtual_container);
-                    ids.remove (id);
                 } catch (Error db_err) {
                     // do nothing
                 }
+                ids.remove (id);
             }
         } catch (Error error) {
             warning ("Got error while trying to find virtual folders: %s",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]