Re: [greenstone-devel] ERROR : No plugin could process *.wav" .Requesting immd help

From Michael Dewsnip
DateThu, 11 Sep 2003 10:04:43 +1200
Subject Re: [greenstone-devel] ERROR : No plugin could process *.wav" .Requesting immd help
In-Reply-To (PBDILNDOGEOBEFAA-mailcity-com)
Hi,

Greenstone only supports content-based searching of text-based media. However it does support metadata-based
searching and browsing of all file types.

UnknownPlug is quite simple. Here is a description taken out of the UnknownPlug.pm file (in perllib/plugins):

--------

This is a simple Plugin for importing files in formats that Greenstone doesn't know anything about. A
fictional document will be created for every such file, and the file itself will be passed to Greenstone as
the "associated file" of the document.

Here's an example where it is useful: I have a collection of pictures that include a couple of quicktime movie
files with names like DCP_0163.MOV. Rather than write a new plugin for quicktime movies, I add this line to
the collection configuration file:

plugin UnknownPlug -process_exp "*.MOV" -assoc_field "movie"

A document is created for each movie, with the associated movie file's name in the "movie" metadata field. In
the collection's format strings, I use the {If} macro to output different text for each type of file, like
this:

{If}{[movie],<HTML for displaying movie>}{If}{[Image],<HTML for displaying image>}

You can also add extra metadata, such as the Title, Subject, and Duration, with metadata.xml files and
RecPlug. (If you want to use UnknownPlug with more than one type of file, you will have to add some sort of
distinguishing metadata in this way.)

--------

Regarding your error trying to process wav files, I'm a bit stumped. Is the error message really "No plugin
could process *.wav"? I would expect the error message to specify a specific file, eg. "No plugin could
process blah.wav". Try changing the process_exp to "*.wav". If it still doesn't work, send me your collection
configuration file and I'll try it here and see if I have the same problem.

Regards,

Michael

Ravi Varma wrote:

> Hi all,
>
> I forgot to metion the below in my earlier mail.
>
> I want to know which plugin could process media files. how to use to that plugin in building the collection
>
> Thanks and regards
> Ravi Varma
> --
>
> --------- Original Message ---------
>
> DATE: Mon, 25 Aug 2003 15:08:00
> From: "Ravi Varma" <varmapr@lycos.com>
> To: "greenstone-dev" <greenstone-devel@list.scms.waikato.ac.nz>
> Cc:
>
> >
> >Hi Everybody,
> >
> >Greetings!!!!
> >
> >I want to build collection containg some media files like *.wav, *.wma, *.mpeg, *.avi etc...
> >
> >I am using UnKnownPlug for building ... as follows
> >
> >plugin UnknownPlug -process_exp '.wav' -file_type 'wave sound'
> >
> >I am getting an error message saying "No plugin could process *.wav"
> >
> >Can anybody please help me in building this collection.
> >
> >Thanks in advance.
> >
> >Ravi Varma
> >
> >
> >
> >
> >
> >
> >____________________________________________________________
> >Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
> >http://login.mail.lycos.com/r/referral?aid=27005
> >
> >_______________________________________________
> >greenstone-devel mailing list
> >greenstone-devel@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
> >
>
> ____________________________________________________________
> Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
> http://login.mail.lycos.com/r/referral?aid=27005
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel