NowPlayingPlugin: Improved MusicBee & MediaMonkey support and fixed that the ClosePlayer bang with iTunes does not always work.

This commit is contained in:
Birunthan Mohanathas
2011-05-28 07:50:33 +00:00
parent 9a19d8808e
commit 3268c774d2
10 changed files with 256 additions and 63 deletions

View File

@ -140,6 +140,14 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
}
data->player = g_iTunes;
}
else if (_wcsicmp(L"MediaMonkey", str) == 0)
{
if (!g_Winamp)
{
g_Winamp = new CPlayerWinamp(WA_MEDIAMONKEY);
}
data->player = g_Winamp;
}
else if (_wcsicmp(L"MusicBee", str) == 0)
{
if (!g_CAD)
@ -156,11 +164,11 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
}
data->player = g_Spotify;
}
else if (_wcsicmp(L"WinAmp", str) == 0 || _wcsicmp(L"MediaMonkey", str) == 0)
else if (_wcsicmp(L"WinAmp", str) == 0)
{
if (!g_Winamp)
{
g_Winamp = new CPlayerWinamp();
g_Winamp = new CPlayerWinamp(WA_WINAMP);
}
data->player = g_Winamp;
}