fix mime type on direct play

This commit is contained in:
Luke Pulverenti 2014-03-13 16:21:42 -04:00
parent 0db3588529
commit 1c0b8b2b2a

View File

@ -58,6 +58,7 @@ namespace MediaBrowser.Dlna.PlayTo
{
playlistItem.Transcode = false;
playlistItem.FileFormat = Path.GetExtension(path).TrimStart('.');
playlistItem.MimeType = directPlay.MimeType;
return playlistItem;
}