Skip to content
Browse files

Get correct MimeType for PVR Channel, if set.

  • Loading branch information...
1 parent 1830ac0 commit 7c52fdf1d41fc613196ff7082a4050c4dc4803f6 @BtbN BtbN committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/FileItem.cpp
View
2 xbmc/FileItem.cpp
@@ -1377,6 +1377,8 @@ const CStdString& CFileItem::GetMimeType(bool lookup /*= true*/) const
if( m_bIsFolder )
m_ref = "x-directory/normal";
+ else if( m_pvrChannelInfoTag )
+ m_ref = m_pvrChannelInfoTag->InputFormat().Trim();
else if( m_strPath.Left(8).Equals("shout://")
|| m_strPath.Left(7).Equals("http://")
|| m_strPath.Left(8).Equals("https://"))

0 comments on commit 7c52fdf

Please sign in to comment.
Something went wrong with that request. Please try again.