|
a/upmpd/ohplaylist.cxx |
|
b/upmpd/ohplaylist.cxx |
|
... |
|
... |
194 |
}
|
194 |
}
|
195 |
|
195 |
|
196 |
// If we added entries or there are some stale entries, the new
|
196 |
// If we added entries or there are some stale entries, the new
|
197 |
// map differs, save it to cache
|
197 |
// map differs, save it to cache
|
198 |
if ((m_dev->m_options & UpMpd::upmpdOhMetaPersist) &&
|
198 |
if ((m_dev->m_options & UpMpd::upmpdOhMetaPersist) &&
|
199 |
!m_metacache.empty() || m_cachedirty) {
|
199 |
(!m_metacache.empty() || m_cachedirty)) {
|
200 |
LOGDEB("OHPlaylist::makeIdArray: saving metacache" << endl);
|
200 |
LOGDEB("OHPlaylist::makeIdArray: saving metacache" << endl);
|
201 |
dmcacheSave(m_dev->getMetaCacheFn().c_str(), nmeta);
|
201 |
dmcacheSave(m_dev->getMetaCacheFn().c_str(), nmeta);
|
202 |
m_cachedirty = false;
|
202 |
m_cachedirty = false;
|
203 |
}
|
203 |
}
|
204 |
m_metacache = nmeta;
|
204 |
m_metacache = nmeta;
|