Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…w or picture.
  • Loading branch information...
commit 54fc0f432c62ba50d33fe2e76003ae125ae4e7f5 1 parent c8167f9
@ulion authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/pictures/GUIWindowSlideShow.cpp
View
2  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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.