mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Update src/components/playback/playbackmanager.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
042cb4119b
commit
9067047403
@ -620,7 +620,7 @@ function supportsDirectPlay(apiClient, item, mediaSource) {
|
||||
} else if (mediaSource.Protocol === 'File') {
|
||||
return new Promise(function (resolve, reject) {
|
||||
// Determine if the file can be accessed directly
|
||||
import('filesystem').then(({ default: filesystem }) => {
|
||||
import('filesystem').then((filesystem) => {
|
||||
const method = isFolderRip ?
|
||||
'directoryExists' :
|
||||
'fileExists';
|
||||
|
Loading…
Reference in New Issue
Block a user