Skip to content

Commit

Permalink
fix inconsistency when calling TV Show information on a season where …
Browse files Browse the repository at this point in the history
…the art for the item was taken from the season rather than the show
  • Loading branch information
Jonathan Marshall committed Nov 9, 2012
1 parent 5a3f58c commit aa5f549
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/video/windows/GUIWindowVideoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ void CGUIWindowVideoBase::OnInfo(CFileItem* pItem, const ADDON::ScraperPtr& scra
CFileItem item(*pItem);
if (item.IsVideoDb() && item.HasVideoInfoTag())
{
if (item.GetVideoInfoTag()->m_type == "season")
{ // clear out the art - we're really grabbing the info on the show here
item.SetArt(map<string, string>());
}
item.SetPath(item.GetVideoInfoTag()->GetPath());
}
else
Expand Down

0 comments on commit aa5f549

Please sign in to comment.