NowPlayingPlugin: Added support for MusicBee, fixed Debug build, and updated Winamp SDK.

This commit is contained in:
Birunthan Mohanathas
2011-05-24 18:20:35 +00:00
parent 31e3091e34
commit 2ba2e95736
15 changed files with 1896 additions and 406 deletions

View File

@ -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)