On Mon, Jun 30, 2003 at 03:33:50PM +0200, Dirk Meyer wrote:
> No, maybe I have music videos? Or search for images/videos?
> 
> 
> <freevo>
>     <smart_playlist type="(audio|video|image)">play_count=max(play_count) limit
>     25</smart_playlist>
> </freevo>

Music videos could probably fit into the music table, but I'm not sure
how we'd handle images/videos in the same query. But if we just use
something like this:

if type=audio:
    select songs ...
if type=video:
    select videos ...
if type=image
    select images ...

and we could either only return one of three, or we could could
concatenate the results...


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to