Update src/components/playback/playbackmanager.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user