<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 20, 2008 at 4:13 AM, Seb Ruiz <span dir="ltr"><<a href="mailto:ruiz@kde.org">ruiz@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Max,<br>
I'd like to be able to give scripts access to insert or update tracks<br>
into the local sql collection database. My primary reason for doing<br>
this is to workaround numerous issues within QtScript combined with<br>
QtSql. Essentially, I'd like to be able to do something to the effect<br>
of sqlCollection()->insertTrack( url ); and add associated statistical<br>
data to that track (playcount, score etc).<br>
<br>
What is your opinion on exposing this sort of functionality? If you're<br>
okay with that, what would be the best implementation?<br>
<br>
Cheers,<br>
Seb</blockquote></div><br>I really can't imagine any other script ever needing to do this. So to me that means either you should rethink having it be a script at all or it means that you shouldn't worry about making the API clean, since its essentially an internal API. So do whatever makes implementation easy.<br>
<br>Ian<br></div>