[mythtv] [mythtv-commits] Ticket #3041: MythMusic scanning improvements

Stuart Morgan stuart at tase.co.uk
Thu Feb 22 23:44:03 UTC 2007

On Thursday 22 February 2007 22:58:21 MythTV wrote:
>  I've just given this a try and it seems to work fine. My music collection
>  probably isn't a good test for this because I do have a lot of compilation
>  albums and also lots of directories with only one or two tracks in them
>  even so I did see a speed improvement.
>  With a clean DB scanning 7782 tracks took
>  -   with HEAD   7min 52secs
>  -   with patch  6min 03secs
>  Manually copying an album with 18 tracks into the music directory and
>  performing a rescan
>  -   with HEAD  37secs
>  -   with patch 29secs

Well it's a start. I'll keep looking for improvements. 

If I can knock even 1 hundredths of a second off the time it takes for the 
length calculation that would amount to over a minute saved in scanning time 
for a collection of that size.

There are plenty of other places a few seconds can be saved too.
Stuart Morgan

More information about the mythtv-dev mailing list