summaryrefslogtreecommitdiff
path: root/multimedia/mmpython/files/patch-disc__lsdvd.py
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mmpython/files/patch-disc__lsdvd.py')
-rw-r--r--multimedia/mmpython/files/patch-disc__lsdvd.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mmpython/files/patch-disc__lsdvd.py b/multimedia/mmpython/files/patch-disc__lsdvd.py
new file mode 100644
index 000000000000..c7ca9244e1db
--- /dev/null
+++ b/multimedia/mmpython/files/patch-disc__lsdvd.py
@@ -0,0 +1,11 @@
+--- disc/lsdvd.py.orig Sun Feb 26 16:08:37 2006
++++ disc/lsdvd.py Sun Feb 26 16:32:03 2006
+@@ -96,7 +96,7 @@
+ self.mime = 'video/mpeg'
+
+ l = data[3].split(':')
+- self.length = (int(l[0])*60+int(l[1]))*60+int(l[2])
++ self.length = (int(l[0])*60+int(l[1]))*60+float(l[2])
+ self.trackno = int(data[1])
+ self.chapters = int(data[5])
+