Exemple #1
0
//static
void CoverArtCache::requestCover(const Track& track,
                         const QObject* pRequestor) {
    CoverArtCache* pCache = CoverArtCache::instance();
    if (pCache == nullptr) return;

    CoverInfo info = track.getCoverInfoWithLocation();
    pCache->requestCover(info, pRequestor, 0, false, true);
}
Exemple #2
0
//static
void CoverArtCache::requestCover(const Track* pTrack,
                         const QObject* pRequestor) {
    CoverArtCache* pCache = CoverArtCache::instance();
    if (pCache == nullptr || pTrack == nullptr) return;

    CoverInfo info = pTrack->getCoverInfo();
    pCache->requestCover(info, pRequestor, 0, false, true);
}