V3 feature audio - clean up #3528
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot!3528
Loading…
Reference in a new issue
No description provided.
Delete branch "C3-feature-audio-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes broken stuff from previous PRs
Fixes #3467, where paths with special characters no longer return an empty list from
glob.globAttempts to fix #3506 by ensuring that
[p]playlist updateno longer uses the local cacheWhen selecting a folder with child folders with
[p]localplaythe bot will not enqueue all nested tracksAfter talks in Discord, I put this as a reminder for you @Drapersniper.
When something is blacklisted in
[p]audioset restrictions, like Spotify, it should not do any fetch to Spotify API. Not only when trying to enqueue them, but also with[p]playlist save | appendcommands.Another thing is that
Loading track xx/xx...message on[p]playlist save | appendcommands get locked when the job is finished.This is not ready to be merged, further work is required, and a full functionality review is required however once this one is proven to be functional
https://github.com/Cog-Creators/Red-DiscordBot/pull/3459 should be ready to be merged into V3/develop.
The "further work required" is ensuring all bugs currently in this branch are resolved.
The way i coded this branch, it contacts all previous work that went into the feature branch so everything can be tested here.
Once this is merged into the feature branch the audio refactor can be considered complete.
Not an exhaustive list. This is what I've found so far - I think you may have already addressed the playlist picker as I see from one of your later commits.
[p]queue cleanself
Please title case "Removed tracks from the queue" like the rest of the error title messages.
[p]help Audio says
Class joining all Audio subclasses- make this docstring more user friendly[p]audioset autoplay reset - possibly display default value in message? (message now is
Set auto-play playlist to default value.)[p]audioset countrycode - make the docstring specify Spotify
No matching is present in playlist names across scopes.
Example:
save a playlist as a user scope playlist
play it with [p]playlist start playlistname
playlistname is not matched to any playlist
playlist id is also not matched
Playlist searcher is not seeming to pop up for loading a playlist. Have multiple playlists named the same thing and it's not asking which one to use. Playlist dedupe and playlist remove work appropriately (search popup occurs).
Formatting breaks on https://www.youtube.com/watch?v=ocDlOD1Hw9k in user facing responses because of ** in track name
The following commands and/or command groups should not be available to plebs/users without mod-admin perms in the server:
audioset autoplay command group
audioset dc
audioset notify
audioset restrictions command group
"The path must not contain spaces." can be removed from audioset localpath
Used: [p]playlist copy ENM --from-guild 154659242253484033 --to-guild 133049272517001216
Bot response: You cannot use --to-server <-not embedded, add period at end, format like other "exceptions"
Done
Questions
@ -59,2 +62,4 @@start=search_idx_start):search_track_num = i + 1if search_track_num > 5: