Commit Graph

295 Commits

Author SHA1 Message Date
c624c327c3 fix(audio): Fadein not working properly for mono. 2021-12-13 13:40:36 -05:00
3e1f810b0e fix: Music wrongly started if two people left in channel.
Fix #298
2021-12-02 08:31:56 -05:00
6faadd6669 feat: Add config option redirect_stderr.
Proposed in #282.
2021-05-26 11:29:22 +08:00
efab8928f5 fix: Failure caused by welcome message sent by the server.
Fixes #281.
2021-05-26 09:25:04 +08:00
33a9e75ba9 Merge pull request #269 from mweinelt/auto_fetch_changelog
Allow opt-out to fetching changelogs on updates
2021-05-19 22:37:39 +08:00
cb95e25178 Improve robustness of command parsing
Merge pull request #273 from mweinelt/robust-commandparser
2021-05-18 01:15:29 +02:00
849a0a0843 Only fetch changelog, when auto-updates are enabled
Fixes: #268
2021-05-16 16:15:39 +02:00
e6592f5c22 Don't assume text messages have a first character in command parsing
Fixes: #271
2021-05-16 02:53:12 +02:00
f36611f07b add support for setting bot bandwidth
feat: Add support for setting bandwidth
Changes the default bandwidth value to 96000
2021-05-05 01:04:46 +02:00
b7232b8bae fix: Adjust default volume 2021-04-07 15:20:35 +08:00
e5f623f6c3 remove html from incoming messages
#246
2021-04-03 14:17:41 +02:00
7a6cdef65d Add verbose mode for docker
link to #261
2021-04-03 12:55:01 +02:00
736fac28b0 Don't send auto_pause hint message if not paused 2021-03-13 02:44:06 -03:00
17a35c43e3 Avoid auto pausing when playlist is empty 2021-03-13 02:43:40 -03:00
e079f948bc fix import 2021-03-01 12:26:28 +01:00
a3b9948b6d cleaning deleted file "system" 2021-03-01 11:55:44 +01:00
1f9573b1d5 feat: Whitelist URL feature.
In the configuration, `max_duration` can be set to prevent
long song(URL item) being downloaded and added to the
playlist.
This whitelist feature provided a way to override this
duration check: songs being whitelisted will be added to
the playlist no matter how long they are.
Three admin commands are introduced:
 - !urlwhitelist (!urlw)
 - !urlunwhitelist, (!urlunw)
 - !urlwhitelistlist, (!urlwls).

 Also, if one song fails due to its length, the bot will
 show the length of this song and the max length limit in
 the reply message.

 Implement #173, #196.
2021-02-22 23:44:14 +08:00
6bc9a9a8e0 Allow music_folder to not have trailing / 2021-02-17 13:00:47 +08:00
9174ce67ff Fix #231
Check if the lib still online while sending the audio buffer
2020-12-01 12:13:01 +01:00
892a1863e7 fix: Erroneous logic for determining if ffmpeg dies prematurely. Fixed #223. 2020-11-26 13:09:43 +08:00
716b106f6c refactor: Move check for update into utils. 2020-10-30 20:47:50 +08:00
fceb50e894 fix: crash triggering by stop and play when playlist is empty, fixed #206. 2020-09-20 09:53:16 +08:00
14668bb2b8 fix: Avoid truncating last ~100ms of music when playing.
Somehow subprocess.poll() will return before all music stream has been retrieved from stdout of the ffmpeg thread, causing the last bit of the stream being truncated.

Fixed #199.
2020-07-25 21:39:00 +08:00
b3fe43cb18 feat: Enhance debug log. 2020-07-25 18:00:50 +08:00
97309599f1 feat: Add translation populating procedure for the web interface. 2020-07-12 16:05:11 +08:00
9e2e09e5fd feat: Load language file in lang/ instead of the ini file. 2020-07-12 11:45:51 +08:00
e84607b8e8 refactor: Rename constants.string into tr. 2020-07-12 11:45:51 +08:00
6133c6f0b5 chore: Parse changelog in markdown into html
when publishing release.
2020-07-08 10:13:42 +08:00
892fa502e6 feat: Apply the fade-in trick to the beginning of the stream. 2020-07-07 21:42:24 +08:00
9fe03f3425 Fix check version at start 2020-06-23 23:30:51 +02:00
ccbde28ef9 New update method
manage testing deplyement
2020-06-23 12:38:02 +02:00
2c43942a9b Update mumbleBot.py
chore: Prepare for releasing v6.5
2020-06-17 22:00:26 +08:00
fb38b43f93 Merge branch 'master' into volume 2020-06-16 09:02:46 +08:00
a6f8c459d0 refactor: move volume part into a helper 2020-06-15 20:36:52 +08:00
762bb337b5 refactor: optimized the non-glitchy interrupt logic. 2020-06-11 10:40:19 +08:00
7f45ab0506 fix: bot failed to detect if the ffmpeg thread is dead, fixed #168. 2020-06-11 09:17:59 +08:00
3c87c33ddd fix: typo that renders refresh_cache_on_startup = False useless, #163 2020-06-09 21:22:00 +08:00
5f67517dc3 feat: use a function to convert volume set by the user to a scale of -60~0 dB. Then convert dB to a factor from 0 to 1 used as the real volume factor. 2020-06-08 17:30:37 +08:00
32e32774eb using identifiable power
using math.e = 2.718281…  is quite useless. Let use 2.7
2020-06-08 16:25:03 +08:00
7c2fd00884 change volume mgmt
better volume management for your hears
2020-06-08 16:25:03 +08:00
37082a82f3 feat: stereo support, updated pymumble. 2020-06-05 15:01:06 +08:00
9263e647fd pyradio implementation
fix #138
2020-06-01 15:34:10 +02:00
8f533cdc2d fix: file scanning not working when startup, fix #163 2020-05-31 21:20:52 +08:00
a86a025d9a fix: pymumble callback function jammed the loop in pymumble, fixed #164 2020-05-29 14:53:46 +08:00
266a17617d fix: pause error when playlist is empty 2020-05-27 08:56:06 +08:00
a195a8afaf fix: pause not working 2020-05-24 11:11:24 +08:00
e61f791c82 feat: 'password' auth method: support user addition 2020-05-23 14:46:27 +08:00
19d868d352 feat: display changelog when update is available 2020-05-23 11:47:35 +08:00
662396bcc5 fix: glitch sound when stopping music 2020-05-22 22:49:05 +08:00
3b104a6f3e New version
Preparing for release
2020-05-19 19:59:01 +02:00