mirror of
https://github.com/YuzuZensai/NekoMelody.git
synced 2026-01-06 04:33:21 +00:00
✨ feat: Metadata url
This commit is contained in:
@@ -11,6 +11,7 @@ export interface AudioInformation {
|
||||
metadata: {
|
||||
title: string | null;
|
||||
thumbnail: string | null;
|
||||
url: string;
|
||||
};
|
||||
refreshInfoFunction: () => Promise<AudioInformation>;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ export class YtDlpProvider extends Provider {
|
||||
metadata: {
|
||||
title: ytDlpWrapInfo.title,
|
||||
thumbnail: bestThumbnail,
|
||||
url: `https://www.youtube.com/watch?v=${ytDlpWrapInfo.id}`,
|
||||
},
|
||||
} as AudioInformation;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user