On Mon, Jun 30, 2003 at 12:40:21PM +0200, Dirk Meyer wrote:
> I just started and looked into musicsqlimport.py. Looks very easy to
> me. Is it possible to add 'data', too? With data I mean no string or
> integer, but maybe images (thumbnails from images and covers from
> mp3). It would be nice to have the following functions:

I'm not to sure why we'd put images into the database; it just makes
the database large, but it's not like we could "query" on images or
anything... what would you want to use it for?

> def scan_dir(dir, recursive = (TRUE|FALSE), rescan = (TRUE|FALSE))
>    """
>    add all objects from the dir into the database, go down recursive
>    or not and rescan files which are already in the database (or not)
>    """

I do want to do that though...

> def get_data(filename)
>    """
>    return everything as mmpython object about this file
>    """

Yup.

> maybe a way to also store dvd/vcd informations in the database
> (tracks, etc.)

We'd need a seperate table for that stuff, but I don't see why not.

> > The other thing I thought of, is it would be nice to have "Pre/Post"
> > plugins.
> That should be easy

Well, hopefully I'll have more code working and clean so we can do
that.

One last question; how should we structure the "playlist" files? The
playlists need to have a query or something that suggests some logic.
A query would be simple enough, like this in a file


<freevo>
    <smart_playlist>select songs from music where
    play_count=max(play_count) limit 25</smart_playlist>
</freevo>

Aubin



-------------------------------------------------------
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