/* Works with : libvlc 1.2.0
gcc -pedantic -Wall -Werror -Wextra `pkg-config --cflags --libs libvlc` -lpthread
- # to register the thumbnailer:
+ # to register the thumbnailer on gnome 3.x:
+ cp vlc-thumb.thumbnailer /usr/share/thumbnailers
+
+ # to register the thumbnailer on gnome 2.x:
list=`grep ^Mime vlc.desktop|cut -d= -f2-|sed -e s/";"/\\\n/g -e s,/,@,g`
vid=`echo $mimes|grep ^vid`
for i in $vid
--- /dev/null
+[Thumbnailer Entry]
+TryExec=vlc-thumb
+Exec=vlc-thumb -s %s %u %o
+MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;application/x-matroska;video/x-matroska;video/webm;application/vnd.rn-realmedia;image/vnd.rn-realpix;