Author: schwardt
Date: Thu Dec 27 17:06:46 2007
New Revision: 2932

Log:
fixed DVD/CD detection if no mountpoint is present


Modified:
   trunk/beacon/src/media.py

Modified: trunk/beacon/src/media.py
==============================================================================
--- trunk/beacon/src/media.py   (original)
+++ trunk/beacon/src/media.py   Thu Dec 27 17:06:46 2007
@@ -77,8 +77,8 @@
         Update media properties.
         """
         self.prop = prop
-        self.device = str(prop.get('block.device'))
-        self.mountpoint = str(prop.get('volume.mount_point'))
+        self.device = str(prop.get('block.device',''))
+        self.mountpoint = str(prop.get('volume.mount_point',''))
         if not self.mountpoint:
             self.mountpoint = self.device
         if not self.mountpoint.endswith('/'):

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to