mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
fix mime type on direct play
This commit is contained in:
parent
0db3588529
commit
1c0b8b2b2a
@ -58,6 +58,7 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
{
|
||||
playlistItem.Transcode = false;
|
||||
playlistItem.FileFormat = Path.GetExtension(path).TrimStart('.');
|
||||
playlistItem.MimeType = directPlay.MimeType;
|
||||
return playlistItem;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user