Fabian Würfl 7910f23d0d Support playback of local files
- Recursive listing of available files
- Protected against path traversal attacks
- Does not follow symlinks
- Possibility to ignore directories or files with specific names
- If no exact match for the requested track can be found, the bot plays
the track with the best match
- If multiple tracks match the user gets a message listing all
candidates
2018-05-18 21:31:52 +02:00
2016-12-23 13:39:00 +01:00
2016-12-23 14:19:58 +01:00
2017-01-26 00:30:43 +01:00
2016-12-23 13:39:00 +01:00
wip
2018-05-18 17:49:29 +02:00
2016-12-12 21:57:20 +01:00
2018-05-17 23:55:42 +02:00
2018-05-18 21:31:52 +02:00
2016-12-13 00:02:57 +01:00
2017-01-06 16:02:53 +01:00
2018-05-17 23:55:42 +02:00

botamusique

Version Française ici

======

Botamusique is a mumble bot which goal is to allow users to listen music together with its audio output. Predicted functionnalities will be the one you could expect from any classic music player.

  1. Where to start

You need to create a folder for all your music. Organize your music by subfolder. The main folder need to be declare into the config (with a '/' at the end)

Installation

  1. You need python 3 with opuslib and protobuf (look at the requirement of pymumble)
  2. The Bot use ffmpeg, so you know what you have to do if ffmpeg aren't in your package manager. I personally use this repository on my raspberry.

commands (don't forget the sudo mode):

apt-get install python3-pip
pip3 install opuslib
pip3 install protobuf
pip3 install flask
apt-get install ffmpeg
git clone --recurse-submodules https://github.com/azlux/botamusique.git
cd ./botamusique
chmod +x ./mumbleBot.py

Starting the bot

./mumbleBot.py -s HOST -u BOTNAME -P PASSWORD -p PORT -c CHANNEL

The bot listen to the 8181 port so you should redirect to this one in you NAT configuration to let others peoples access the web interface.

2.TODO list

TODOLIST

Features

  • Next song
  • Previous song
  • Randomizer
  • Looking for songs previously downloaded in a folder by users.

Commands with the interface

  • list
  • play
  • playfolder
  • random

Commands by message to the bot

  • volume
  • skip
  • stop
  • joinme
  • away

Web Interface

  • Primary functions
  • CSS
Description
Fork of botamusique
Readme MIT 5.1 MiB
Languages
Python 100%