Skip to content

Commit

Permalink
changed: don't generate favourites using RunPlugin, use PlayMedia ins…
Browse files Browse the repository at this point in the history
…tead
  • Loading branch information
spiff committed Feb 9, 2011
1 parent bb6b583 commit c364739
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xbmc/Favourites.cpp
Expand Up @@ -172,8 +172,6 @@ CStdString CFavourites::GetExecutePath(const CFileItem *item, int contextWindow)
if (item->m_bIsFolder && (g_advancedSettings.m_playlistAsFolders ||
!(item->IsSmartPlayList() || item->IsPlayList())))
execute.Format("ActivateWindow(%i,%s)", contextWindow, Paramify(item->m_strPath));
else if (item->m_strPath.Left(9).Equals("plugin://"))
execute.Format("RunPlugin(%s)", Paramify(item->m_strPath));
else if (item->m_strPath.Left(9).Equals("script://"))
execute.Format("RunScript(%s)", Paramify(item->m_strPath.Mid(9)));
else if (contextWindow == WINDOW_PROGRAMS)
Expand Down

0 comments on commit c364739

Please sign in to comment.