Jus: At the moment the star colour is hard coded but will be changed 
soon.

I am also happy to announce that the library scanner has been 
accelerated by a factor of 3-4. However, this is only valid if you do 
not upgrade from a 1.7 library. Assuming an empty database Mixxx took 
around 22s to scan 730 audio files compared to around 85s before. Here's 
what I did:

Up to now, each insertion of a track has been done within a database 
transaction. This plausible if you have already a populated database and 
want to add a missing song by drag 'n' drop. For library scanning this 
behaviour is slow and thus inadequate. In my branch the scan process is 
dived up into two steps. The first step is adding all the scanned audio 
files to batch list. The seconds step is a database transaction and  
writes the tracks in the batch list to the database by using prepared 
statements which have been defined once before the iteration starts.

Check out and try!

Tobias


Am 30.08.2010 09:34, schrieb jus:
> Thanks a bunch for adding these useful features.
>
> The star`s color: is it hard coded or adjustable via skin?
> If not adjustable can we make it the same colour as the font in the library 
> per default?
> The star stands out already cause of its shape, no need to have it in another 
> colour than the rest of the library entry imho.
>
> jus
>
>
> On 30 Aug 2010, at 08:31, Tobias Rafreider wrote:
>
>> Hey Owen,
>>
>> I guess that rotating is possible. All I did for the moment was to adapt
>> the "Star delegate" example from
>> http://doc.qt.nokia.com/4.6/itemviews-stardelegate.html .
>>
>> Tobias
>>
>> http://doc.qt.nokia.com/4.6/itemviews-stardelegate.html
>>
>> Am 30.08.2010 00:51, schrieb Owen Williams:
>>> Hey, great work!  The library is starting to look really good.
>>>
>>> One tiny annoyance though, is it possible to make the stars rotated
>>> properly, like this: ★ ?  Or would that require too much math in the
>>> drawing code?  Alternately, what about just using that unicode
>>> character?
>>>
>>> Owen
>>>
>>> On Mon, 2010-08-30 at 00:04 +0200, Tobias Rafreider wrote:
>>>> Dear all,
>>>>
>>>> I have extended Owen's library improvements. There is now a 'key' column
>>>> and also a possibility to rate songs. Both features required me to
>>>> change the database schema.
>>>>
>>>> Feel free to test it or have a look at the attached screenshot:
>>>> bzr branch lp:~raffitea/mixxx/library_improvements
>>>>
>>>> Tobias
>>>>
>>>> Am 28.08.2010 03:08, schrieb Owen Williams:
>>>>> I'll be honest here:  no and no.  the improvements I've written are
>>>>> features I'd already worked on this year that just needed to be adapted
>>>>> for trunk, and don't really add much to the existing code base.  I don't
>>>>> know much about mp3 tagging so I'm not in a position to add these
>>>>> features to mixxx.
>>>>>
>>>>> Sorry,
>>>>> Owen
>>>>>
>>>>> On Fri, 2010-08-27 at 23:05 +0200, jus wrote:
>>>>>> Great work,
>>>>>> would it be possible to take care of the "Key" column too?
>>>>>> https://bugs.launchpad.net/mixxx/+bug/611871
>>>>>>
>>>>> On Sat, 2010-08-28 at 00:02 +0200, Tobias Rafreider wrote:
>>>>>> Good work,
>>>>>>
>>>>>> could you also add a 'rating' column? This is useful to spot favourite
>>>>>> songs more easily.
>>>>>>
>>>>>> https://bugs.launchpad.net/mixxx/+bug/625565
>>>> ------------------------------------------------------------------------------
>>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>>> Be part of this innovative community and reach millions of netbook users
>>>> worldwide. Take advantage of special opportunities to increase revenue and
>>>> speed time-to-market. Join now, and jumpstart your future.
>>>> http://p.sf.net/sfu/intel-atom-d2d
>>>> _______________________________________________ Mixxx-devel mailing list 
>>>> Mixxx-devel@lists.sourceforge.net 
>>>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>>
>> ------------------------------------------------------------------------------
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> _______________________________________________
>> Mixxx-devel mailing list
>> Mixxx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to