Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed: mark playlist items as playable via listitem property 'IsPlaya…
…ble' - fixes issue with plugin:// URLs within playlists (closes #12415)
  • Loading branch information
mkortstiege committed Jan 5, 2012
1 parent f57c27a commit 6e67da7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/playlists/PlayList.cpp
Expand Up @@ -68,6 +68,9 @@ void CPlayList::Add(const CFileItemPtr &item, int iPosition, int iOrder)
else
m_iPlayableItems++;

// set 'IsPlayable' property - needed for properly handling plugin:// URLs
item->SetProperty("IsPlayable", true);

//CLog::Log(LOGDEBUG,"%s item:(%02i/%02i)[%s]", __FUNCTION__, iPosition, item->m_iprogramCount, item->GetPath().c_str());
if (iPosition == iOldSize)
m_vecItems.push_back(item);
Expand Down

0 comments on commit 6e67da7

Please sign in to comment.