···2222 duration: number
2323) {
2424 try {
2525- // wait 15 seconds to ensure the track is actually being played
2626- await new Promise((resolve) => setTimeout(resolve, 15000));
2525+ // wait 20 seconds to ensure the track is actually being played
2626+ await new Promise((resolve) => setTimeout(resolve, 20000));
2727 const recentPlays = await getRecentPlays(agent, 5);
2828 // Check if the track was played in the last 5 plays (verify by MBID and timestamp to avoid duplicates)
2929 const alreadyPlayed = recentPlays.some((play) => {