Skip to content

Commit

Permalink
Change AnnouncePlayerPlay to announce speed == 0 for pausing slidesho…
Browse files Browse the repository at this point in the history
…w or picture.
  • Loading branch information
ulion committed May 2, 2013
1 parent c8167f9 commit 54fc0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/pictures/GUIWindowSlideShow.cpp
Expand Up @@ -161,7 +161,7 @@ CGUIWindowSlideShow::~CGUIWindowSlideShow(void)
void CGUIWindowSlideShow::AnnouncePlayerPlay(const CFileItemPtr& item)
{
CVariant param;
param["player"]["speed"] = 1;
param["player"]["speed"] = m_bSlideShow && !m_bPause ? 1 : 0;
param["player"]["playerid"] = PLAYLIST_PICTURE;
ANNOUNCEMENT::CAnnouncementManager::Announce(ANNOUNCEMENT::Player, "xbmc", "OnPlay", item, param);
}
Expand Down

0 comments on commit 54fc0f4

Please sign in to comment.