/TG-Music-Player

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

TG Music Player

Requirements

  • FFmpeg
  • Python 3.7+

Deployment

Config

Copy example.env to .env and fill it with your credentials.

The good way

  1. Install Python requirements:
    pip install -U -r requirements.txt
  2. Run:
    python main.py

Docker

  1. Build:
    docker build -t musicplayer .
  2. Run:
    docker run --env-file .env musicplayer

Heroku

Deploy

Get Your String Session By Pyrogram

Commands

Command Description
/play play the replied audio file or YouTube video
/pause pause the audio stream
/resume resume the audio stream
/skip skip the current audio stream
/mute mute the userbot
/unmute unmute the userbot
/stop clear the queue and remove the userbot from the call

License

GNU Affero General Public License v3.0

Read more