[mythtv-commits] Ticket #3041: MythMusic scanning improvements
MythTV
mythtv at cvs.mythtv.org
Wed Feb 21 16:07:15 UTC 2007
#3041: MythMusic scanning improvements
-----------------------+----------------------------------------------------
Reporter: stuartm | Owner: stuartm
Type: task | Status: assigned
Priority: minor | Milestone: 0.21
Component: mythmusic | Version: head
Severity: medium | Resolution:
-----------------------+----------------------------------------------------
Comment (by stuartm):
Attached a patch which has the balance of the scanner changes, it cuts
down the number of db queries significantly. The albumid cache doesn't
work with compilation albums, but that's not a significant problem unless
you have a lot of them. There is still room for improvement and
optimisation.
Feedback on the patch (which only applies to HEAD) would be appreciated.
Right now one of the slowest steps in scanning mp3s is calculating the
track length. One improvement that I can make is to use the TLEN id3v2
frame if it exists. There just might be a quicker method for obtaining the
length but I'll have to look closer at what we're doing now.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3041#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list