mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying: Improved cover handling with some players
This commit is contained in:
parent
fe1dc9434f
commit
47e130a6ff
@ -341,6 +341,14 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
||||
player->FindLyrics();
|
||||
}
|
||||
}
|
||||
else if (cds->dwData == IPC_NEW_COVER_NOTIFICATION)
|
||||
{
|
||||
WCHAR* data = (WCHAR*)cds->lpData;
|
||||
if (data)
|
||||
{
|
||||
player->m_CoverPath.assign(data);
|
||||
}
|
||||
}
|
||||
else if (cds->dwData == IPC_REGISTER_NOTIFICATION && !player->m_Initialized)
|
||||
{
|
||||
std::wstring data = (WCHAR*)cds->lpData;
|
||||
|
Loading…
Reference in New Issue
Block a user