Hello,

The new gnome-toaster-1.0-0.beta5.1mdk can not burn ogg files as audio
tracks. When you add an ogg file to an audio cd, gnome-toaster says the
length/size is 0. The included patch fixes this problem. It changes the
regexp used to extract the length of the file from the output of ogginfo
to the output of version 1.0 of ogginfo. This patch also makes the perl
hack in the SPEC-file obsolete.

Frederik Himpe

--- defaultentries.h.orig	2002-08-09 13:51:39.000000000 +0200
+++ defaultentries.h	2002-08-09 14:02:50.000000000 +0200
@@ -84,8 +84,8 @@
 #define DEFAULTENTRIES_SIZEALG_WAV      "$wavsize"
 #define DEFAULTENTRIES_DETSIZE_SHN      "shntool len \"$file\""
 #define DEFAULTENTRIES_SIZEALG_SHN      "(((getpos(2,1)*60+getpos(2,2))*75)+getpos(2,3))*2352"
-#define DEFAULTENTRIES_DETSIZE_OGG      "oggtst \"$file\""
-#define DEFAULTENTRIES_SIZEALG_OGG      "strval(regexp(\"^length=([0-9]*)\"))*44100*4"
+#define DEFAULTENTRIES_DETSIZE_OGG      "ogginfo \"$file\""
+#define DEFAULTENTRIES_SIZEALG_OGG      "((strval(regexp(\"Playback length: ([0-9]*)\")))*60+(strval(regexp(\"m:([0-9]*)s$\"))))*44100*4"
 
 #define DEFAULTENTRIES_ENCODER_MP3      "gogo stdin \"$file\" -b 128 -offset 0 -m j"
 #define DEFAULTENTRIES_ENCODER_WAV      "sox -t .raw -r 44100 -w -x -c 2 -s - -t .wav \"$file\""

Reply via email to