~flimm/ooo-thumbnailer/releases

« back to all changes in this revision

Viewing changes to ooo-thumbnailer

  • Committer: David D Lowe
  • Date: 2009-12-15 11:58:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: daviddlowe.flimm@gmail.com-20091215115846-m172yd62ry36tpmo
Tags: 0.2
Released 0.2 and removed debian/ directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    mkdir -p "$cache"
47
47
    unzip -o "$ifile" Thumbnails/thumbnail.png -d "${cache}"
48
48
    if [ "$size" == "" ]; then
49
 
      totem-gstreamer-video-thumbnailer "${cache}/Thumbnails/thumbnail.png" "$ofile"
 
49
      totem-video-thumbnailer "${cache}/Thumbnails/thumbnail.png" "$ofile"
50
50
    else
51
 
      totem-gstreamer-video-thumbnailer "${cache}/Thumbnails/thumbnail.png" "$ofile" -s $size
 
51
      totem-video-thumbnailer "${cache}/Thumbnails/thumbnail.png" "$ofile" -s $size
52
52
    fi
53
53
  fi
54
54
  # add appropriate OpenOffice.org logo if imagemagick is installed
55
 
  if [ -x /usr/bin/composite ] & [ -e /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-text.png ]; then
 
55
  if [ -x /usr/bin/composite ] && [ -e /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-text.png ]; then
56
56
    estensione=$(expr "$ifile" : '.*\(....\)')
57
57
    case "$estensione" in
58
58
     .odt)