An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.
Special Features
- Playlist, queue, 24x7 radio stream
- Loop one track when there is only one track in the playlist
- Automatically downloads audio for the first two tracks in the playlist to ensure smooth playing
- Show current playing position of the audio
- Control with buttons and commands
- Download songs from YouTube as audio
Support Channel: @AsmSafone
Support Group: safothebot
Requirements
- Python 3.6 or higher.
- A Telegram API key and a Telegram account.
- FFmpeg Python
- Telegram String Session of the account.
- Userbot Needs To Be Admin In The Channel or Group.
Heroku Vars:
- ADMINS: @TGIdsBot
- API_HASH & API_ID: my.telegram.org
- BOT_TOKEN: @Botfather
- CHAT: @TGIdsBot
- LOG_GROUP: @TGIdsBot [if Channel then leave blank]
- SESSION_STRING: tgsession.infotelbot.com
- STREAM_URL: https://radioindia.net/radio/hungamanow/icecast.audio [default]
Radio Garden [ Open Chrome Browser]
7.1 Chrome Extension: https://chrome.google.com/webstore/detail/video-downloadhelper/lmjnegcaeklhafolokijcfjliaokphfk
7.2 Link: https://radio.garden
Live Radio Streaming Links: https://telegra.ph/Live-Radio-Stream-Links-05-17
Note:
- Enable the worker after deploy the project to Heroku.
- Bot will starts radio automatically in given CHAT with given STREAM_URL after deploy.
- 24x7 Music even if Heroku restarts, radio stream restarts automatically.
- To play a song just send the audio file to Bot or reply to an audio with /play to start playing it in the voice chat.
- To download audio you can use @SafoneMusicBot or /song command to the bot.
- Use /help to know about other commands & its usage.