[SCM] morituri/master: * examples/readdisc.py: Move constants to common
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:00 UTC 2014
The following commit has been merged in the master branch:
commit b835f94ef1491a0a87127b4062840a9d3856d51e
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sat May 16 10:27:10 2009 +0000
* examples/readdisc.py:
Move constants to common
diff --git a/ChangeLog b/ChangeLog
index e5500e2..90e2367 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2009-05-16 Thomas Vander Stichele <thomas at apestaart dot org>
* examples/readdisc.py:
+ Move constants to common
+
+2009-05-16 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * examples/readdisc.py:
* examples/readhtoa.py:
* examples/readtoc.py:
Rename IndexTable to Table.
diff --git a/examples/readdisc.py b/examples/readdisc.py
index a15d089..e688cbb 100644
--- a/examples/readdisc.py
+++ b/examples/readdisc.py
@@ -316,14 +316,14 @@ def main(argv):
handle.write('#EXTM3U\n')
if htoapath:
handle.write('#EXTINF:%d,%s\n' % (
- htoalength / checksum.FRAMES_PER_SECOND,
+ htoalength / common.FRAMES_PER_SECOND,
os.path.basename(htoapath[:-4])))
handle.write('%s\n' % os.path.basename(htoapath))
for i, track in enumerate(itable.tracks):
path = getPath(options.track_template, metadata, i) + '.wav'
handle.write('#EXTINF:%d,%s\n' % (
- itable.getTrackLength(i + 1) / checksum.FRAMES_PER_SECOND,
+ itable.getTrackLength(i + 1) / common.FRAMES_PER_SECOND,
os.path.basename(path)))
handle.write('%s\n' % os.path.basename(path))
handle.close()
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list