MythMusic: make sure the memory cache is updated after a rescan

Multimedia / MythTV - Paul Harrison [mythtv.org] - 18 January 2014 12:11 UTC

This makes sure any removed or updated tracks are updated in the cache after a scan finishes.

Send a MUSIC_RESYNC_FINISHED myth event after a resync to tell any listeners they may need to reload/resync.

Reload the tree in the playlist editor after a resync.

d5cf173 MythMusic: make sure the memory cache is updated after a rescan
.../mythmusic/mythmusic/playlisteditorview.cpp | 25 +++
mythtv/libs/libmythmetadata/musicmetadata.cpp | 161 +++++++++++++-------
mythtv/libs/libmythmetadata/musicmetadata.h | 6 +-
3 files changed, 136 insertions(+), 56 deletions(-)

Upstream: github.com


  • Share