Telegram VCVideoPlayBot
- An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat.
NOTE:
- Make sure you have started a VoiceChat in your Group/Channel before deploying.
Features
Show the Features
- Playlist, queue.
- Supports Play from Youtube Playlist.
- Change VoiceChat title to current playing song name.
- Supports Live streaming from youtube
- Play from telegram file supported.
- Starts Radio after if no songs in playlist.
- Automatically downloads audio for the first two tracks in the playlist to ensure smooth playing
- Automatic restart even if heroku restarts.
- Support exporting and importing playlist.
Variables
See Variables
Mandatory Vars
API_ID: Get From my.telegram.orgAPI_HASH: Get from my.telegram.orgBOT_TOKEN: @BotfatherSESSION_STRING: Generate From hereCHAT: ID of Channel/Group where the bot plays Music.
Optional Vars
LOG_GROUP: Group to send Playlist, if CHAT is a Group()ADMINS: ID of users who can use admin commands.STARTUP_STREAM: This will be streamed on startups and restarts of bot. You can use either any STREAM_URL or a direct link of any video or a Youtube Live link. You can also use YouTube Playlist.Find a Telegram Link for your playlist from PlayList Dumb or get a PlayList from PlayList Extract. The PlayList link should in formhttps://t.me/DumpPlaylist/xxx.REPLY_MESSAGE: A reply to those who message the USER account in PM. Leave it blank if you do not need this feature.ADMIN_ONLY: PassYIf you want to make /play command only for admins ofCHAT. By default /play is available for all.
Deploy Now
Deploy in your VPS
$ git clone https://github.com/ZauteKm/VCVideoPlayBot.git
$ cd VCVideoPlayBot
$ sudo apt-get install python3-pip ffmpeg
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
#
$ python3 main.py
Requirements
- Python 3.6 or Higher.
- Telegram API key.
- Latest FFmpeg Python.
- Pyrogram String Session of the account.
- The User Account Needs To Be An Admin In The Channel/Group.