Git Product home page Git Product logo

vcpb's Introduction

Calls Music — Telegram bot + userbot for streaming audio in group calls

✍🏻 Requirements

  • FFmpeg
  • Python 3.7+

🚀 Deployment

🛠 Configuration

  1. Copy example.env to .env and fill it with your credentials.
  2. Install Python requirements:
    pip install -U -r requirements.txt
  3. Run:
    python -m callsmusic

🐬 Docker

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

💜 Heroku

Deploy

ℹ️ 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-or-later

Read more

✨ Credits

vcpb's People

Contributors

arunpt avatar iiiiii1wepfj avatar rojvv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vcpb's Issues

suggestion: Switch back to stream after the queue is done

Current Situation (uses real-life scenarios)

  • Do /stream https://radio.reclaim.technology/stream in PMs or in the group.
  • Hop into the VC and chill.
  • Somebody (or I), just sent a song request to the bot, thus stopping the stram and instead plays the request.
  • After the request queue is now empty, a sudoer use the same /stream command again.

Why?

It's a hassle for sudoers to manually set a stream URL to the bot after the song queue is empty. The stream URL should be saved to the database when tapped the Stream when the queue is done inline button.

Configuring tzdata setup error

debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa        6. Asia            11. System V timezones
  2. America       7. Atlantic Ocean  12. US
  3. Antarctica    8. Europe          13. None of the above
  4. Australia     9. Indian Ocean
  5. Arctic Ocean  10. Pacific Ocean
Geographic area: 6 

The process is stop here.

[Feature Request] anti-flood system and a ban command

The bot needs an anti-flood system that ignores users who send multiple commands / links, it would also be useful a ban command to ban unwanted users from the bot.

Edit (1): A help command would be great too, to show all available commands in the bot.

New Feature

Please add "Can't play music while streaming" feature

No module named 'pyrogram'

When bot.py is run, an error message comes saying no module called pyrogram can be found. Please look into it. Thank you!

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.