All Projects → AsmSafone → MusicPlayer

AsmSafone / MusicPlayer

Licence: AGPL-3.0 license
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 ❤️

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to MusicPlayer

blade-player
Android music player that plays from local library, Spotify or Deezer
Stars: ✭ 67 (-69.27%)
Mutual labels:  player, spotify, music-player, soundcloud
SwiftAudioPlayer
[WIP] Simple music player for macOS written in Swift
Stars: ✭ 33 (-84.86%)
Mutual labels:  player, playlist, music-player
angular-youtube-player
Simple youtube player created with angular and typescript. See demo.
Stars: ✭ 35 (-83.94%)
Mutual labels:  player, playlist, music-player
Openwhyd
💎 Like Pinterest, for Music
Stars: ✭ 287 (+31.65%)
Mutual labels:  player, music-player, soundcloud
Tizonia Openmax Il
Command-line cloud music player for Linux with support for Spotify, Google Play Music, YouTube, SoundCloud, TuneIn, iHeartRadio, Plex servers and Chromecast devices.
Stars: ✭ 1,556 (+613.76%)
Mutual labels:  spotify, music-player, soundcloud
splitcloud-app
This is the repo for the legacy SplitCloud for iOS app built with ReactNative and a fork of StreamingKit project.
Stars: ✭ 59 (-72.94%)
Mutual labels:  playlist, music-player, soundcloud
vue-music-player
🎵 basic music player, keeps your favorite musics
Stars: ✭ 77 (-64.68%)
Mutual labels:  player, playlist, music-player
Pandoraplayer
🅿️ PandoraPlayer is a lightweight music player for iOS, based on AudioKit and completely written in Swift.
Stars: ✭ 1,037 (+375.69%)
Mutual labels:  player, music-player, soundcloud
Kaku
🎧 Kaku is a highly integrated music player supports different online platform like YouTube, SoundCloud, Vimeo and more. Available on Mac, Windows and Linux.
Stars: ✭ 1,028 (+371.56%)
Mutual labels:  player, music-player, soundcloud
Tauonmusicbox
The Linux desktop music player from the future! 🌆
Stars: ✭ 494 (+126.61%)
Mutual labels:  player, spotify, music-player
Olivia
Elegant music player for LINUX
Stars: ✭ 261 (+19.72%)
Mutual labels:  spotify, music-player, soundcloud
Favesound Redux
🎶 A SoundCloud Client in React + Redux running in production. Live Demo and Source Code to explore React + Redux as a beginner.
Stars: ✭ 1,586 (+627.52%)
Mutual labels:  player, playlist, soundcloud
noteblock
A open-source music bot based on lavalink.
Stars: ✭ 93 (-57.34%)
Mutual labels:  spotify, music-player, soundcloud
pushtape-player.js
Customizable JS audio page player with global playback controls and autoscan (mutationobserver), built on Soundmanager2.
Stars: ✭ 27 (-87.61%)
Mutual labels:  player, playlist, music-player
Musicplayer
Implemented using Clean Arch, MVVM, LiveData, Room, Koin, Coil, Service, Notification and ExoPlayer
Stars: ✭ 413 (+89.45%)
Mutual labels:  player, playlist, musicplayer
Pause On Lock
Pause/Resume your music player when locking/unlocking your Linux desktop.
Stars: ✭ 79 (-63.76%)
Mutual labels:  player, spotify, music-player
Musicplayer
A minimal music player built on electron.
Stars: ✭ 145 (-33.49%)
Mutual labels:  player, playlist, music-player
lavalink-music-bot-2021
Advance Discord Lavalink Music Bot With Spotify and Buttons Help Menu || Best Music Quality || Radio Commands
Stars: ✭ 26 (-88.07%)
Mutual labels:  spotify, musicbot
PlayPiano
Implement and simulate piano on web page.
Stars: ✭ 16 (-92.66%)
Mutual labels:  player, music-player
Hacktoberfest2021
Make your first Pull Request on Hacktoberfest 2022. Don't forget to spread love and if you like give us a ⭐️
Stars: ✭ 1,320 (+505.5%)
Mutual labels:  hacktoberfest-accepted, hacktoberfest2022

⭐️ 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 pm2@latest -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 pm2@latest -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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].