111 Commits

Author SHA1 Message Date
Terry Geng
f8cfb163ed feat: add tags, remove tags, play tags, find tags #91 2020-03-08 11:31:34 +08:00
Terry Geng
487b5b9616 fix: music not saved after downloading. some tricky oneshot problem #91 2020-03-08 10:28:03 +08:00
Terry Geng
4fce3b956e feat: directory cache 2020-03-07 15:12:22 +08:00
Terry Geng
8e6a639e57 chore: config file. 2020-03-06 17:13:45 +08:00
Terry Geng
b6bb449874 REFACTOR: DIFFERENT PLAYLIST #91 2020-03-06 01:39:24 +08:00
Terry Geng
6ab8a7958a REFACTOR: ITEM REVOLUTION #91 2020-03-05 16:28:08 +08:00
Terry Geng
499186c738 fix: message too long on some extreme cases 2020-03-03 16:47:24 +08:00
Terry Geng
acf43eed24 chore: beautified current song display 2020-03-03 16:15:47 +08:00
Terry Geng
28320ddfe5 fix: launch_music didn't wait for downloading #89 2020-03-03 10:11:50 +08:00
Terry Geng
61497b1ecb feat: 'yplay' play the first result. add 'last' command. #87 2020-03-03 09:27:35 +08:00
Terry Geng
dbe317bf31 feat: beautified current song string, fix ytplay index problem 2020-03-02 19:19:13 +08:00
Terry Geng
b6a6441ad5 chore: update help 2020-03-02 11:31:20 +08:00
Terry Geng
e17d5446bf feat: add ytquery and ytplay 2020-03-02 11:23:16 +08:00
Azlux
7d5f8fc778 new version ! 2020-02-29 01:28:46 +01:00
Terry Geng
cf1feea870 chore: optimize logging. separate bot log and web log. 2020-02-28 14:15:57 +08:00
Terry Geng
b640ff4721 fix: process error from youtube-dl correctly. #80 2020-02-27 21:10:44 +08:00
Terry Geng
4a7dfc48c2 fix: missed repeat command 2020-02-27 11:55:00 +08:00
Terry Geng
020ddbca22 fix: 'jump' now remove files behind in one-shot mode. #79 2020-02-27 09:44:21 +08:00
Terry Geng
a03f82d90a feat: remove item once played in one-shot mode. make it as close to the old version as possible, #79 2020-02-27 00:59:20 +08:00
Terry Geng
a46a1d7073 refactor: changed all 'loop' into 'repeat', which is the term used in iTunes 2020-02-26 23:37:53 +08:00
Terry Geng
b85956ef2f feat: database and config support for playback mode. 2020-02-26 22:56:07 +08:00
Terry Geng
6a1320f8f9 feat: three playback mode "one-shot", "loop", "random"
fix: bugs when you are on the last item and you want
remove it.

Some tips for testing:
Observe the behavior when you are playing the last
item and you remove the last item, for all three modes.
2020-02-26 22:09:53 +08:00
Terry Geng
9ce98196a1 fix: impose file path check for launch_music and resume, fixed #77 2020-02-26 16:57:56 +08:00
Terry Geng
78b11d1fb5 fix: missed token part for joinme 2020-02-25 19:40:27 +08:00
Terry Geng
8622ff1c66 fix: duckv placeholder problem. rm problem 2020-02-25 10:09:05 +08: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
Terry Geng
fef538302c update help message 2020-02-10 15:35:15 +08:00
Terry Geng
ef9ac57d8e ducking improved #68 2020-02-09 11:21:46 +08:00
Terry Geng
c5fa90b78d add ducking feature. 2020-02-08 18:40:59 +08:00
Terry Geng
4e905c1c56 merge with azlux's branch 2020-02-05 23:29:48 +08:00
Terry Geng
4a2fb4dc79 update configuration.ini 2020-02-05 00:21:30 +08:00
Azlux
f2c153e582 Fix issue bad bot anwser 2020-01-05 00:49:41 +01:00
Azlux
d26fc2b7d7 forgot logfile config 2019-12-24 14:08:47 +01:00
azlux
248ba85a4b
inital config 2019-11-22 16:07:03 +01:00
神楽坂·喵
3e0d7fc14e modify default config 2019-11-21 15:40:18 +08:00
elpatron68
2de69f9a87 Minor text changes 2019-07-28 16:28:50 +02:00
elpatron68
daeda480bb Minor text changes 2019-07-28 16:26:06 +02:00
elpatron68
4dec525627 Minor text changes 2019-07-28 15:43:12 +02:00
elpatron68
70bbfb22cc Expand help text with radiobrowser commands 2019-07-27 18:43:44 +02:00
elpatron68
fa3243b77d Add rbquery string 2019-07-27 18:22:24 +02:00
elpatron68
0d3063c965 Add rb_query (logging only) 2019-07-27 17:54:46 +02:00
Azlux
d00b67f87b Fix #41 + Add help for admin 2019-06-16 00:24:23 +02:00
Azlux
145e3f9c32 feature #51
Radio list and comments
2019-06-16 00:12:04 +02:00
Azlux
09ad7d5d04 Merge branch 'access_token' of zelifcam-access_token
# Conflicts:
#	configuration.default.ini
#	mumbleBot.py
2019-02-15 13:33:33 +01:00
Azlux
fd68f78faa Certificat on config file : #36 2019-01-30 22:30:22 +01:00
root
a7dabe6c1c token support 2019-01-21 00:23:29 +00:00
Azlux
ef78b566af Admin features
Add URL and User abn list : #19 #18
Fix for #34
2019-01-13 21:42:34 +01:00
Azlux
6aca72eaee new playlist format 2018-11-13 15:48:09 +01:00
azlux
3a6aba9545 Playlist and colume management into db
#27 #16 #11
2018-07-12 00:40:29 +02:00
azlux
578ffbd172 Autoupdate
#25 #26
2018-06-27 18:52:01 +02:00