Skip to content

Commit

Permalink
[pvr] Use correct title for recordings (if available)
Browse files Browse the repository at this point in the history
Currently it seems to use the title from teletext (on dvdplayer)
  • Loading branch information
fetzerch committed Sep 21, 2012
1 parent 0a48951 commit 7031a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/GUIInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3539,6 +3539,8 @@ CStdString CGUIInfoManager::GetVideoLabel(int item)
StringUtils::EmptyString :
g_localizeStrings.Get(19055); // no information available
}
if (m_currentFile->HasPVRRecordingInfoTag() && !m_currentFile->GetPVRRecordingInfoTag()->m_strTitle.IsEmpty())
return m_currentFile->GetPVRRecordingInfoTag()->m_strTitle;
if (m_currentFile->HasVideoInfoTag() && !m_currentFile->GetVideoInfoTag()->m_strTitle.IsEmpty())
return m_currentFile->GetVideoInfoTag()->m_strTitle;
// don't have the title, so use dvdplayer, label, or drop down to title from path
Expand Down

0 comments on commit 7031a60

Please sign in to comment.