*** empty log message ***
authorgc <gc>
Sat, 26 Mar 2005 16:24:04 +0000 (16:24 +0000)
committergc <gc>
Sat, 26 Mar 2005 16:24:04 +0000 (16:24 +0000)
booh

diff --git a/booh b/booh
index f651c362be3f0ca42e31811d8f4b39e845f9932e..e0442b16b302cba81b83c1dfe0efce2dca5adbba 100755 (executable)
--- a/booh
+++ b/booh
@@ -326,7 +326,7 @@ def gen_thumbnails(orig, xmldir, dests)
         dest_dir = make_dest_filename(File.dirname(dests[0]['filename']))
         #- frame-offset is an attribute that allows to specify which frame to use for the thumbnail;
         #- first try in dir to allow for: <dir .. subdirs-captionfile='/tmp/src2/people/pict0008.mov' pict0008.mov-frame-offset='100' ..>
-        frame_offset = xmldir.attributes["#{File.basename(orig)}-frame-offset"]
+        frame_offset = xmldir.attributes["#{utf8(File.basename(orig))}-frame-offset"]
         if !frame_offset
             #- then try in elements to allow for: <video filename='bourrique.mov' frame-offset='200'/>
             felem = xmldir.elements["[@filename='#{utf8(File.basename(orig))}']"]