aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2009-11-20 15:37:30 +0000
committervdrfan <vdrfan@svn>2009-11-20 15:37:30 +0000
commit5245408525c07983b77c9abd5aad4b2c619d0f4c (patch)
tree4e26f318c7625da6a90f05ffb970a7552d6feaf0
parent0cfeec599bd17b7d30a18962225d9b61ca04eb73 (diff)
fixed: do not show 'mark as watched' context entry for shoutcast items
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24788 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/GUIWindowMusicNav.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/GUIWindowMusicNav.cpp b/xbmc/GUIWindowMusicNav.cpp
index 100e5b2e14..d0568fbe3a 100644
--- a/xbmc/GUIWindowMusicNav.cpp
+++ b/xbmc/GUIWindowMusicNav.cpp
@@ -625,14 +625,14 @@ 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->m_bIsFolder && !item->IsShoutCast())
{
if (item->GetVideoInfoTag()->m_playCount > 0)
buttons.Add(CONTEXT_BUTTON_MARK_UNWATCHED, 16104); //Mark as UnWatched
else
buttons.Add(CONTEXT_BUTTON_MARK_WATCHED, 16103); //Mark as Watched
if ((g_settings.m_vecProfiles[g_settings.m_iLastLoadedProfileIndex].canWriteDatabases() || g_passwordManager.bMasterUser) &&
- !item->IsPluginRoot() && !item->IsPlugin() && !item->IsShoutCast())
+ !item->IsPluginRoot() && !item->IsPlugin())
{
buttons.Add(CONTEXT_BUTTON_RENAME, 16105);
buttons.Add(CONTEXT_BUTTON_DELETE, 646);