Commit 295594f6 authored by Rafaël Carré's avatar Rafaël Carré

vlc-thumb: works also with gnome 3

parent 92691c21
......@@ -5,7 +5,10 @@
/* 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
......
[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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment