244 Commits

Author SHA1 Message Date
Terry Geng
aca3602511
fix: initialize the web interface after the bot is connected to murmur server 2020-05-15 12:57:32 +08:00
Terry Geng
71e0ede51e
feat: optimized play/resume logic, add fast-forward support within song.
fix #153.
2020-05-15 10:22:44 +08:00
Terry Geng
5fe8b266c2
feat: generate default settings db name according to bot name 2020-05-13 22:39:49 +08:00
Terry Geng
40ea744e7f
refactor: move music db into a separated file.
IMPORTANT NOTE:
The default database path has changed. It was database.db, but
now they ARE settings.db and music.db.

Database migration will detect music table in settings.db, and
move it out of settings.db.

To update from old version, you need to
 1. if you use your own db path settings in the command
    line or in configuration.ini, you don't have to change
    anything;
 1. or,if you use default database path, rename database.db
    into settings.db.
2020-05-13 10:43:40 +08:00
azlux
d288bfa658
New version 2020-05-11 10:24:27 +02:00
Terry Geng
fbe3383b66 fix: avoid confusing error message when connection to the murmur server fails. 2020-05-09 20:49:52 +08:00
Terry Geng
a58af46f15 feat: enhanced logging to file support, redirecting all stdout and stderr to log file.
This feature woulb be useful for troubleshooting daemonized bots since now all exceptions are also wrote to log file.
2020-05-09 10:44:01 +08:00
Terry Geng
09df681ebe feat: database migration function mentioned in #133 2020-04-24 10:41:47 +08:00
Azlux
1d6310afaf Using new pymumble pypi module 2020-04-21 18:47:24 +02:00
azlux
5fbc8e463d
new version 2020-04-19 16:05:04 +02:00
Terry Geng
e0e0819605 fix: use native python function to create non-blocking pipe.
Thanks @azlux for this solution. Close #116.

Also created an option 'redirect_ffmpeg_log' to enable/disable
reading the log of ffmpeg.
2020-04-18 19:46:20 +08:00
azlux
2d788c77f5
New version 2020-04-16 22:13:11 +02:00
Terry Geng
e86b5ca659 refactor: rewrite confusing part 2020-04-08 08:55:58 +08:00
Terry Geng
d32d30b795 fix: fixed #118, weird threading issue 2020-04-02 18:27:15 +08:00
Terry Geng
eeaa09b564 release: v6.1.1 2020-03-31 20:43:59 +08:00
Azlux
236cf38814 new version 2020-03-30 00:06:44 +02:00
Terry Geng
112564ba45 refactor: reviewed all message send to channel 2020-03-28 13:13:20 +08:00
Terry Geng
bbe208d162 fix: move message string to config file 2020-03-25 21:41:59 +08:00
Terry Geng
1732314304 fix: current_index unchanged immediately after stop 2020-03-25 21:35:59 +08:00
Terry Geng
b2e5efec93 refactor: optimized playlist logic 2020-03-25 21:35:59 +08:00
Martin Römer
7b1415948a add play_resume option 2020-03-23 19:00:34 +01:00
Martin Römer
b6ea3c5bff autostop now supports pause/stop 2020-03-23 18:05:38 +01:00
Martin Römer
8f48b7deda add feature autostop 2020-03-23 16:08:26 +01:00
Terry Geng
6caca5f307 fix: refresh_cache_on_startup not working 2020-03-23 13:49:24 +08:00
Terry Geng
e256d50c5c refactor: removed useless files path cache 2020-03-22 21:59:05 +08:00
HerHde
d0d1f538a4 Extract channel join logic into seperate method 2020-03-22 02:57:12 +01:00
Azlux
22e705a469 allow full path
changes for #106
2020-03-21 14:55:48 +01:00
Terry Geng
9a8d6d6ea1 fix: index out of range when rebuild cache 2020-03-20 11:14:27 +08:00
Azlux
0816917258 Fix : It's a major release 2020-03-12 14:32:24 +01:00
Azlux
109d17bc03 let's release the kraken 2020-03-12 14:20:11 +01:00
Terry Geng
2c4e7c3370 feat: advanced url processing 2020-03-12 20:50:07 +08:00
Terry Geng
c1190d6317 fix: optimized urlban logic 2020-03-12 19:59:23 +08:00
Terry Geng
a2cb955ed8 fix: refresh video metatdata after validation 2020-03-12 18:35:24 +08:00
Terry Geng
2510b0cd8a chore: removed workaround for pymumble issue 2020-03-11 09:28:18 +08:00
Lartza
213a6c084b Cleanup 2020-03-10 23:07:29 +02:00
Lartza
b2ced96ba4 PEP8 2020-03-10 22:22:20 +02:00
Terry Geng
83649dc776 fix: indent typo. update pymumble 2020-03-10 23:19:14 +08:00
Terry Geng
803d8d0fda fix: delete file if ffmpeg failed 2020-03-10 22:59:52 +08:00
Terry Geng
0ac9603072 feat: Lartza's urlban idea #91, fixed private message 2020-03-10 10:14:43 +08:00
Terry Geng
d653eceb2a fix: you are not in my channel when joinme #92 2020-03-10 08:58:59 +08:00
Terry Geng
048da4046b feat: 'delete' command to remove files from library 2020-03-09 00:02:22 +08:00
Terry Geng
e2f6de5066 fix: radio issue 2020-03-08 23:08:47 +08:00
Terry Geng
d3fc12ef9c fix: broken pause 2020-03-08 21:55:06 +08:00
Terry Geng
f7042db657 feat: 'search' command to search the db, and 'shortlist' to add songs from search result 2020-03-08 16:56:31 +08:00
Terry Geng
e10059a76e fix: delete item keyerror #91 2020-03-08 09:26:36 +08:00
Terry Geng
4fce3b956e feat: directory cache 2020-03-07 15:12:22 +08:00
Terry Geng
1f22d3b1a9 fix: minor fixes 2020-03-06 17:03:00 +08:00
Terry Geng
3bfc0ae5a9 fix: small fixes. 2020-03-06 16:38:43 +08:00
Terry Geng
e70727cfd1 FEAT: AUTOPLAY MODE #91 2020-03-06 16:15:19 +08:00
Terry Geng
665edec684 REFACTOR: MUSIC LIBRARYgit status #91 2020-03-06 15:45:13 +08:00