Permalink
Browse files

Change AnnouncePlayerPlay to announce speed == 0 for pausing slidesho…

…w or picture.
  • Loading branch information...
ulion committed Apr 9, 2013
1 parent c8167f9 commit 54fc0f432c62ba50d33fe2e76003ae125ae4e7f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/pictures/GUIWindowSlideShow.cpp
@@ -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);
}

0 comments on commit 54fc0f4

Please sign in to comment.