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