yucked / rhapsody Goto Github PK
View Code? Open in Web Editor NEWAn ASP.NET Core based audio sending application for Discord and heavily inspired by Lavalink.
An ASP.NET Core based audio sending application for Discord and heavily inspired by Lavalink.
When trying to connect using a ClientWebSocket
, I get a 403. I believe this is before it checks authorization as well.
Code:
static async Task MainAsync()
{
ClientWebSocket socket = new ClientWebSocket();
socket.Options.SetRequestHeader("Authorization", "Conceptual");
await socket.ConnectAsync(new Uri("ws://localhost:6969"), CancellationToken.None);
await Task.Delay(-1);
}
Concept Log:
[Oct 10 - 01:50:07 PM] [DBUG] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Connection id "0HLQDL94UIBPN" accepted.
[Oct 10 - 01:50:07 PM] [DBUG] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Connection id "0HLQDL94UIBPN" started.
[Oct 10 - 01:50:07 PM] [INFO] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Request starting HTTP/1.1 GET http://localhost:6969/
[Oct 10 - 01:50:07 PM] [DBUG] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Wildcard detected, all requests with hosts will be allowed.
[Oct 10 - 01:50:07 PM] [TRCE] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> All hosts are allowed.
[Oct 10 - 01:50:07 PM] [DBUG] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> No candidates found for the request path '/'
[Oct 10 - 01:50:07 PM] [DBUG] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Request did not match any endpoints
[Oct 10 - 01:50:07 PM] [INFO] [Microsoft.Extensions.Hosting.Internal.ApplicationLifetime]
-> Request finished in 39.1236ms 403
With that the user can know if a source is rate limited, (GET/RateLimit/YouTube), and will return a boolean.
Why that feature? If a user has more than 1 instances of Concept he can know the best Concept he will use by the rate limit.
Now we need to discover a magic way to know if a source like YouTube or SoundCloud is rate limited lmao.
With this the user can just send a link like this: https://www.youtube.com/watch?v=CY8E6N5Nzec and Concept identify it a YouTube link and handle that, good for a play command where the bot's user will send a url to the bot.
As the title says, if possible pls add spotify support. That would be better made lavalink, thanks
I would like to contribute to this if that's possible. Overall, what's on the bucketlist for things to implement in Concept?
Here's why having more than one audio source for a VC is interesting: its useful for TTS and real time sound output systems.
For example: https://github.com/Metastruct/chatsounds-online
I am aware that Frostbyte is still being actively worked on, so I'm not expecting this to be added too soon.
I cloned the latest version of Concept today, also got IIS and ASP.Net installed. When I launch the program it creates a window w/ localhost but the console window does not appear. Is there another area where info is being logged?
Generate an audio file on the fly from a MIDI file and play it. Something I've meant to achieve with Lavalink and could be interesting to have as feature in Frostbyte.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.