Author: dmeyer
Date: Sat Dec 9 19:12:55 2006
New Revision: 8707
Modified:
trunk/ui/src/menu/mediaitem.py
trunk/ui/src/video/videoitem.py
Log:
improve debugging
Modified: trunk/ui/src/menu/mediaitem.py
==============================================================================
--- trunk/ui/src/menu/mediaitem.py (original)
+++ trunk/ui/src/menu/mediaitem.py Sat Dec 9 19:12:55 2006
@@ -58,7 +58,7 @@
"""
def __init__(self, parent=None, type=None):
Item.__init__(self, parent, type=type)
- self.url = 'unknown:' + str(self)
+ self.url = 'null://'
self.filename = None
self.fxdinfo = {}
Modified: trunk/ui/src/video/videoitem.py
==============================================================================
--- trunk/ui/src/video/videoitem.py (original)
+++ trunk/ui/src/video/videoitem.py Sat Dec 9 19:12:55 2006
@@ -524,3 +524,7 @@
return True
return MediaItem.eventhandler(self, event)
+
+ def __repr__(self):
+ return "VideoItem %s" % self.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