3733353170
Merge pull request #291 from SeanFxyz/patch-1
...
Update pipe_no_wait function to work on FreeBSD
2021-09-01 12:19:37 +02:00
5224610654
Update pipe_no_wait function to work on FreeBSD
...
This very small change made the bot work on my FreeBSD server. Haven't had any issues so far.
2021-08-31 20:07:48 -07:00
75c54f2258
Merge pull request #290 from kusky3/master
...
update config
2021-08-18 10:32:33 +02:00
5436aee3c8
Update configuration.default.ini
2021-08-18 06:23:28 +02:00
743ca552a6
Update configuration.example.ini
2021-08-18 06:22:21 +02:00
ba02cdebf2
radio: don't get stuck on mpd http streams
...
Merge pull request #285 from mweinelt/mpd-radio-stream
2021-06-01 23:39:44 +02:00
48d54beffd
radio: don't get stuck on mpd http streams
...
MPD HTTP streaming provide the media content at every URL thrown at the
HTTP backend. So requests for shoutcast and icecast metadata get stuck
receiving the actual media content, instead of the expected metadata.
The conclusion is to only request these metadata files, when they're not
actually advertised as audio or video content types in a HEAD request.
2021-06-01 23:16:22 +02: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
3200c83fd0
Merge pull request #280 from TerryGeng/racing
...
fix: Racing condition happens when editing playlist.
2021-05-24 09:35:56 +08:00
b65e7b2bcc
fix: Racing condition happens when editing playlist. Fixes #279 .
2021-05-24 09:26:23 +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
32191bfd9a
Merge pull request #277 from TerryGeng/uncached
...
fix: Removing items during validation breaks validation
2021-05-18 17:51:47 +08:00
cb95e25178
Improve robustness of command parsing
...
Merge pull request #273 from mweinelt/robust-commandparser
2021-05-18 01:15:29 +02:00
55daddb774
fix: Removing items during validation breaks validation
...
Fix #266 .
2021-05-16 23:48:07 +08:00
1c283654fd
Unescape HTML in URLs parsed from user input
...
Merge pull request #275 from mweinelt/url-unescape-html
2021-05-16 16:30:50 +02:00
849a0a0843
Only fetch changelog, when auto-updates are enabled
...
Fixes : #268
2021-05-16 16:15:39 +02:00
faddf4c6c2
Unescape HTML in URLs parsed from user input
...
Escapes tokens like & to &, so GET parameters are correctly preserved.
Fixes : #274
2021-05-16 15:04:50 +02:00
b0e3e65caf
Fix playlist items over multiple attemps
...
Merge pull request #276 from mweinelt/fix-playback-attempts
2021-05-16 15:04:25 +02:00
e6d12e36c7
Don't accumulate playlist items over multiple attemps
...
Playlist items would previously have been added once for each attempt,
due to items being scoped differently than the playlist parsing
attempts. Each attempt would add to the playlist every time, since we
only returned outside the attempts loop.
2021-05-16 05:51:42 +02:00
f9cc9c7872
Merge pull request #272 from mweinelt/catch-indexerror-on-empty-message
...
Don't assume text messages have a first character in command parsing
2021-05-16 09:06:48 +08:00
e6592f5c22
Don't assume text messages have a first character in command parsing
...
Fixes : #271
2021-05-16 02:53:12 +02:00
efcd19eab7
update nodejs lib
...
#SECURITY
2021-05-15 23:28:21 +02:00
abc8c72c7f
adding type debug
2021-05-15 22:45:11 +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
72595f20fc
fix: Cookies for Youtube query ( #264 )
2021-04-24 12:53:52 +08:00
61748c199a
feat: Allow users to specify a cookie when querying youtube.
...
See #263 .
2021-04-23 23:02:04 +08:00
b7232b8bae
fix: Adjust default volume
2021-04-07 15:20:35 +08:00
384bacf1ef
fix: Join music file path safely.
2021-04-07 15:17:55 +08:00
e5f623f6c3
remove html from incoming messages
...
#246
2021-04-03 14:17:41 +02:00
ee5a54b33b
add youtube-dl options
...
#258
2021-04-03 13:39:47 +02:00
582b0b58da
Add youtube-dl verbose log option
2021-04-03 13:11:54 +02:00
7a6cdef65d
Add verbose mode for docker
...
link to #261
2021-04-03 12:55:01 +02:00
df38c7dbd6
Merge pull request #259 from SeerLite/empty-playlist-message
...
Don't show how to resume if playlist is empty when "when_nobody_in_channel = pause"
2021-03-13 15:44:40 +08: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
1637501601
fix: Error when calculating tmp folder size.
...
Instructed the bot to directly ignore errors.
Fixed #224 .
2021-02-28 08:59:48 +08:00
999252c98b
Bot: Reformat translation
2021-02-22 15:45:19 +00: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
f59062ec1f
refactor: Reformat commands in alphabet order.
2021-02-22 23:44:14 +08:00
c1671d5eb0
fix: Updated youtube search mechanism.
...
Youtube updated the format of its search result page.
Now it wraps everything into a huge json and made our
life much easier.
Fix #252
2021-02-17 14:22:41 +08:00
6bc9a9a8e0
Allow music_folder to not have trailing /
2021-02-17 13:00:47 +08:00
49779c20ae
Bot: Update translation
2021-01-02 09:43:07 +08:00
a611df3132
Bot: Reformat translation
2021-01-01 06:42:32 +00:00
4597824fdb
feat: Added bot command version
to display current version.
...
Requested in #194 .
2021-01-01 14:41:17 +08:00
101391fe57
fix: template path resolve
2020-12-31 18:06:26 +08:00
9e07fac5ec
fix: snapshot version not based on newest tag
2020-12-31 17:52:28 +08:00
23dc9d2460
fix: wrong dir when getting snapshot version
2020-12-31 17:46:26 +08:00