881 Commits

Author SHA1 Message Date
Azlux
582b0b58da Add youtube-dl verbose log option 2021-04-03 13:11:54 +02:00
Azlux
7a6cdef65d Add verbose mode for docker
link to #261
2021-04-03 12:55:01 +02:00
Terry Geng
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
SeerLite
736fac28b0 Don't send auto_pause hint message if not paused 2021-03-13 02:44:06 -03:00
SeerLite
17a35c43e3 Avoid auto pausing when playlist is empty 2021-03-13 02:43:40 -03:00
Azlux
e079f948bc fix import 2021-03-01 12:26:28 +01:00
Azlux
a3b9948b6d cleaning deleted file "system" 2021-03-01 11:55:44 +01:00
Terry Geng
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
Terry Geng
999252c98b Bot: Reformat translation 2021-02-22 15:45:19 +00:00
Terry Geng
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
Terry Geng
f59062ec1f refactor: Reformat commands in alphabet order. 2021-02-22 23:44:14 +08:00
Terry Geng
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
Kyle Robbertze
6bc9a9a8e0 Allow music_folder to not have trailing / 2021-02-17 13:00:47 +08:00
Traduora Bot
49779c20ae Bot: Update translation 2021-01-02 09:43:07 +08:00
Terry Geng
a611df3132 Bot: Reformat translation 2021-01-01 06:42:32 +00:00
Terry Geng
4597824fdb
feat: Added bot command version to display current version.
Requested in #194.
2021-01-01 14:41:17 +08:00
Terry Geng
101391fe57
fix: template path resolve 2020-12-31 18:06:26 +08:00
Terry Geng
9e07fac5ec
fix: snapshot version not based on newest tag 2020-12-31 17:52:28 +08:00
Terry Geng
23dc9d2460
fix: wrong dir when getting snapshot version 2020-12-31 17:46:26 +08:00
Terry Geng
8870667064
fix: absolute path bug 2020-12-31 11:06:44 +08:00
Terry Geng
f96c9f7f89
fix: lang/ path not found 2020-12-31 11:01:22 +08:00
kusky
1af21a66f8
Update configuration.default.ini (#237) 2020-12-14 22:01:24 +08:00
kusky
16345fed1c
Update configuration.example.ini (#238) 2020-12-14 22:01:12 +08:00
Azlux
9174ce67ff Fix #231
Check if the lib still online while sending the audio buffer
2020-12-01 12:13:01 +01:00
azlux
19858595d6
Full Docker build (#234)
* Added multi-stage docker build
* switch dockerfile files

Co-authored-by: ReAnzu <github@reanzu.com>
2020-12-01 01:30:04 +01:00
Terry Geng
2d1430e397
feat: Web Interface: Support HTTP 1.1 Payload for POST requests. 2020-11-30 12:47:36 +08:00
Terry Geng
2546e3b373
fix: Check update not checking update when testing version was selected. 2020-11-30 01:15:09 +08:00
Terry Geng
892a1863e7
fix: Erroneous logic for determining if ffmpeg dies prematurely. Fixed #223. 2020-11-26 13:09:43 +08:00
Tyler Vigario
ff5b1cb1ee
Upgrade web assets (#219)
* Update assets

* Upgrade linting and other improvments

* Correct linting

* Correction and type check improvements

* Correct type check lib

* Fix lint pathing for VSCode

* Remove duplicate babel config

* Remove editorconfig root attribute from web subdir

* Use double quotes around message

* Simplify ESLint config

* Update web assets

* Allow AMD loader in WebPack

* Bump web dependencies

* Only include FA icons in-use
2020-11-25 22:08:12 +08:00
azlux
c79d4cf977
Merge pull request #230 from azlux/bot-traduora
Bot: TRADUORA Update
2020-11-25 12:08:09 +01:00
Traduora Bot
a2bece851d Bot: Update translation 2020-11-23 00:11:50 +00:00
azlux
2459969349
Use dockerignore instead of rm -rf .git
Merge pull request #226 from andsild/dockerignore
2020-11-17 13:29:41 +01:00
Terry Geng
014086305d
fix: Bot failed when executing 'mode random' 2020-11-11 16:46:05 +08:00
Anders Sildnes
73e52ba945 Use dockerignore instead of "rm -rf .git"
This reduces the number of layers in the dockerfile by one
2020-11-09 20:58:23 +01:00
azlux
ff7baabe94
Merge pull request #220 from azlux/bot-traduora
Bot: TRADUORA Update
2020-11-05 15:37:53 +01:00
Traduora Bot
e2b8bb50ca Bot: Update translation 2020-11-02 00:11:50 +00:00
Terry Geng
c48bba869f
CI: Fix if statement. 2020-11-01 10:08:38 +08:00
Terry Geng
f94782c9d7 Bot: Reformat translation 2020-11-01 02:00:08 +00:00
Terry Geng
9feae440cc
CI: Get reformated translation after pushing to the translation server. 2020-11-01 09:58:24 +08:00
Terry Geng
ec786375ed
CI: Fixed typo. 2020-11-01 09:45:18 +08:00
Terry Geng
4bef53c948
CI: Push translation: Fixed wrong branch to push. 2020-10-31 23:47:17 +08:00
Terry Geng
fad31bb858
Merge pull request #218 from SnejPro/patch-1
Update de_DE.json
2020-10-31 23:41:58 +08:00
Azlux
d1aebc8bfb change CI step name 2020-10-31 16:05:54 +01:00
Azlux
ec3dddd6e7 Run traduora update in separete pipeline 2020-10-31 16:04:23 +01:00
Terry Geng
d07f676ff6
CI: Fix wrong path for python. 2020-10-31 22:42:37 +08:00
Terry Geng
5c5120e3d7
CI: Setup pushing-translation procedure in CI. 2020-10-31 22:37:07 +08:00
Terry Geng
716b106f6c
refactor: Move check for update into utils. 2020-10-30 20:47:50 +08:00
SnejPro
25b2c02337
Update de_DE.json 2020-10-27 23:50:03 +01:00
Terry Geng
cb8a0cff78
chore: More updates in the README. 2020-10-25 15:55:04 +08:00
Terry Geng
f40450e3e0
chore: Update README to include the minimal python version required. 2020-10-25 15:28:39 +08:00