Author: tack
Date: Thu Jun 21 16:01:24 2007
New Revision: 2715
Modified:
trunk/popcorn/src/generic.py
Log:
Remove debugging cruft, and fix bug when kaa.metadata doesn't detect the
file, the mrl ends up being the literal string 'file://%s'
Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py (original)
+++ trunk/popcorn/src/generic.py Thu Jun 21 16:01:24 2007
@@ -308,9 +308,8 @@
if not self._media:
# unable to detect, create dummy
if mrl.find('://') == -1:
- mrl = 'file://%s'
+ mrl = 'file://' + mrl
self._media = kaa.metadata.Media(hash=dict(url=mrl,
media='MEDIA_UNKNOWN'))
- print "MEDIA", self._media.url
self._media.scheme = self._media.url[:self._media.url.find(':/')]
self._open_caps = caps
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog