mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlayingPlugin:
- Added interface to receive MSN/Windows Live Messenger 'Listening to' notifications sent by various players (e.g Media Player Classic) - Changes to CAD interface to allow proper supports for players other than MusicBee (e.g. VLC) - Fixed crash when using the WinAmp interface in multiple skins
This commit is contained in:
@ -21,10 +21,10 @@
|
||||
#include "Winamp/wa_ipc.h"
|
||||
#include "Winamp/wa_cmd.h"
|
||||
|
||||
// This player retrieves data through the Winamp IPC API.
|
||||
|
||||
extern CPlayer* g_Winamp;
|
||||
|
||||
// This player retrieves data through the Winamp IPC interface.
|
||||
|
||||
/*
|
||||
** CPlayerWinamp
|
||||
**
|
||||
@ -63,7 +63,6 @@ void CPlayerWinamp::AddInstance(MEASURETYPE type)
|
||||
|
||||
if (type == MEASURE_COVER)
|
||||
{
|
||||
g_Winamp = NULL;
|
||||
m_HasCoverMeasure = true;
|
||||
}
|
||||
}
|
||||
@ -78,6 +77,7 @@ void CPlayerWinamp::RemoveInstance()
|
||||
{
|
||||
if (--m_InstanceCount == 0)
|
||||
{
|
||||
g_Winamp = NULL;
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user