mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlayingPlugin: Added support for MusicBee, fixed Debug build, and updated Winamp SDK.
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "NowPlaying.h"
|
||||
#include "PlayerAIMP.h"
|
||||
#include "PlayerCAD.h"
|
||||
#include "PlayerFoobar.h"
|
||||
#include "PlayerITunes.h"
|
||||
#include "PlayerSpotify.h"
|
||||
@ -27,6 +28,7 @@
|
||||
#include "PlayerWMP.h"
|
||||
|
||||
CPlayer* g_AIMP = NULL;
|
||||
CPlayer* g_CAD = NULL;
|
||||
CPlayer* g_Foobar = NULL;
|
||||
CPlayer* g_iTunes = NULL;
|
||||
CPlayer* g_Spotify = NULL;
|
||||
@ -122,6 +124,14 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
}
|
||||
data->player = g_AIMP;
|
||||
}
|
||||
else if (_wcsicmp(L"MusicBee", str) == 0)
|
||||
{
|
||||
if (!g_CAD)
|
||||
{
|
||||
g_CAD = new CPlayerCAD;
|
||||
}
|
||||
data->player = g_CAD;
|
||||
}
|
||||
else if (_wcsicmp(L"iTunes", str) == 0)
|
||||
{
|
||||
if (!g_iTunes)
|
||||
|
Reference in New Issue
Block a user