From 9bb11f9c9978494332fb34dbd1e99834d53d3274 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sat, 13 Dec 2008 21:17:01 -0500 Subject: [PATCH] Changed the durre expression in music.py to match the one in transcode.py. --- plugins/music/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/music/music.py b/plugins/music/music.py index 88966ca..fb3899e 100644 --- a/plugins/music/music.py +++ b/plugins/music/music.py @@ -31,7 +31,7 @@ plstitle = re.compile('[Tt]itle(\d+)=(.+)').match plslength = re.compile('[Ll]ength(\d+)=(\d+)').match # Duration -- parse from ffmpeg output -durre = re.compile(r'.*Duration: (.{2}):(.{2}):(.{2})\.(.),').search +durre = re.compile(r'.*Duration: ([0-9]+):([0-9]+):([0-9]+)\.([0-9]+),').search # Preload the templates tfname = os.path.join(SCRIPTDIR, 'templates', 'container.tmpl') -- 2.11.4.GIT