diff --git a/server/services/direct.ts b/server/services/direct.ts index 196e92634..87d01e867 100644 --- a/server/services/direct.ts +++ b/server/services/direct.ts @@ -91,7 +91,9 @@ export default class DirectVideoAdapter extends ServiceAdapter { } const fileInfo = await this.ffprobe.getFileInfo(link); const duration = Math.ceil(this.getDuration(fileInfo)); - const title = fileInfo.format?.tags?.title ?? fileName; + const title = + fileInfo.format?.tags?.title ?? + decodeURIComponent(fileName).slice(0, -extension.length - 1); const video: Video = { service: this.serviceId, id: link,