NowPlayingPlugin: Minor tweaks.

This commit is contained in:
Birunthan Mohanathas
2011-09-08 12:42:03 +00:00
parent 6b06548260
commit d598c56b76
14 changed files with 47 additions and 67 deletions

View File

@ -451,7 +451,7 @@ void CPlayerWMP::UpdateData()
// Find cover if needed
// TODO: Fix temp solution
if (m_HasCoverMeasure || m_InstanceCount == 0)
if (m_Measures & MEASURE_COVER || m_InstanceCount == 0)
{
spMedia->getItemInfo(CComBSTR("WM/WMCollectionID"), &val);
targetPath.resize(targetPath.find_last_of(L'\\') + 1);
@ -469,7 +469,7 @@ void CPlayerWMP::UpdateData()
}
}
if (m_HasLyricsMeasure)
if (m_Measures & MEASURE_LYRICS)
{
FindLyrics();
}