NowPlayingPlugin: Fixed that track title didn't update when playing a radio stream with Winamp.

This commit is contained in:
Birunthan Mohanathas
2011-07-24 15:31:33 +00:00
parent 15eba97cba
commit 8954799483
5 changed files with 142 additions and 114 deletions

View File

@ -162,7 +162,7 @@ void CPlayer::FindCover()
if (!CCover::GetCached(m_CoverPath))
{
TagLib::FileRef fr(m_FilePath.c_str());
if (fr.isNull() || !fr.tag() || !CCover::GetEmbedded(fr, m_CoverPath))
if (fr.isNull() || !CCover::GetEmbedded(fr, m_CoverPath))
{
std::wstring trackFolder = CCover::GetFileFolder(m_FilePath);