Author: tack
Date: Fri Dec 29 00:23:40 2006
New Revision: 2296

Modified:
   trunk/beacon/src/server/server.py

Log:
Store length as float values.


Modified: trunk/beacon/src/server/server.py
==============================================================================
--- trunk/beacon/src/server/server.py   (original)
+++ trunk/beacon/src/server/server.py   Fri Dec 29 00:23:40 2006
@@ -81,7 +81,7 @@
             image_from_items = (bool, ATTR_SIMPLE),
             artist = (unicode, ATTR_SIMPLE),
             album = (unicode, ATTR_SIMPLE),
-            length = (int, ATTR_SIMPLE))
+            length = (float, ATTR_SIMPLE))
 
         # files
 
@@ -89,7 +89,7 @@
             title = (unicode, ATTR_KEYWORDS | ATTR_IGNORE_CASE),
             width = (int, ATTR_SIMPLE),
             height = (int, ATTR_SIMPLE),
-            length = (int, ATTR_SIMPLE),
+            length = (float, ATTR_SIMPLE),
             scheme = (int, ATTR_SIMPLE))
 
         self.register_file_type_attrs("audio",
@@ -98,7 +98,7 @@
             album = (unicode, ATTR_KEYWORDS | ATTR_IGNORE_CASE),
             genre = (unicode, ATTR_INDEXED | ATTR_IGNORE_CASE),
             samplerate = (int, ATTR_SIMPLE),
-            length = (int, ATTR_SIMPLE),
+            length = (float, ATTR_SIMPLE),
             bitrate = (int, ATTR_SIMPLE),
             trackno = (int, ATTR_SIMPLE))
 
@@ -112,7 +112,7 @@
         # tracks for rom discs or iso files
 
         self.register_track_type_attrs("dvd",
-            length = (int, ATTR_SIMPLE),
+            length = (float, ATTR_SIMPLE),
             audio = (list, ATTR_SIMPLE),
             chapters = (int, ATTR_SIMPLE),
             subtitles = (list, ATTR_SIMPLE))

-------------------------------------------------------------------------
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

Reply via email to