mirror of
https://github.com/YuzuZensai/NekoMelody.git
synced 2026-01-30 20:34:32 +00:00
✨ feat: Audio metadata
This commit is contained in:
@@ -9,7 +9,7 @@ import dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
|
||||
const main = async () => {
|
||||
const videoId = "2gigEGxnsmo";
|
||||
const videoId = "l6gPxDSNbVk";
|
||||
const videoId2 = "oM-JneFEdBk";
|
||||
|
||||
// Providers
|
||||
@@ -21,7 +21,11 @@ const main = async () => {
|
||||
player.startCurrentStream();
|
||||
});
|
||||
|
||||
await player.enqueue(`https://www.youtube.com/watch?v=${videoId}`);
|
||||
const info = await player.enqueue(
|
||||
`https://www.youtube.com/watch?v=${videoId}`,
|
||||
);
|
||||
console.log(info);
|
||||
|
||||
await player.enqueue(`https://www.youtube.com/watch?v=${videoId2}`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user