This is an old revision of the document!
Last week: June 22 - June 28
As the library.cover_art column is updated in TrackDAO::updateCoverArt(), we could just emit the signal “trackChanged” and it would be enough to let the BaseTrackCache knows that it needs update the tableview. However, currently BTC is using TIOs to get the values of each column and as the cover_art column is not a member of TIO, it would not be enough.
First implementations of this project was based on the use of TIO, but we realized that it was bringing many performance issues and that everything would work much better without it. In this way, we needed another solution to update the BTC and basically the best idea that we found was implement a new SIGNAL/SLOT to access BTC::updateTrackInIndex(int trackId).