[Audio] Suggestions for rewrite #623
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#623
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
We're gonna use this as a collection board for any/all current or future audio suggestions.
kill me now
Maybe some sort of progress on the [p]song command out of the duration of the song, and something to be able to scroll through the queue with reactions when It doesn't show the whole queue?
An embed control for a music dedicated text channel, with:
Info:
-Now playing
-Next 5 or 10 queued songs
Reaction buttons:
-play, pause, stop, volume.
-help
Something like this, but well put together :'D https://cdn.discordapp.com/attachments/295226583936008192/295227238423461890/Captura.PNG
The ability to ADD a local list to the current queue (at least whilst it's playing from local music) e.g. [p]local start Playlist1 then whilst that is playing [p]local add Playlist2 Also if/when this is added it would make sense to be able to play multiple at once with something like [p]local start Playlist1 Playlist2 etc
a couple things if they haven't already been suggested:
nadekobot and erisbot have good examples of these queuing features
Fix emptydisconnect.
Also, have the option for user chosen time for emptydisconnect. e.g. [p]audioset emptydisconnect 2 (after 2 mins dc)
I'd also suggest better error handling for errors from youtube-dl (i.e. rather than just dumping out a somewhat cryptic error message, try to figure out the error's meaning and give the user a readable explanation of what went wrong)
suggesting
Suggestion: make audio usable in DM calls
Only friends can get into DM calls with you and bots cant be your friend
I forgot that was a thing
For those wondering, I'll be getting back into this in mid-late May. My work semester has been keeping life busy and getting back to school should alleviate some of that. If anybody would like to contribute (ha!) shoot me a pm on discord.
Autoplay feature would be nice (auto-queue related songs when playlist is empty).
Support for Youtube Mix links.
livestream support
option to not cache audio instead stream it directly.
Is there a reason why we can't (or is there some hidden way to) play local songs without using local playlists? As in
!local play song.mp3, if you just want a specific one? I could probably put together a pull request in the next few days, but I'm not sure if it should be a part of!local play, or if it should be a new subcommand within !local.@EmmaSimon There is no reason why not, just added it to the list
@GitHubMathi that was added to audio in #765
@tekulvw I added it in #783 if you want to take a look, also fixed #270 while I was poking around.
Livestream support would be really nice, especially after so many 24/7 music streams popped up on Youtube in the last weeks/months.
Here is a way to fix the outstanding issue regarding SC Likes (most likely what causes it) not being added to the saved playlist due to 'dict has no "url" attribute'.
Whether it's fixed in V3 or not, here's the could-be fix for existing v2 users.
Also, if "playlist" or "sets" or "likes" in url_or_search_terms in play command, make it tell the user to add it to a playlist in Red first then try playing that playlist.
Failure to do so will cause the bot to either time out (because the bot sees that it's not playing anything and disconnects due to emptydisconnect) or it will get an 403 Error in the case of SC for downloading too many files. It will also get a KeyError in checking if the server.id is in self.downloaders if it disconnects (because of emptydisconnect) during parsing.
A 'repeat one' function for local files would be great. Maybe just for anything in the queue. Linus Bot had this, but Linus doesn't exist anymore....
Integration with Google Play Music Desktop Player's API. Documentation can be found here: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/docs/PlaybackAPI_WebSocket.md
for the google play music intergration a wrapper like gmusicapi could be used to control it
Suggestion: channel specific volume settings?
What about a function that will make the bot join a selected channel on cog load? Like a music channel. We could set predetermined settings with that, like play a song or a playlist and loop it, set the volume...
I highly recommend expanding standard playlist handling and track search to simultaneously handle both local track and YT/SC tracks. This would go with the queue functionality, as well.
Additionally, having a smart track/album search that can look for substrings in names would be very helpful, as I've found that many users either don't know the full track/album names or they don't know to input the entire name. I have actually solved this part on a local branch and would be willing to share.
add suggestions on #644
Multi playlists on queue.
Random playing between the playlists queued (but not like 1 from playlist A other from playlist B and then from playlist A again. Really randomised from all the songs).
Add a better queued response.
This is good when you want to know who queued the sound and have the bot command messages delete enabled. Maybe something like:
"<user> queued in #<queue_position> <title>
(<link>)"
Example:
jonyroda97 queued in #800 Post Malone - Congratulations ft. Quavo
(https://www.youtube.com/watch?v=SC4xMk98Pdc)
and on #366
Allows mods to manage/export replays as general playlist.
General users may start replays.
Auto cleanup old unused replays
Requesting Absolute Vote toggle
What it do?
When toggled ON, this ignore everyone with instant skip power, so they are counted for skip vote. Of course, bot owner still an exception.
So, I have a text file with hundreds of pPlay Links/Artist - Song Name from songs my group has collected to play in the background of our adventures and hijinks.
The first thought could be to make a text playlist to save all these for instant play! Wrong. Can't do that cause we need to add another song that isn't on the list! Doing that would make it to the very top because it won't shuffle with the playlist!
Alright then let's just paste them all with the play command- one by one?
okay uh, lets get a bot to say the comma- bots don't listen to bots huh?
alright, fuck it. I'll type out all the songs we want into a format I can copy and paste them one by one into discord. SO I CAN ADD SONGS, AND SHUFFLE ALL OF THEM.
So these days I'm using a macro to highlight the line and copy, alt tab to discord, enter paste, alt tab times infinite. This honestly wouldn't be the worst aside from the temporary lockdown of my computer, but if a song ends and a command is entered while the bots downloading ITS FULL QUEUE WIPE. You downloading a patch and changing songs at the same ti-QUEUE WIPE WEBSOCKET CRASH GAME OVER MAN.
I just wanted to be a nice lobby leader with a nice base queue of songs everyone could join in on.
So if there were a more, open queue kind of playlist option I could save links in while allowing people to queue songs up then shuffle, I wouldn't think twice about doing anything you want with me. I love you guys and keep up the hard work.
How about using the real-time streaming URL as a parameter to listen to the broadcast with audio?
@Second-Epsilon that's planned IIRC
@skeith I see! that's great!
have audio locked to a channel so it isn't used else where.
That should be possible with the permissions cog that's coming (see #1548 for more info on that)
I understand that. but shouldn't music lock channel be core already? like a lot of other bits has that feature to prevent spam across channels without using something else.
Superseded by #2494