15 Commits

Author SHA1 Message Date
Storm Dragon
b1e21af243 Initial commit of Bragi fork. 2025-06-13 18:52:37 -04:00
Terry Geng
97309599f1
feat: Add translation populating procedure for the web interface. 2020-07-12 16:05:11 +08:00
Terry Geng
4e541a7622
refactor: Separate backend and frontend, avoid template-filling on the fly. Resolve #158. 2020-07-12 11:41:27 +08:00
Tyler Vigario
b3295b8a21
Update web assets and compile for production 2020-05-27 07:56:49 -07:00
Tyler Vigario
6ca2db77de
Revert to default Flask structure 2020-05-20 15:32:41 -07:00
Tyler Vigario
369036caf3
Commit built assets 2020-05-20 15:10:32 -07:00
Tyler Vigario
1c9498e340
First rough draft 2020-05-19 20:45:22 -07:00
Terry Geng
5fe8b266c2
feat: generate default settings db name according to bot name 2020-05-13 22:39:49 +08:00
Terry Geng
09df681ebe feat: database migration function mentioned in #133 2020-04-24 10:41:47 +08:00
Azlux
52d98c7257 update every time if testing target 2020-02-29 14:15:43 +01:00
Terry Geng
97f2326d9b
Add more controls (#71)
* add more ducking command

* fix current music command

* provide more controls, like pause, resume, clear.

* add more controls in the web interface

* refactored and improved:
1. move get_music_tag_info to util, and
2. refined logic related to it.
3. now playlist will check for tag info thus update_music_tag_info is
useless and was removed
4. add "add folder" feature to !file asked in #65,
5. fix bugs related to !file

* truncate file list if too long

* fixed several tiny bugs

* fixed several tiny bugs continue

* fixed several tiny bugs continue continue

* fixed several tiny bugs continue**3

* fixed several tiny bugs continue**4

* added !filematch command to add files that match a regex pattern.

* truncate long message

* fix web interface delete file issue

* refresh after delete file

* add regex to listfile command

* refactored command part, added partial match support for commands

* organized

* added random command

* typo

* typo

* Fixed many bugs.

* Added workaround for azlux/pymumble#44 to fix the memory leak.

* changed logging style.

* fixed bugs related to random and resume

* fix now playing

* fixed issue related to download

* fixed issue related to download 2

* fixed thumbnail issue

* fixed add url problem in web interface

* REFACTORED, turned db.ini into sqlite3 database.

* fixed remove song problem

* fixed radio get title problem. auto download if tmp file is deleted

* fixed current index not loaded from database

* fixed: order of songs loaded from the database

* fixed: some obscure bugs. beautified error of commands

* added a workaround for TerryGeng/botamusique#1.

* beautified

* fixed: channel not loaded in the config

* fixed: auto checked for updates

* fixed: mysterious bug: sometimes "now playing" string cannot be properly
displayed.
The real reason is: do use <br />, do not use <br>. I tried hours to
find out this.

* chore: unified debug messages that refer to music items

* feav: fetch ffmpeg stderr mentioned in #72, reformatted logs.

* fix: async download not working

* fix: async download not working, still

* fix: async download not working, finished

* feat: queue command: ▶current playing item◀

* feat: support more than one command prefix

* chore: added some WARNINGs into default config file to avoid people to touch it.

* refactor: packed all string contants into constants.py, just to avoid people messing it around.

* refactor: required by azlux. Added a configuration.example.ini to keep people away from configuration.default.ini
2020-02-24 19:17:02 +01:00
神楽坂·喵
59e4dbee7d update gitignore 2019-11-22 09:12:40 +08:00
elpatron68
8ae6e6b399 More information in query results 2019-07-28 10:10:10 +02:00
elpatron68
22562c8413 Start 2019-07-27 17:34:11 +02:00
Lartza
b747aff075 .gitignore 2018-06-18 13:38:38 +03:00