Joost wrote:
> Since the last beacon changes, the beacon.query behaves different.
> I found out using the 'Browse by Artists' plugin.
> eg.: This call:
> kaa.beacon.query(attr='artist', type='audio')
> previous returned 1 item for every artist. Now it returns many (the
> same) items for every artist. Probably for each song an item.
> Is this wanted behaviour? I would prefer to see the first described
> behavior. It would make the querying easier (on plugin point of view)
> By the way, the same behavior is seen in the epg query for
> genres/category's.

That is a bug. Tack: can you take a look at it? On the command line,
run 'beacon-search attr=artist type=audio' to see the problem. BTW,
update beacon first, there was a bug in beacon-search showing this
results.

> Also the following query doesn't work anymore:
> kaa.beacon.query(artist=self.artist, album=self.album)
> The album is not searchable anymore. Error message: ValueError: Querying
> on non-searchable attribute 'album'
> I'm totally not familiar in beacon, so can you fix this? Or should the
> query be changed?

My fault. You need to add type='audio' because only audio has a
searchable album keyword. I fixed this in the freevo plugin, you need
to fix your plugin, too.

> I'm creating a new audio plugin, which will be using the 'grid' view.
> This audio plugin of course also uses the beacon.query. 
> The grid view will also be used for the TVGuide, which I'm changing. I'm
> using this audio plugin to test the 'normal gird' function. The audio
> plugin will show a grid of albums per artists. Soon I will have a first
> version available of the new grid view, TVGuide and the audio plugin.

Cool.


Dischi

-- 
Communism is man's exploitation of man. Capitalism is just the opposite.

Attachment: pgpjv0K4MOpJw.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to