b0ace7b67a
refactor(ysearch): Use youtube-dl cookie file instead of redundant cookie config item.
2022-02-01 21:08:15 -05:00
a0eb5b39c3
fix(config): Define all fallback in configuration.default.ini.
2022-02-01 21:08:15 -05:00
37666c7daf
feat(config): Detect unexpected config items from config files.
2022-01-21 23:58:49 -05:00
81ff7c3039
temporary change to yt-dlp
...
#296 and #297
2021-10-27 02:13:00 +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
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
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
384bacf1ef
fix: Join music file path safely.
2021-04-07 15:17:55 +08: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
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
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
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
f96c9f7f89
fix: lang/ path not found
2020-12-31 11:01:22 +08:00
2546e3b373
fix: Check update not checking update when testing version was selected.
2020-11-30 01:15:09 +08:00
716b106f6c
refactor: Move check for update into utils.
2020-10-30 20:47:50 +08:00
b3fe43cb18
feat: Enhance debug log.
2020-07-25 18:00:50 +08:00
9f2c4a2afd
refactor: Add suffixes to translation file.
2020-07-12 14:26:08 +08:00
9e2e09e5fd
feat: Load language file in lang/ instead of the ini file.
2020-07-12 11:45:51 +08:00
75a891f14f
Fix ysearch command
...
Merge pull request #182 from W0rmsy/master
2020-07-07 21:30:37 +02:00
c9b170d865
fix: Regex bug when parsing time.
2020-07-07 21:44:10 +08:00
6ae5daf455
Fix ysearch command
2020-07-07 15:32:33 +02:00
ccbde28ef9
New update method
...
manage testing deplyement
2020-06-23 12:38:02 +02:00
a6f8c459d0
refactor: move volume part into a helper
2020-06-15 20:36:52 +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
fae93d99e0
feat: add config item for maximum upload file size
2020-05-19 09:12:52 +08:00
0b7d0b8465
feat: huge feature: a floating player, with a movable playhead
2020-05-17 11:54:05 +08:00
fbe3383b66
fix: avoid confusing error message when connection to the murmur server fails.
2020-05-09 20:49:52 +08:00
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
b33e6c6dda
fix: include "openbsd" in pipe_no_wait, fixed #116
2020-04-25 09:11:58 +08:00
563ce8f37b
fix indent
2020-04-18 14:55:12 +02:00
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
fb7101a581
FEAT: MUSIC LIBRARY BROSWER
2020-03-19 22:51:32 +08:00
4f12a7c903
feat: advanced url processing, whitespaces issue
2020-03-12 21:04:37 +08:00
2c4e7c3370
feat: advanced url processing
2020-03-12 20:50:07 +08:00
c1190d6317
fix: optimized urlban logic
2020-03-12 19:59:23 +08:00
213a6c084b
Cleanup
2020-03-10 23:07:29 +02:00
b2ced96ba4
PEP8
2020-03-10 22:22:20 +02:00
708f8a588d
Fix ffmpeg pipe on Windows
2020-03-10 16:06:56 +02:00
0ac9603072
feat: Lartza's urlban idea #91 , fixed private message
2020-03-10 10:14:43 +08:00
f931ae7d28
fix: util failed on some strange encoded files
2020-03-08 15:08:46 +08:00
6ab8a7958a
REFACTOR: ITEM REVOLUTION #91
2020-03-05 16:28:08 +08:00
0760f3e624
fix: update playlist item based on id #90 .
2020-03-03 23:15:46 +08:00
acf43eed24
chore: beautified current song display
2020-03-03 16:15:47 +08:00
dbe317bf31
feat: beautified current song string, fix ytplay index problem
2020-03-02 19:19:13 +08:00
26eb650e9b
chore: ytquery error message
2020-03-02 11:35:07 +08:00
e17d5446bf
feat: add ytquery and ytplay
2020-03-02 11:23:16 +08:00