Git Product home page Git Product logo

musicplayer's Introduction

⭐️ 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

☁️ Self Host

$ 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.
  • API_HASH: Telegram app hash.
  • SESSION: Pyrogram string session. You can generate from here.
  • SUDOERS: ID of sudo users (separate multiple ids with space).
  • PREFIX: Commad prefixes (separate multiple prefix with space). Eg: ! /
  • LANGUAGE: An available bot language (can change it anytime). Default: en.

📄 Commands


• <prefix>ping
Usage: Check if alive or not

• <prefix>start | <prefix>help
Usage: Show the help for commands

• <prefix>mode | <prefix>switch
Usage: Switch the stream mode (audio/video)

• <prefix>p | <prefix>play [song name | youtube link]
Usage: Play a song in vc, if already playing add to queue

• <prefix>radio | <prefix>stream [radio url | stream link]
Usage: Play a live stream in vc, if already playing add to queue

• <prefix>pl | <prefix>playlist [youtube playlist link]
Usage: Play the whole youtube playlist at once

• <prefix>skip | <prefix>next
Usage: Skip to the next song

• <prefix>m | <prefix>mute
Usage: Mute the current stream

• <prefix>um | <prefix>unmute
Usage: Unmute the muted stream

• <prefix>ps | <prefix>pause
Usage: Pause the current stream

• <prefix>rs | <prefix>resume
Usage: Resume the paused stream

• <prefix>list | <prefix>queue
Usage: Show the songs in the queue

• <prefix>mix | <prefix>shuffle
Usage: Shuflle the queued playlist

• <prefix>loop | <prefix>repeat
Usage: Enable or disable the loop mode

• <prefix>lang | language [language code]
Usage: Set the bot language in a group

• <prefix>ip | <prefix>import
Usage: Import queue from exported file

• <prefix>ep | <prefix>export
Usage: Export the queue for import in future

• <prefix>stop | <prefix>leave
Usage: Leave from vc and clear the queue

🗣 Languages

en    English

💜 Contribute

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

🛫 Supports

For any kind of help join our support group.

Credits

📃 License

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

musicplayer's People

Contributors

asmsafone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.