Draper
17496ff5cf
[Audio] Fix DM Crash ( #3880 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-06-11 16:50:23 +02:00
aikaterna
e3322af384
[Audio] Redefine max length with livestream exception ( #3878 )
...
* Redefine max length with livestream exception
* Address review
* is_track_too_long -> is_track_length_allowed for a more accurate description of what the function actually is doing
* we now rely on Track.is_stream for determining whether item is a livestream (or unseekable/non-known audio length like OGG files) for determining whether it can bypass the user-set max track length
* Removal of passing track length/an int to is_track_length_allowed - will always pass the full Track object now
* Address review
2020-06-11 16:38:43 +02:00
github-actions[bot]
4335b3b2d4
Automated Crowdin downstream ( #3913 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-04 14:22:16 +02:00
Draper
d6435eff85
make audioset autoplay guild-only ( #3899 )
2020-06-04 13:33:33 +02:00
Predeactor
2c313594da
Typo Fix ( #3900 )
...
As always, a new typo is fixed forever.
2020-06-03 21:13:44 +02:00
Draper
f1ba57b78b
[Audio] Lyrics typo - p.s It feels dirty making a PR this small ( #3889 )
2020-05-30 15:39:50 +02:00
Draper
f2f3ac7d42
Special case new RLL message (RLL 0.5.1 bump inside) ( #3868 )
...
* specialcase new RLL message
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Bump RLL to 0.5.1
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-05-28 23:33:43 +02:00
Draper
cd14bccdc8
Get fucked Java 8. Long live Java 11 (till we kill you for your big brother Java 13) ( #3873 )
...
* Get fucked Java 8. Long live Java 11 (Till we kill you for your big brother Java 13)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp lets simplify this
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-05-28 23:02:23 +02:00
github-actions[bot]
e0d8942741
Automated Crowdin downstream ( #3872 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-28 22:44:32 +02:00
github-actions[bot]
e52ff98cad
Automated Crowdin downstream ( #3860 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-25 00:09:55 +02:00
Predeactor
7cabc876f5
[Audio] Typo fix ( #3861 )
2020-05-22 17:54:40 +02:00
Draper
8fa47cb789
Merge V3/feature/audio into V3/develop (a.k.a. audio refactor) ( #3459 )
2020-05-20 22:30:06 +02:00
github-actions[bot]
de99aac3ad
Automated Crowdin downstream ( #3850 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-14 22:07:36 +02:00
github-actions[bot]
480c3129bd
Automated Crowdin downstream ( #3830 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-07 16:37:33 +02:00
aikaterna
d7c5f86ce7
[Audio] Update Lavalink.jar version ( #3791 )
2020-04-24 19:15:19 +02:00
github-actions[bot]
61db89e89d
Automated Crowdin downstream ( #3785 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-23 14:44:20 +02:00
github-actions[bot]
d12fcac9af
Automated Crowdin downstream ( #3761 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-18 17:16:57 +02:00
github-actions[bot]
36a0eabf4a
Automated Crowdin downstream ( #3739 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-09 21:27:35 +02:00
Kowlin
7c251b8017
Bump version to 3.3.3 ( #3703 )
...
* Bump version to 3.3.3
* Update manager.py
2020-03-28 23:51:09 +01:00
jack1142
eebea59fe3
Remove usage of loop arg in calls to start_adding_reactions ( #3644 )
...
* fix stacklevels of warnings
* stop using loop arg when calling start_adding_reactions
* [Audio] Stop using loop arg when calling start_adding_reactions
2020-03-20 20:44:57 +01:00
github-actions[bot]
0f364a6d13
Automated Crowdin downstream ( #3671 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-19 23:38:27 +01:00
github-actions[bot]
3e1bb88ab7
Automated Crowdin downstream ( #3650 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-18 20:48:15 +01:00
Kowlin
3ff127d514
Automated Crowdin downstream ( #3640 )
2020-03-05 22:01:26 +01:00
aikaterna
136fcd7bb2
[Audio] Update Lavalink.jar version ( #3620 )
2020-02-28 18:50:13 +00:00
github-actions[bot]
0913b68a1e
Automated Crowdin downstream ( #3543 )
2020-02-13 12:54:28 -05:00
Cog-Creators Bot
4370ec922b
Automated Crowdin downstream ( #3531 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-08 19:49:30 +01:00
Draper
8654924869
[Audio] Allow lazy searching for playlist across scopes ( #3430 )
...
* Allow lazy searching for playlist cross scope
* Chore
2020-01-26 16:38:49 -05:00
Draper
0a8e7f5663
stop dc interacting with repeat ( #3426 )
2020-01-23 17:05:50 -05:00
Draper
2c12e4f6bf
[Audio] Show symbolic link folders ( #3376 )
...
* Fixes Bump play
* Fixed #3332
* Revert "Fixed #3332 "
This reverts commit d76d3acb
* Revert "Fixes Bump play"
This reverts commit 3839bdaf
* *sigh*
* *sigh*
* *sigh*
* use iglob + async iterator
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* + fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-17 17:07:49 -05:00
Draper
41b283ce5d
[Audio] Show correct time remaining for bumped tracks ( #3375 )
...
* Fixes Bump play
* *sigh*
2020-01-17 17:00:29 -05:00
Draper
3d1e6eab00
[Audio] Add backticks to commands in docstrings, fix GH-3140 ( #3374 )
...
* docstring change
* remove backticks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Seems like i cant read
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Rename 3140.enchance.1.rst to 3140.enhance.1.rst
2020-01-17 22:30:29 +01:00
Draper
7bdd177713
[3.2.3][Audio] Correct an unsupported LoadType ( #3337 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* logging improvements
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* logging improvements
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* sigh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 18:35:49 -05:00
Draper
81b6d5bb93
why the hell is this here ( #3357 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 18:35:23 -05:00
Draper
a984971774
[3.2.3][Audio] Fixes some Playlists strings ( #3347 )
...
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 18:20:31 -05:00
Draper
9f027cc3e0
[3.2.3][Audio] Improved Playlist cooldowns ( #3342 )
...
* Improved Playlist cooldowns
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Improved Playlist cooldowns
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 18:19:36 -05:00
Draper
ed76454ddb
... ( #3350 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 17:42:17 -05:00
Draper
fdfbfe7b60
[3.2.3][Audio] Full fix for #3328 ( #3355 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* [Audio] Hotfix an edge case where an attribute error can be raised (#3328 )
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* flame's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Delete 3328.hotfix.1.rst
* lets be extra safe here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 17:37:50 -05:00
Draper
d6936c87f3
chore ( #3348 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 17:37:04 -05:00
Draper
e52c20b9e7
[Audio] Hotfix an edge case where an attribute error can be raised ( #3328 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hotfix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-12 16:20:46 -05:00
Draper
3546dd14d0
change executor to 1 ( #3299 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-09 11:13:32 -05:00
Draper
e75b5b3be5
Limit Playlists ( #3298 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-09 11:10:57 -05:00
Michael H
25f0c37a20
jar-bump ( #3291 )
2020-01-09 09:38:34 -05:00
Draper
44e680ee41
[3.2]Audio] some hotfixes to avoid crashing the bot ( #3286 )
...
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* indents
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* forgot single tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-08 17:04:52 -05:00
Michael H
a73b174d9f
update translation catalogs ( #3280 )
2020-01-07 17:16:21 -05:00
Draper
17123c1d88
[3.2][Audio] Add a limiter of 500 to the Visible queue ( #3279 )
...
* Add a limited of 500 to the Visible queue and somce asyncio sleep every n tracks to assist with queue loading so it stops being blocking
* add a text for queue
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* add asyncio sleep on playlist queue command
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Better error handling for large playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* remove files even if it errors
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-01-07 16:33:10 -05:00
Draper
62aad10008
[3.2][Audio] Database migration fix ( #3275 )
...
* Missed this due to the mess of a fork i had
* chore
2020-01-06 05:28:56 -05:00
Draper
b59f136ece
[3.2.0][Audio] Daily playlist ( #3199 )
...
* Removes `MAX_BALANCE` from bank, user `bank.get_max_balance()` now
`[p]bankset maxbal` can be used to set the maximum bank balance
Signed-off-by: Guy <guyreis96@gmail.com >
* Initial Commit
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* I need to make sure I keep aika on her toes.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency v2 and typos
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Reset cooldowns + add changelogs
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Add 3 extra file formats.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* IRDUMB - fix capitalization.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fix a silent error, and some incorrect messages.
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove unnecessary emojis from queue when they are not needed
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Resolve conflicts
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Bring all files up to date + Black
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Facepalm
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh*
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh* 2.0
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into audio-misc-pt1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Resolve Conflicts:
# redbot/cogs/audio/audio.py
# redbot/cogs/audio/utils.py
* Import missing Typecheck
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix Broken docstrings
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sort Local Tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Reorder the sorting of local tracks,
`alphanumerical lower then alphanumerical upper`
`a comes before A, but B comes after A`
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make the local file sorting case insensitive
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add global blacklist/whitelist + fix some issues with original server based whitelist/blacklist
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the pre-commit yaml
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Nottin to see
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix the __str__ method on LocalTracks Object
* Rename LocalTracks.to_string_hidden() to LocalTracks.to_string_user() To keep it inline with the Query object
* Remove encoding pragmas + a few typo fixes
* Update some typehints + fix some typos
* Remove this duplicate call
* Black
* fix capitalization
* Address preda's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio cog
- Is in direct conflict with goals stated in #2804
- Features this was intended to enable can be enabled in other more
appropriate ways later on
* changelog
* Address Aika's review
* Black
* *sigh* dont use github web ui
* Fuck windows Long live linux... *sigh* no lets ensure windows users can still use local tracks
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into refactoring
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Conflicts:
# redbot/cogs/audio/audio.py
* 👀 + chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm... again y u h8 me bruh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuk this fuk u tube fuck python fuck all
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* awyehfqwajefhnqeffawefqa eqewarfqaesf qwef qaf qwfr
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuck everything
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* oh lord saviour resus i love you just make this work
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Change logic to be no errors within last 10 seconds... this should be a valid work around discord ratelimits caused by the spam
* Remove auto deletion
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* See I did a ting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* irdumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add an is_url attribute to Query objects
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Address Aikas review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hyperlink Playlist names
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make shit bold
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Initial commit
* Workinnng
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Improve SQL Statements + migrate from SQL Alchemy + Databases to APSW
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* apsw tested and working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chose
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Migrate Playlist to DB 3 TODO
1 Migrate Config to Schema 3 without playlists
and update get_playlist methods
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Migrate Playlist to DB 3 TODO 1 Migrate Config to Schema 3 without playlists and update get_playlist methods"
This reverts commit 4af33cff
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Implement schema migration
* Lets not touch the deps since #3192 is already adding them
* chore
* *sigh* Black
* Follow the existing logic and always default Playlist to guild scope
* wghqjegqf black
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* Some bug fixes
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* better partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* I thought i done this before
* Delete 3195.misc.1.rst
Wrong PR
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Log Errors in init ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update error logs.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Drapersweat:
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Chore"
This reverts commit edcc9a9f
UGHHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* KMS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Allow removing tracks from queue by URL
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Words matter
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* arghhh CONFLICTS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Review sinbads latest comment ..
ToDo.. Nuke existing playlist - check version and set version
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* migrate the DB schema to v3 (to keep in line with the schema visioning of Config
* Add a Todo
* *sigh* conflicts and black
* *sigh* black
* Passively delete playlist deletion mechanism
* Delete Old entries on startup
* Since we are dropping the table mightaware make these into JSON for future proofing
* Don't Dump strings in JSON field ? :think:
* Move some things around to make easier to use 1 connection to the Audio DB
* Move some things around to make easier to use 1 connection to the Audio DB
* *sigh*
* Clean up api
* *sigh* black
* Red + reorder some variables
* 🤦
* how could i forget this .......
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* #automagically
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove unused config default
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio Cog (Properly)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Missed these changes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ARGHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Crerrypick - Some fixes I've noticed while running through the code line by line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Translation + UX (show playlist author ID if can't find user)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* this is no longer needed ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im a fucking idiot
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* merger v3/develop
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: Michael H <michael@michaelhall.tech >
2020-01-03 21:58:11 -05:00
Draper
95e8d60729
[3.2][Audio] Part 6 (Last? maybe?) ( #3244 )
...
* Removes `MAX_BALANCE` from bank, user `bank.get_max_balance()` now
`[p]bankset maxbal` can be used to set the maximum bank balance
Signed-off-by: Guy <guyreis96@gmail.com >
* Initial Commit
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* I need to make sure I keep aika on her toes.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fixes a few missing kwargs and case consistency v2 and typos
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Reset cooldowns + add changelogs
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Add 3 extra file formats.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* IRDUMB - fix capitalization.
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Fix a silent error, and some incorrect messages.
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove unnecessary emojis from queue when they are not needed
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Remove duplicated call in `[p]playlist update`
Signed-off-by: guyre <27962761+drapersniper@users.noreply.github.com >
* Resolve conflicts
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Bring all files up to date + Black
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Facepalm
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh*
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* *Sigh* 2.0
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com >
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into audio-misc-pt1
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Resolve Conflicts:
# redbot/cogs/audio/audio.py
# redbot/cogs/audio/utils.py
* Import missing Typecheck
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix Broken docstrings
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sort Local Tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Reorder the sorting of local tracks,
`alphanumerical lower then alphanumerical upper`
`a comes before A, but B comes after A`
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make the local file sorting case insensitive
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add global blacklist/whitelist + fix some issues with original server based whitelist/blacklist
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the pre-commit yaml
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Nottin to see
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Further improvement to the blacklists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix the __str__ method on LocalTracks Object
* Rename LocalTracks.to_string_hidden() to LocalTracks.to_string_user() To keep it inline with the Query object
* Remove encoding pragmas + a few typo fixes
* Update some typehints + fix some typos
* Remove this duplicate call
* Black
* fix capitalization
* Address preda's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio cog
- Is in direct conflict with goals stated in #2804
- Features this was intended to enable can be enabled in other more
appropriate ways later on
* changelog
* Address Aika's review
* Black
* *sigh* dont use github web ui
* Fuck windows Long live linux... *sigh* no lets ensure windows users can still use local tracks
* Merge branch 'V3/develop' of https://github.com/Cog-Creators/Red-DiscordBot into refactoring
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
# Conflicts:
# redbot/cogs/audio/audio.py
* 👀 + chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* facepalm... again y u h8 me bruh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuk this fuk u tube fuck python fuck all
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* awyehfqwajefhnqeffawefqa eqewarfqaesf qwef qaf qwfr
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fuck everything
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* oh lord saviour resus i love you just make this work
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Change logic to be no errors within last 10 seconds... this should be a valid work around discord ratelimits caused by the spam
* Remove auto deletion
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* See I did a ting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* irdumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Add an is_url attribute to Query objects
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Address Aikas review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Hyperlink Playlist names
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Make shit bold
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* why was this here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Initial commit
* Workinnng
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Improve SQL Statements + migrate from SQL Alchemy + Databases to APSW
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* apsw tested and working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chose
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Migrate Playlist to DB 3 TODO
1 Migrate Config to Schema 3 without playlists
and update get_playlist methods
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Migrate Playlist to DB 3 TODO 1 Migrate Config to Schema 3 without playlists and update get_playlist methods"
This reverts commit 4af33cff
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Implement schema migration
* Lets not touch the deps since #3192 is already adding them
* chore
* *sigh* Black
* Follow the existing logic and always default Playlist to guild scope
* wghqjegqf black
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* Some bug fixes
* Update usage of last_fetched and last_updated to be Ints... However column migration still pending
* working
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* better partial match
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* I thought i done this before
* Delete 3195.misc.1.rst
Wrong PR
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Thanks Sinbad
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Log Errors in init ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update error logs.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Create index
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Drapersweat:
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Revert "Chore"
This reverts commit edcc9a9f
UGHHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Allow removing tracks from queue by URL
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Words matter
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* arghhh CONFLICTS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Review sinbads latest comment ..
ToDo.. Nuke existing playlist - check version and set version
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* migrate the DB schema to v3 (to keep in line with the schema visioning of Config
* Add a Todo
* *sigh* conflicts and black
* *sigh* black
* Passively delete playlist deletion mechanism
* Delete Old entries on startup
* Since we are dropping the table mightaware make these into JSON for future proofing
* Don't Dump strings in JSON field ? :think:
* Move some things around to make easier to use 1 connection to the Audio DB
* Move some things around to make easier to use 1 connection to the Audio DB
* *sigh*
* Clean up api
* *sigh* black
* Red + reorder some variables
* 🤦
* how could i forget this .......
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* #automagically
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* FINAFUCKINGLY
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove unused config default
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Remove the API from the audio Cog (Properly)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Missed these changes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ARGHHH
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Some fixes I've noticed while running through the code line by line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Translation + UX (show playlist author ID if can't find user)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* this is no longer needed ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* 🤦
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new lines in error messages
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black
* Sinbads Review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Sinbads Review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* copy paste
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* imrpove backups
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im a fucking idiot
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix #3238
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* humans
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* humans
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* add play alias to playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im dumb ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Im dumb ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix new line
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* show playlist count on playlist picker
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* fix currency check
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* show playlist count on playlist picker
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DJ/Vote system fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* fix currency check
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Fix duplicate messages on timeout
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix SQL Statement logic
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* fix SQL Statement logic
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape fix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Markdown escape fix
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* clean up local cache more frequently
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* clean up db more frequently
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Await in hell
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black cuz I hate red
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Black cuz I hate red
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* StringIO to ByteIO
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* StringIO to ByteIO
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* :Facepalm: the whole purpose of this is so its offline so this can be backed up without being blocking
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Run write queries on ThreadPoolExecutor
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Backup Audio.db
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh* im dumb
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* blaaaack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* remove duplicated string of code
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ffs awaits
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: Michael H <michael@michaelhall.tech >
2020-01-03 20:36:09 -05:00
Draper
6bf9ff5637
[Audio] Fix console spam caused by disconnect_timer if a player is destroyed before the task completes ( #3123 )
...
* Remove servers from the auto disconnect/pause list is their players no longer exist...
Prevents a console spam
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2019-12-20 01:59:09 -05:00
Draper
0b042532fd
[Audio] Fix Attribute error raised by is_alone method when channel was None ( #3122 )
...
* Fix attribute Fixes #3120
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2019-12-20 01:58:08 -05:00