Skip to content
This repository
Browse code

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 authored July 10, 2012
4  xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -1230,7 +1230,9 @@ void CGUIWindowVideoBase::GetContextButtons(int itemNumber, CContextButtons &but
1230 1230
       {
1231 1231
         buttons.Add(CONTEXT_BUTTON_RESUME_ITEM, GetResumeString(*(item.get())));     // Resume Video
1232 1232
       }
1233  
-      if (item->HasVideoInfoTag() && !item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
  1233
+      //if the item isn't a folder, is a member of a list rather than a single item
  1234
+      //and we're not on the last element of the list, then add the 'play from here' option
  1235
+      if (!item->m_bIsFolder && m_vecItems->Size() > 1 && itemNumber < m_vecItems->Size()-1)
1234 1236
       {
1235 1237
         buttons.Add(CONTEXT_BUTTON_PLAY_AND_QUEUE, 13412);
1236 1238
       }

0 notes on commit 06e389d

Please sign in to comment.
Something went wrong with that request. Please try again.