Adding tracks to the collection

Seb Ruiz ruiz at kde.org
Mon Oct 20 23:52:52 CEST 2008


2008/10/21 Maximilian Kossick <maximilian.kossick at googlemail.com>:
> Why are the already provided mechanisms not sufficient for what you
> want to do? (ie. using editcapability to update tracks, and
> CollectionLocation for moving tracks into the collection/removing
> them)
>
> Cheers,
> Max

The QtScript bindings that we have don't expose the Meta objects to scripts.


>
> On Mon, Oct 20, 2008 at 11:13 AM, Seb Ruiz <ruiz at kde.org> wrote:
>> Hi Max,
>> I'd like to be able to give scripts access to insert or update tracks
>> into the local sql collection database. My primary reason for doing
>> this is to workaround numerous issues within QtScript combined with
>> QtSql. Essentially, I'd like to be able to do something to the effect
>> of sqlCollection()->insertTrack( url ); and add associated statistical
>> data to that track (playcount, score etc).
>>
>> What is your opinion on exposing this sort of functionality? If you're
>> okay with that, what would be the best implementation?
>>
>> Cheers,
>> Seb
>>
>> --
>> Seb Ruiz
>>
>> http://www.sebruiz.net/
>> http://amarok.kde.org/
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>



-- 
Seb Ruiz

http://www.sebruiz.net/
http://amarok.kde.org/


More information about the Amarok-devel mailing list