Commit Graph
51 Commits
Author SHA1 Message Date
Storm Dragon 14163bdbc1 Restore configured volume after playback stops 2026-06-14 01:48:13 -04:00
Storm Dragon c310a1c318 Speed updatabase generation. Generate and use a certificate by default. 2025-12-12 22:34:11 -05:00
Storm Dragon 947ec68754 More cleanup, merged pymumble into the project so I don't have to maintain 2 separate things, tested working version. 2025-06-14 00:23:09 -04:00
Storm Dragon de270bc842 Second wave of initial code changes. 2025-06-13 18:53:38 -04:00
Jeremy Baxter 0977b56385 improve documentation in example configuration file (#386)
Improve sentence structure, general grammar, consistency and
correct some incorrect setting names. Also wrap lines at roughly
82 columns for easier viewing.
2024-05-13 18:14:58 +02:00
XenonPK bb179ebc23 Add bots option to exclude other bot users from autoplay logic (#301)
* Add bots option to exclude other bot users from autoplay logic
* Refactor get_user_count_in_channel to make it more readable
* Remove commandline option and rename config key for "bots"
* Remove --bots from argparse
* Correct when_nobody_in_channel_ignore config read typo
* Fix when_nobody_in_channel_ignore configuration read order
2023-07-03 10:42:40 +02:00
irets fa7ca16aa6 Edit to keep form with rest of the file 2023-05-09 19:59:25 +03:00
Irets 0533a68b48 Update configuration.example.ini 2023-05-09 13:15:57 +00:00
irets@navi b21b54ac9f Fix an option, cleanup typos & wording. 2023-05-09 13:23:36 +03:00
Caleb Leinz (he/him) a50a067641 Implementation for setting max volume (#336)
* Added support for creating a max volume

* Fixed db function calls

* Fixed issue with max volume always adjusting volume
2022-07-12 18:13:10 +02:00
Terry Geng 37666c7daf feat(config): Detect unexpected config items from config files. 2022-01-21 23:58:49 -05:00
Terry Geng 81b78fa8e3 feat(config): Moved delete_allowed to [bot] section,
Now it works for both command and web interface.

Implemented #293.
2022-01-21 23:22:43 -05:00
knector01 fd2c41eb9c feat: Add avatar config option 2022-01-20 21:18:02 -07:00
kusky 743ca552a6 Update configuration.example.ini 2021-08-18 06:22:21 +02:00
Terry Geng 6faadd6669 feat: Add config option redirect_stderr.
Proposed in #282.
2021-05-26 11:29:22 +08:00
Martin Weinelt 849a0a0843 Only fetch changelog, when auto-updates are enabled
Fixes: #268
2021-05-16 16:15:39 +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
dadidji 72595f20fc fix: Cookies for Youtube query (#264) 2021-04-24 12:53:52 +08:00
Terry Geng 61748c199a feat: Allow users to specify a cookie when querying youtube.
See #263.
2021-04-23 23:02:04 +08:00
Azlux ee5a54b33b add youtube-dl options
#258
2021-04-03 13:39:47 +02:00
Azlux 582b0b58da Add youtube-dl verbose log option 2021-04-03 13:11:54 +02:00
kusky 16345fed1c Update configuration.example.ini (#238) 2020-12-14 22:01:12 +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
Terry Geng 312599e8b3 feat: Allow deletion of music files to be disabled in the config file. Implement #202. 2020-10-24 22:17:55 +08:00
Terry Geng e25fe1fb0b chore: Add descriptions about translations in the README file 2020-08-17 21:17:45 +08:00
Terry Geng 9e2e09e5fd feat: Load language file in lang/ instead of the ini file. 2020-07-12 11:45:51 +08:00
Terry Geng 37082a82f3 feat: stereo support, updated pymumble. 2020-06-05 15:01:06 +08:00
Terry Geng e61f791c82 feat: 'password' auth method: support user addition 2020-05-23 14:46:27 +08:00
Terry Geng c8f0ccf706 feat: ban a user after too many failed attempts 2020-05-19 09:53:01 +08:00
Terry Geng 0080e9b4cd fix: file size bug, upload bug 2020-05-19 09:23:19 +08:00
Terry Geng fae93d99e0 feat: add config item for maximum upload file size 2020-05-19 09:12:52 +08:00
Azlux 23a7022bdf Improvement of #154 2020-05-18 16:59:01 +02:00
Terry Geng edf5495fe5 feat: several improvements to azlux's token auth scheme #154
1. 'auth_method' in config, where users can select between
   'password' and 'token'.
2. create index for token, avoid iterating the entire user
   section when validating tokens.
3. only generate token for a user when there's no token for
   him in the db, avoid tokens fill the db.
2020-05-18 10:17:08 +08:00
Azlux 4017e7bff0 add webinterface token
#154
2020-05-17 20:28:27 +02:00
Terry Geng 71e0ede51e feat: optimized play/resume logic, add fast-forward support within song.
fix #153.
2020-05-15 10:22:44 +08:00
Terry Geng 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
Terry Geng c8d059ced0 fix: update some text 2020-03-28 20:46:21 +08:00
Martin Römer 7b1415948a add play_resume option 2020-03-23 19:00:34 +01:00
Martin Römer b6ea3c5bff autostop now supports pause/stop 2020-03-23 18:05:38 +01:00
Martin Römer 8f48b7deda add feature autostop 2020-03-23 16:08:26 +01:00
Terry Geng 1d1ff50a59 feat: add 'clear_when_stop_in_oneshot' option in config for azlux 2020-03-20 10:49:44 +08:00
Terry Geng 22ba308b14 feat: optimized autoplay with Lartz 2020-03-08 21:25:30 +08:00
Terry Geng 4fce3b956e feat: directory cache 2020-03-07 15:12:22 +08:00
Terry Geng 8e6a639e57 chore: config file. 2020-03-06 17:13:45 +08:00
Azlux 7d5f8fc778 new version ! 2020-02-29 01:28:46 +01:00
Terry Geng cf1feea870 chore: optimize logging. separate bot log and web log. 2020-02-28 14:15:57 +08:00
Terry Geng b640ff4721 fix: process error from youtube-dl correctly. #80 2020-02-27 21:10:44 +08:00
Terry Geng a03f82d90a feat: remove item once played in one-shot mode. make it as close to the old version as possible, #79 2020-02-27 00:59:20 +08:00
Terry Geng a46a1d7073 refactor: changed all 'loop' into 'repeat', which is the term used in iTunes 2020-02-26 23:37:53 +08:00
Terry Geng b85956ef2f feat: database and config support for playback mode. 2020-02-26 22:56:07 +08:00