[mythtv-commits] Ticket #3041: MythMusic scanning improvements
MythTV
mythtv at cvs.mythtv.org
Wed Feb 7 19:03:27 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):
(In [12744]) Refs #3041
NOTE: This commit may break or negatively impact the performance of
mythmusic. I'm committing it in this possibly broken state before it
becomes larger and harder to handle.
Includes the following changes:
Change the music_songs lastplay column into a datetime field, it was
previously a timestamp which meant it was erroneously updated every time a
change was made to the record.
Breaks the scanning code out into it's own class.
Adds a music_directories table to normalise the information currently
stored in music_songs filename. The code doesn't take full advantage of
this change yet but ultimately it will have some benefits for speed and
directory browsing. For the moment, because both new and old code is in
use, this change will actually slow down scanning!
Renames all the member variables in metadata.cpp/h to comply with the
coding standards and improve readability.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/3041#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list