|
|
Wiki > Main > PluginSearchengine (compare)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Difference: PluginSearchengine (r13 vs. r12)SearchengineGeneralYou are supposed to use the PluginDatabox to create search queries and you use this plugin to actually run those searches. Items in blue are planned but not implemented yet. Search Expression LanguageAutorating is (playcount-playcountmin)*10/(playcountmax-playcountmin) In EBNF: NUMARG := number | numberid NUMOP : = '>' | '>=' | '<' | '<=' | '!=' | '==' COMPARE : = NUMARG NUMOP NUMARG | STRARG STROP STRARG EXPR := COMPARE | NOT EXPR | LPAREN MEXPR RPAREN LEXPR := EXPR (AND EXPR)* MEXPR := LEXPR (OR LEXPR)* CLIPPING := PLAYTIME number | COUNT number SORTTYPE := (LOWEST|HIGHEST) (rating | playcount | year | tracknumber) QUERY := MEXPR (SORTBY SORTTYPE (AND SORTTYPE)*)? (CLIPBY CLIPPING)? (SHUFFLE)? EOF numberid := year | rating | playcount | autorating | tracknumber Tokenfile descriptionToken Types
Token Entry
Token file# Token Entries 1 EOF Token entry. EOF Todo 1) optimize album / artist names. Suggestion to change interface of searchengine and databox(This is probably not really the right place to put this, maybe I should move it into an RFE? Sourceforge is acting up though...) I propose that the code of the current two rocks are merged into one, in the following way: The new plugin should be available both through the "View Plugins" menu, and the "Open with" menu. This is not possible right now, but probably shouldn't be too hard. When running the plugin from the pluginlist, show a menu:
When running an .rsp file, show the menu (with the filename at the top, I guess):
When the user has finished editing a search, show the following menu:
ResultsThe original use scenarios are still available
Additionally, the following things become possible:
I really think this would boost useability of the search CategoryPlugin: Database Searchengine [Player r14 - 13 Apr 2007 - 09:45:37 - MarianneArnold
Revision r13 - 06 Mar 2006 - 06:57 - ZakkRobertsRevision r12 - 20 Sep 2005 - 12:54 - JonasHaeggqvist Copyright © by the contributing authors.
|