Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for playfromhere context menu item - the item shouldn't need a vi…

…deo info tag for this option to be available.
  • Loading branch information...
commit 06e389ddc9b1ffc95b3c873e893061823a607b79 1 parent ba145ce
bossanova808 bossanova808 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 xbmc/video/windows/GUIWindowVideoBase.cpp
4 xbmc/video/windows/GUIWindowVideoBase.cpp
View
@@ -1230,7 +1230,9 @@ void CGUIWindowVideoBase::GetContextButtons(int itemNumber, CContextButtons &but
{
buttons.Add(CONTEXT_BUTTON_RESUME_ITEM, GetResumeString(*(item.get()))); // Resume Video
}
- if (item->HasVideoInfoTag() && !item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
+ //if the item isn't a folder, is a member of a list rather than a single item
+ //and we're not on the last element of the list, then add the 'play from here' option
+ if (!item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
{
buttons.Add(CONTEXT_BUTTON_PLAY_AND_QUEUE, 13412);
}
Please sign in to comment.
Something went wrong with that request. Please try again.