mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fix mime type on direct play
This commit is contained in:
parent
0db3588529
commit
1c0b8b2b2a
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue