Musicplayer

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️
Alternatives To Musicplayer
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Radioplayerv3405
5 months ago8agpl-3.0Python
An Advanced Telegram Bot to Play Radio & Music in Voice Chat. This is Also The Source Code of The Bot Which is Being Used For Playing Radio in @AsmSafone Channel ❤️
Musicplayer215
5 months ago4agpl-3.0Python
A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️
Daisyxmusic193
a year agomitPython
Free and Open Source Group Voice chat music player for telegram ❤️ with button support youtube playback support
Tamilvcmusic152
a year ago3gpl-3.0Python
A telegram bot for which is help to play songs in vc 🥰 give 🌟 and fork this repo before use 😏
Music Player98
8 days agogpl-3.0Python
A bot that can play music on telegram group's voice chat.
Vcplayerbot49
7 months ago5Python
Play songs directly in telegram voice chats.
Cbmusicbot18
3 months ago4gpl-3.0Python
CBMusicBot is a telegram music bot project, allow you to play music on voice chat group telegram.
Telegram Song Downloader Bot13
5 months ago1gpl-3.0Python
Powerful bot to download songs from YouTube🔥 100% free💖
Anki Vector Music12
8 months agogpl-3.0Python
Anki vector Music ❤ is the best and only Telegram VC player with playlists, Multi Playback, Channel play and more
Killerx Music11
6 months agomitPython
Telegram Group Calls Streaming bot with some useful features, written in Python with Pyrogram and Py-Tgcalls. Supporting platforms like Youtube, Spotify, Resso, AppleMusic, Soundcloud and M3u8 Links.
Alternatives To Musicplayer
Select To Compare


Alternative Project Comparisons
Readme

⭐️ Music Player ⭐️

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls

made-with-python
LICENSE Contributors Repository Size
Forks Stars Watchers Commit Activity Issues

Features

⚡️ Fast & Light

Starts streaming your inputs while downloading and converting them. Also, it doesn't make produce files.

👮🏻‍♀️ Safe and handy

Restricts control and sensitive commands to admins.

🗑 Clean and spam free

Deletes old playing trash to keep your chats clean.

😎 Has cool controls

Lets you switch stream mode, loop, pause, resume, mute, unmute anytime.

🖼 Has cool thumbnails

Response your commands with cool thumbnails on the chat.

😉 Streams whatever you like

You can stream audio or video files, YouTube videos with any duration, YouTube lives, YouTube playlists and even custom live streams like radios or m3u8 links or files in the place it is hosted!

📊 Streams in multiple places

Allows you to stream different things in multiple chats simultaneously. Each chat will have its own song queue.

🗣 Speaks different languages

Music Player is multilingual and speaks various languages, thanks to the translators.

🚀 Deploy

Deploy on Heroku

Note: First Fork The Repo Then Click On Deploy To Heroku Button!

☁️ Self Host

  • Legecy Method
$ git clone https://github.com/AsmSafone/MusicPlayer
$ cd MusicPlayer
$ sudo apt install git curl python3-pip ffmpeg -y
$ pip3 install -U pip
$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
$ sudo apt install -y nodejs
$ sudo apt install build-essential
$ sudo npm install [email protected] -g
$ pip3 install -U -r requirements.txt
$ cp sample.env .env
# < edit .env with your own values >
$ python3 main.py

Or you can use this One-Liner to save your time :

git clone https://github.com/AsmSafone/MusicPlayer && cd MusicPlayer && sudo apt install git curl python3-pip ffmpeg -y && pip3 install -U pip && curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - && sudo apt install -y nodejs && sudo apt install build-essential && sudo npm install [email protected] -g && pip3 install -U -r requirements.txt

Make sure to edit the .env file accordingly,

cp sample.env .env

Run it using,

python3 main.py
  • Docker Build Method
$ git clone https://github.com/AsmSafone/MusicPlayer
$ cd MusicPlayer
$ cp sample.env .env
# < edit .env with your own values >
$ sudo docker build . -t musicplayer
$ sudo docker run musicplayer

Configs

  • API_ID: Telegram app id from https://my.telegram.org/apps.
  • API_HASH: Telegram app hash from https://my.telegram.org/apps.
  • SESSION: Pyrogram string session. You can generate from here.
  • SUDOERS: ID of sudo users (separate multiple ids with space).
  • BOT_TOKEN: Telegram bot token from https://t.me/botfather. (optional)
  • QUALITY: Custom stream quality (high/medium/low) for the userbot in vc. Default: high
  • PREFIX: Bot commad prefixes (separate multiple prefix with space). Eg: ! /
  • LANGUAGE: An available bot language (can change it anytime). Default: en
  • STREAM_MODE: An stream mode like audio or video (can change it anytime). Default: audio
  • ADMINS_ONLY: Put True if you want to make /play commands only for admins. Default: False
  • SPOTIFY_CLIENT_ID: Spotify client id get it from here. (optional)
  • SPOTIFY_CLIENT_SECRET: Spotify client secret get it from here. (optional)

📄 Commands

Command Description
• !ping Check if alive or not
• !start / !help Show the help for commands
• !mode / !switch Switch the stream mode (audio/video)
• !p / !play [song name or youtube link] Play a song in vc, if already playing add to queue
• !radio / !stream [radio url or stream link] Play a live stream in vc, if already playing add to queue
• !pl / !playlist [playlist link] Play the whole youtube playlist at once
• !skip / !next Skip to the next song
• !m / !mute Mute the current stream
• !um / !unmute Unmute the muted stream
• !ps / !pause Pause the current stream
• !rs / !resume Resume the paused stream
• !list / !queue Show the songs in the queue
• !mix / !shuffle Shuflle the queued playlist
• !loop / !repeat Enable or disable the loop mode
• !lang / language [language code] Set the bot language in group
• !ip / !import Import queue from exported file
• !ep / !export Export the queue for import in future
• !stop / !leave Leave from vc and clear the queue
• !update / !restart Update and restart your music player

🗣 Languages

en    English
de    German
te    Telegu

💜 Contribute

New languages, bug fixes and improvements following our contribution guidelines are warmly welcomed!

🛫 Supports

For any kind of help join our support group or raise an issue.

Credits

📃 License

Music Player is licenced under the GNU Affero General Public License v3.0. Read more here.

Popular Telegram Projects
Popular Music Player Projects
Popular Messaging Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Youtube
Telegram
Spotify
Playlist
Telegram Bot
Music Player
Soundcloud