aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2009-11-20 15:09:57 +0000
committervdrfan <vdrfan@svn>2009-11-20 15:09:57 +0000
commit4333f1e23e75bc35c263db4e0e8252ddbc65e057 (patch)
tree94cf3fd133ee03fae10ba80d52ca6a291473514a
parentf0c4631c3c844c84ff5b4110f3233c6c6b8d863c (diff)
fixed: make sure 'mark as watched' context menu entry is only shown for videodb items in music library
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24786 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/GUIWindowMusicNav.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIWindowMusicNav.cpp b/xbmc/GUIWindowMusicNav.cpp
index 100e5b2e14..4572b6cbd5 100644
--- a/xbmc/GUIWindowMusicNav.cpp
+++ b/xbmc/GUIWindowMusicNav.cpp
@@ -625,7 +625,7 @@ void CGUIWindowMusicNav::GetContextButtons(int itemNumber, CContextButtons &butt
if (database.GetMatchingMusicVideo(item->GetMusicInfoTag()->GetArtist(),item->GetMusicInfoTag()->GetAlbum(),item->GetMusicInfoTag()->GetTitle()) > -1)
buttons.Add(CONTEXT_BUTTON_PLAY_OTHER, 20401);
}
- if (item->HasVideoInfoTag() && !item->m_bIsFolder)
+ if (item->HasVideoInfoTag() && item->IsVideoDb() && !item->m_bIsFolder)
{
if (item->GetVideoInfoTag()->m_playCount > 0)
buttons.Add(CONTEXT_BUTTON_MARK_UNWATCHED, 16104); //Mark as UnWatched