mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
normalize tv recording objects
This commit is contained in:
parent
740e8a62a8
commit
82382681fc
9 changed files with 40 additions and 25 deletions
|
@ -725,8 +725,9 @@
|
|||
contentType = 'video/' + mediaSource.Container;
|
||||
|
||||
if (mediaSource.enableDirectPlay) {
|
||||
mediaUrl = mediaSource.Path;
|
||||
mediaUrl = FileSystem.translateFilePath(mediaSource.Path);
|
||||
playMethod = 'DirectPlay';
|
||||
|
||||
} else {
|
||||
|
||||
if (mediaSource.SupportsDirectStream) {
|
||||
|
@ -761,9 +762,9 @@
|
|||
|
||||
if (mediaSource.enableDirectPlay) {
|
||||
|
||||
mediaUrl = mediaSource.Path;
|
||||
|
||||
mediaUrl = FileSystem.translateFilePath(mediaSource.Path);
|
||||
playMethod = 'DirectPlay';
|
||||
|
||||
} else {
|
||||
|
||||
var isDirectStream = mediaSource.SupportsDirectStream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue