Author: tack
Date: Mon Dec 11 17:18:08 2006
New Revision: 2223
Modified:
trunk/metadata/src/factory.py
Log:
Support dvd scheme
Modified: trunk/metadata/src/factory.py
==============================================================================
--- trunk/metadata/src/factory.py (original)
+++ trunk/metadata/src/factory.py Mon Dec 11 17:18:08 2006
@@ -237,6 +237,13 @@
pass
except (KeyboardInterrupt, SystemExit):
sys.exit(0)
+
+ elif scheme == 'dvd':
+ path = split[2]
+ if not path.replace('/', ''):
+ return self.create_from_device('/dev/dvd')
+ return self.create_from_filename(split[2])
+
else:
(scheme, location, path, query, fragment) = split
uhandle = urllib.urlopen(url)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog