Notes
-The commands and there use is explained here-:
-
/saavn
To search song on jio saavan and play the first result -
/ytt
To search the song on Youtube and play the first matching result. -
/deezer
To search song on deezer and play good quality stream. -
/play
Reply this in response to a link or any telegram audio file it will be played -
/skip
to skip current song -
/stop or /kill
to stop the streaming of song -
/pause
to pause the stream -
/resume
to resume the playback. -
Inline search is also supported.
-
Use pyrogram string u can use @StringGenBot
-It is inspired from su music project and hamkercat's telegram voice bot. Neither su music project , nor pytgcalls are stable
Requirements
- FFmpeg
- NodeJS nodesource.com
- Python 3.7+
- PyTgCalls
Config
Copy example.env
to .env
and fill it with your credentials.
Without Docker
- Install Python requirements:
pip install -r requirements.txt
- Run:
python main.py
Using Docker
- Build:
docker build -t musicplayer .
- Run:
docker run --env-file .env musicplayer