No project description provided
Project description
NAFF YTAudio
A NAFF audio object for playing audio from YT_DLP.
Usage
from naff_yt_audio import YTAudio
audio = await YTAudio.from_url("https://www.youtube.com/watch?v=ldyqHK0tbSc")
await voice_state.play(audio)
And that's it, audio will be streamed from YouTube to NAFF.
If you'd rather download the audio first, simply add stream=False
.
audio = await YTAudio.from_url("https://www.youtube.com/watch?v=ldyqHK0tbSc", stream=False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
naff-ytaudio-1.0.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for naff_ytaudio-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98802c57ae01342fdf2c81654d8ff97c1969048aac4383a23f8b2c0ddb46ba5 |
|
MD5 | 6bd297a5c920b41cdeb1e4a0e157e87f |
|
BLAKE2b-256 | a37d1c874642a347e5e48e53bae2c880666f464198afbb4149e391307592b248 |