Commit Graph

72 Commits

Author SHA1 Message Date
71e0ede51e feat: optimized play/resume logic, add fast-forward support within song.
fix #153.
2020-05-15 10:22:44 +08:00
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
1d6310afaf Using new pymumble pypi module 2020-04-21 18:47:24 +02:00
622f86c8f2 fix: listfile problem 2020-04-10 10:09:43 +08:00
409489376f fix: message for 'repeat' 2020-04-08 08:57:39 +08:00
e86b5ca659 refactor: rewrite confusing part 2020-04-08 08:55:58 +08:00
2a148dd8a3 Fix repeat command crashing when queue is empty
If the repeat command is invoked without this change, the bot will crash due to the call to format_song_string() on music which is null. All I did is add a check and make the bot say that the playlist is empty if this scenario occurs.
2020-04-07 19:06:45 -04:00
d32d30b795 fix: fixed #118, weird threading issue 2020-04-02 18:27:15 +08:00
75b1c6f7c7 fix: #117 continue 2020-03-31 17:53:22 +08:00
0b92d4ccb0 same fix as #117 2020-03-31 11:26:29 +02:00
112564ba45 refactor: reviewed all message send to channel 2020-03-28 13:13:20 +08:00
b18c70c146 fixed: playlist update problem in web interface 2020-03-28 10:45:32 +08:00
1732314304 fix: current_index unchanged immediately after stop 2020-03-25 21:35:59 +08:00
b2e5efec93 refactor: optimized playlist logic 2020-03-25 21:35:59 +08:00
e256d50c5c refactor: removed useless files path cache 2020-03-22 21:59:05 +08:00
d0d1f538a4 Extract channel join logic into seperate method 2020-03-22 02:57:12 +01:00
1d1ff50a59 feat: add 'clear_when_stop_in_oneshot' option in config for azlux 2020-03-20 10:49:44 +08:00
fb7101a581 FEAT: MUSIC LIBRARY BROSWER 2020-03-19 22:51:32 +08:00
4423f499e6 fix: multi-line message, fixed #103 2020-03-16 09:27:37 +08:00
457f1c691f fix: 'jump' doesn't play the music if paused. 2020-03-14 16:34:04 +08:00
a2cb955ed8 fix: refresh video metatdata after validation 2020-03-12 18:35:24 +08:00
a750eeeab6 feat: oust will clear the playlist in one-shot mode 2020-03-12 09:06:16 +08:00
dc5a112fa9 fix: fix KeyError when removing item 2020-03-12 09:04:14 +08:00
213a6c084b Cleanup 2020-03-10 23:07:29 +02:00
b2ced96ba4 PEP8 2020-03-10 22:22:20 +02:00
0ac9603072 feat: Lartza's urlban idea #91, fixed private message 2020-03-10 10:14:43 +08:00
d653eceb2a fix: you are not in my channel when joinme #92 2020-03-10 08:58:59 +08:00
c13d264e3e feat: tag current song 2020-03-09 10:14:12 +08:00
048da4046b feat: 'delete' command to remove files from library 2020-03-09 00:02:22 +08:00
e2f6de5066 fix: radio issue 2020-03-08 23:08:47 +08:00
22ba308b14 feat: optimized autoplay with Lartz 2020-03-08 21:25:30 +08:00
b24766cddb fix: you can't just feed play_url wrong things 2020-03-08 19:58:31 +08:00
f7042db657 feat: 'search' command to search the db, and 'shortlist' to add songs from search result 2020-03-08 16:56:31 +08:00
369af16aed fix: no admin check for dropdatabase 2020-03-08 13:55:41 +08:00
2faa9dc8d3 feat: web interface tag support 2020-03-08 12:53:17 +08:00
f8cfb163ed feat: add tags, remove tags, play tags, find tags #91 2020-03-08 11:31:34 +08:00
e10059a76e fix: delete item keyerror #91 2020-03-08 09:26:36 +08:00
749647aad2 feat: some tags function 2020-03-07 16:07:58 +08:00
4fce3b956e feat: directory cache 2020-03-07 15:12:22 +08:00
1f22d3b1a9 fix: minor fixes 2020-03-06 17:03:00 +08:00
e70727cfd1 FEAT: AUTOPLAY MODE #91 2020-03-06 16:15:19 +08:00
665edec684 REFACTOR: MUSIC LIBRARYgit status #91 2020-03-06 15:45:13 +08:00
b6bb449874 REFACTOR: DIFFERENT PLAYLIST #91 2020-03-06 01:39:24 +08:00
ce25fcabee fix: some small issue 2020-03-05 19:57:31 +08:00
6ab8a7958a REFACTOR: ITEM REVOLUTION #91 2020-03-05 16:28:08 +08:00
499186c738 fix: message too long on some extreme cases 2020-03-03 16:47:24 +08:00
c1c3e47582 fix: youtube playlist related CRAZY issues. 2020-03-03 16:12:45 +08:00
28320ddfe5 fix: launch_music didn't wait for downloading #89 2020-03-03 10:11:50 +08:00
61497b1ecb feat: 'yplay' play the first result. add 'last' command. #87 2020-03-03 09:27:35 +08:00
15e99a09cb chore: add a debug command 'rtrms' to display current rms of the speech in the console (which can help setting the ducking threshold) 2020-03-02 21:54:13 +08:00