Bug 183843 - API for thumnail generators which does not require compiled glue
Summary: API for thumnail generators which does not require compiled glue
Status: RESOLVED DUPLICATE of bug 147131
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 22:09 UTC by Stephan Sokolow
Modified: 2009-12-31 02:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Sokolow 2009-02-09 22:09:55 UTC
Version:           unknown (using 4.2.00 (KDE 4.2.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.25-gentoo-r7-20080501

While I was using Konqueror 3.5, I ran across a nifty little command intended for Nautilus named swfdec-thumbnailer. I immediately started looking into how thumbnailers like mplayerthumbs hooked into Konqueror in the hopes of adding .swf thumbnailing. Imagine my disappointment when I discovered that I'd have to write a C++ plugin to make it work.

I propose an API which allows thumbnailers to be specified using simple configuration files (perhaps another adaptation of .desktop files?) so that any scriptable command can be used to generate thumbnails for DolphinPart. (I still use Konqueror, so it can't be specific to Dolphin the application)

As I see it, two command formats need to be supported for this to be truly useful without ugly shellscript wrappers for some commands:
- Specify both input and output filename
- Specify input filename and expect the output to appear according to the ~/.thumbnails/ spec.

Of course, the order of the arguments and the position of any options will need to be completely flexible since some commands require positional options, some take the output filename first, and some the input.

For swfdec-thumbnailer, the command-line format is `swfdec-thumbnailer [--size #] <input> <output>`
Comment 1 Christoph Feck 2009-12-31 02:29:03 UTC

*** This bug has been marked as a duplicate of bug 147131 ***