Skip to content

Commit

Permalink
Fix Play Queue home menu item not visible after creating it from any …
Browse files Browse the repository at this point in the history
…of the home lists xbmc#1234

Was due to :
1 - PQ type not being set upon creation (was only set upon save)
2 - Missing PQ update code.
  • Loading branch information
LongChair committed Jun 16, 2014
1 parent 460c07c commit ed20c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plex/Home/GUIWindowHome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,10 @@ bool CGUIWindowHome::OnPopupMenu()
{
CFileItemPtr item = GetCurrentFanoutItem();
if (item)
{
g_plexApplication.playQueueManager->QueueItem(item, choice == CONTEXT_BUTTON_PLAY_ONLY_THIS);
UpdateSections();
}
break;
}

Expand Down
1 change: 1 addition & 0 deletions plex/Playlists/PlexPlayQueueManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ bool CPlexPlayQueueManager::create(const CFileItem& container, const CStdString&
if (impl)
{
m_currentImpl = impl;
m_playQueueType = PlexUtils::GetMediaTypeFromItem(container);
return m_currentImpl->create(container, uri, options);
}

Expand Down

0 comments on commit ed20c83

Please sign in to comment.