A decentralized music tracking and discovery platform built on AT Protocol 🎵 forked from rocksky.app/rocksky
Something went wrong. Try again.
1234567891011121314151617181920212223import { matchTrack } from "lib/matchTrack";import { publishScrobble } from "scrobble";
export async function scrobble( track: string, artist: string, { timestamp, dryRun },) { const match = await matchTrack(track, artist);
if (!match) { process.exit(1); }
const success = await publishScrobble(match, timestamp, dryRun);
if (!success) { process.exit(1); }
process.exit(0);}