On 05.08.05, Doug Friend wrote:
Hi Dag,
Great feedback, thanks!
Richard Smith who's been working on a offshoot of PyTone called What I've started DanceBox & I have been discussing requirements offline for a little bit. We've found the requirements of what I'm trying to do and what he's been working on fit pretty well. Gotta love OpenSource :)
What I've started to work on, _very_slowly_, is creating a MySQL back end. As I wrote in my intro, I'm a Python newbie, so this is a serious but so far pleasant learning experience.
I agree with Dag that PyTone should not rely on any database server running. This was one of things I wanted to avoid when I started the whole project.
Richard & I have been planning on posting this to the list & Jorg for comments with the hope that this can be merged into PytONE.
I'm of course always open to patches. But note that merging means that I get patches in a form which is digestable for me. If I just get a single chunk of new code, which makes changes all over the place, the chances that I can integrate it are rather low.
looking to create is a playlist generating engine that will take the following parameters into account:
Rating (I'd prefer 1-10)
I chose to use 1-5 because I wanted to use stars in the UI and 10 stars are simply not parsable any more. A rating of 10 is hardly possible because this would break the press-one-key rating scheme. So maximally we could have 1-9, which could be represented as *, *+, **, ..., ****+, *****. This would also yield a canonical upgrade scheme from the old system. [1]
Tempo Texture (how heavy a song is) Time last played (song) Time last played (artist) Musical category Naughty words content
Basically, the playlist engine will be kindof like a radiostation in a box.
I would be nice to have something like this. As I wrote in my previous mail to the list, the current code is really not more than a very dirty hack.
Jörg
[1] Note that any change of the database layout requires an upgrade path. So any patch which changes the layout has to be contain an upgrade routine. See services/songdbs/local.py for examples.