We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4278c9 commit 744ec6cCopy full SHA for 744ec6c
server/services/direct.ts
@@ -91,7 +91,9 @@ export default class DirectVideoAdapter extends ServiceAdapter {
91
}
92
const fileInfo = await this.ffprobe.getFileInfo(link);
93
const duration = Math.ceil(this.getDuration(fileInfo));
94
- const title = fileInfo.format?.tags?.title ?? fileName;
+ const title =
95
+ fileInfo.format?.tags?.title ??
96
+ decodeURIComponent(fileName).slice(0, -extension.length - 1);
97
const video: Video = {
98
service: this.serviceId,
99
id: link,
0 commit comments