From c65a2e1a5b2334c9b5a5f1b42b9de18b2f3d4255 Mon Sep 17 00:00:00 2001 From: lenafx Date: Sat, 3 Jan 2026 20:39:07 +0100 Subject: [PATCH] added message saying local library not supported yet on web player --- desktop/src/scripts/anime/player.js | 4 ++-- docker/src/scripts/anime/player.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/src/scripts/anime/player.js b/desktop/src/scripts/anime/player.js index 0642ac7..bd0fd0b 100644 --- a/desktop/src/scripts/anime/player.js +++ b/desktop/src/scripts/anime/player.js @@ -1098,8 +1098,8 @@ const AnimePlayer = (function() { const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase(); - if (!['mp4'].includes(ext)) { - setLoading(`Format '${ext}' not supported in web player. Use MPV.`); + if (![''].includes(ext)) { + setLoading(`Local files are not supported on the web player yet. Use MPV.`); _rawVideoData = { url: targetUnit.path, headers: {} diff --git a/docker/src/scripts/anime/player.js b/docker/src/scripts/anime/player.js index 0642ac7..bd0fd0b 100644 --- a/docker/src/scripts/anime/player.js +++ b/docker/src/scripts/anime/player.js @@ -1098,8 +1098,8 @@ const AnimePlayer = (function() { const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase(); - if (!['mp4'].includes(ext)) { - setLoading(`Format '${ext}' not supported in web player. Use MPV.`); + if (![''].includes(ext)) { + setLoading(`Local files are not supported on the web player yet. Use MPV.`); _rawVideoData = { url: targetUnit.path, headers: {}