mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying.dll:
- Fixed that album name and cover were not always displayed with Winamp due to r1018 - Shuffle and repeat state is now rechecked on track change with iTunes - Improved performance when reading file tags/cover - Updated iTunes SDK files
This commit is contained in:
@ -372,6 +372,27 @@ void CPlayerITunes::OnTrackChange()
|
||||
tmpVal /= 20L;
|
||||
m_Rating = (UINT)tmpVal;
|
||||
|
||||
IITPlaylist* playlist;
|
||||
hr = track->get_Playlist(&playlist);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
VARIANT_BOOL shuffle;
|
||||
hr = playlist->get_Shuffle(&shuffle);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
m_Shuffle = (bool)shuffle;
|
||||
}
|
||||
|
||||
ITPlaylistRepeatMode repeat;
|
||||
hr = playlist->get_SongRepeat(&repeat);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
m_Repeat = (bool)repeat;
|
||||
}
|
||||
|
||||
playlist->Release();
|
||||
}
|
||||
|
||||
IITFileOrCDTrack* file;
|
||||
hr = track->QueryInterface(&file);
|
||||
if (SUCCEEDED(hr))
|
||||
|
Reference in New Issue
Block a user