fix: remove unnecessary URL encoding for file links in getEpisodes and getMeta

This commit is contained in:
himanshu8443
2025-08-15 16:25:18 +05:30
parent 7689fbce6e
commit 712234fac9
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ export const getEpisodes = async function ({
fileName.includes(".avi") ||
fileName.includes(".mov")
) {
const fullLink = encodeURIComponent(fileLink);
const fullLink = fileLink;
// Try to extract episode information from filename
let episodeTitle = fileName;

View File

@@ -35,7 +35,7 @@ export const getMeta = async function ({
itemTitle !== "../" &&
itemTitle !== "Parent Directory"
) {
const fullLink = encodeURIComponent(itemLink);
const fullLink = itemLink;
// If it's a directory (ends with /)
if (itemTitle.endsWith("/")) {