NowPlaying.dll:

- Fixed that invalid PlayerName= caused crash
- Fixed that PlayerType=COVER didn't work with iTunes
This commit is contained in:
Birunthan Mohanathas
2012-03-02 12:27:37 +00:00
parent 4a7ef7508f
commit e5f5ea41cb
2 changed files with 16 additions and 15 deletions

View File

@ -423,8 +423,8 @@ void CPlayerITunes::OnTrackChange()
if (SUCCEEDED(hr))
{
tmpStr = (BSTR)m_TempCoverPath.c_str();
hr = artwork->SaveArtworkToFile(tmpStr);
CComBSTR coverPath = m_TempCoverPath.c_str();
hr = artwork->SaveArtworkToFile(coverPath);
if (SUCCEEDED(hr))
{
m_CoverPath = m_TempCoverPath;