Settings

Theme

Show HN: I built an AI DJ bot that understands "play some chill Arctic Monkeys"

github.com

1 points by Ente a month ago · 3 comments · 1 min read

Reader

I made a Telegram bot that adds songs to a shared Spotify playlist. Drop "Everlong by Foo Fighters" in your group chat and it figures out which track you meant.

It handles Spotify links (instant add), cross-platform links like YouTube/Apple Music (resolves and asks for confirmation), and natural language requests. The LLM disambiguation is the fun part - it goes through 4 stages to nail down exactly which track you want, handling ambiguous requests surprisingly well.

Built it in Go with flood protection (because someone always tries to spam 50 songs at once) and duplicate detection so the same track doesn't get added twice. It also auto-manages the queue to keep music playing continuously.

Fair warning: this is a passion project I vibe-coded. Works great for my friend group but probably not production-ready.

Would love to hear what you think!

haiji1992 a month ago

How is copyright controlled?

  • EnteOP a month ago

    Ah sorry, tunnelvision: The bot neither downloads nor plays any music directly. It just curates a spotify playlist & queue. Users must use the official spotify player to plss the music. To answer your question: spotify does that.

  • EnteOP a month ago

    not sure what copyright you mean. The source code is MIT licensed. Can you please clarify?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection