we need to check for videos in OnShowPicture as well
for (int i = 0; i < (int)m_vecItems->Size();++i)
{
CFileItemPtr pItem = m_vecItems->Get(i);
- if (!pItem->m_bIsFolder && !(URIUtils::IsRAR(pItem->m_strPath) || URIUtils::IsZIP(pItem->m_strPath)) && pItem->IsPicture())
+ if (!pItem->m_bIsFolder && !(URIUtils::IsRAR(pItem->m_strPath) ||
+ URIUtils::IsZIP(pItem->m_strPath)) && (pItem->IsPicture() || (
+ g_guiSettings.GetBool("pictures.showvideos") &&
+ pItem->IsVideo())))
{
pSlideShow->Add(pItem.get());
}