Author: dmeyer
Date: Sat Feb 3 17:47:53 2007
New Revision: 9139
Modified:
trunk/ui/src/menu/mediaitem.py
trunk/ui/src/video/plugins/bookmarker.py
Log:
move last played logic to mediaitem
Modified: trunk/ui/src/menu/mediaitem.py
==============================================================================
--- trunk/ui/src/menu/mediaitem.py (original)
+++ trunk/ui/src/menu/mediaitem.py Sat Feb 3 17:47:53 2007
@@ -232,4 +232,7 @@
"""
if event == PLAY_START:
self['last_played'] = int(time.time())
+ if event == STOP:
+ # not fully played, clear info
+ self['last_played'] = 0
return Item.eventhandler(self, event)
Modified: trunk/ui/src/video/plugins/bookmarker.py
==============================================================================
--- trunk/ui/src/video/plugins/bookmarker.py (original)
+++ trunk/ui/src/video/plugins/bookmarker.py Sat Feb 3 17:47:53 2007
@@ -150,7 +150,6 @@
# this will store in kaa.beacon
log.info('auto-bookmark store')
item[RESUME]= item.elapsed
- item['last_played'] = 0
self._ignore_end = True
else:
log.info('auto-bookmark not supported for this item')
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog