This is a python based Telegram Bot program (meant to run in the background) which is intended to run on a Remote Host machine connected to a music speaker system. This bot plays the requested title of the song from youtube (audio only).
Operation:
- User sends a string query (usually a song name, but it can be anything tbh!) to the Telegram Bot.
- The user query is searched on Youtube platform and list of results (a.k.a. Youtube recommendations for the query) is obtained.
- The bot then selects the first youtube recommendation for the queried title.
- The audio stream of that video is extracted and played on the host computer.
Supported Commands:
- Play - Play "Title Name" (without quotes) will play the youtube recommendation which matches "Title Name"
- Pause - Pauses current audio playback
- Stop - Stops the current song and removes it from the player
Inspired from pietrocolombo's work