Testing Needed: Switching enginecontroller to use milliseconds everywhere.

Jeff Mitchell mitchell at kde.org
Wed Sep 30 21:45:02 CEST 2009


Ian Monroe wrote:
> On Wed, Sep 30, 2009 at 7:08 AM, Jeff Mitchell <mitchell at kde.org> wrote:
>> Dan Meltzer wrote:
>>> I forgot to mention, this will require a full collection rescan (and
>>> an update of any service collections).  It might make sense to add a
>>> database update script to automatically convert the length field, but
>>> that can be done closer to merging...)
>>>
>>> Also, if we're storing it as milliseconds in the database, does the
>>> column type need to become BIGINT? or will INTERGER still handle it do
>>> you suppose...
>> INT will handle it. A signed int will give you 2147483647 milliseconds,
>> or 2147483.647 seconds, or almost 25 days' worth of music in a single
>> track. Should be enough,don't you think?
> 
> John Cage's new smash single "26 days and 33 seconds" should just go DIAF.

Lulz. Or, use UNSIGNED INTEGER for 50 days' worth of music in a single
track.

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20090930/d4c0833d/attachment.sig 


More information about the Amarok-devel mailing list