aboutsummaryrefslogtreecommitdiff
path: root/discord/player.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix waiting for resume when calling stop() on AudioPlayerDaniel2017-07-211-0/+2
|
* Call cleanup on AudioSource.__del__.Rapptz2017-07-191-0/+7
|
* Add some logging for when ffmpeg processes get terminated.Rapptz2017-07-181-1/+7
|
* Log when a player's after function fails.Rapptz2017-06-021-1/+4
|
* Allow setting a default volume in PCMVolumeTransformer.Rapptz2017-04-191-2/+5
|
* Add PCMVolumeTransformer to augment volume of a PCM stream.Rapptz2017-04-191-3/+55
| | | | | | This also introduces the idea of replacing the VoiceClient.source on the fly. Note that this internally pauses and resumes the audio stream.
* Add VoiceClient.is_paused to query pause state.Rapptz2017-04-191-0/+3
|
* Fix static cut-off when playing.Rapptz2017-04-181-2/+8
|
* Fix FFmpegPCMAudio not working with spaces in filename.Rapptz2017-04-181-1/+1
|
* Re-implement voice sending.Rapptz2017-04-181-0/+248
This is a complete redesign of the old voice code. A list of major changes is as follows: * The voice websocket will now automatically reconnect with exponential back-off just like the regular Client does. * Removal of the stream player concept. * Audio now gracefully pauses and resumes when a disconnect is found. * Introduce a discord.AudioSource concept to abstract streams * Flatten previous stream player functionality with the VoiceClient, e.g. player.stop() is now voice_client.stop() * With the above re-coupling this means you no longer have to store players anywhere. * The after function now requires a single parameter, the error, if any existed. This will typically be None. A lot of this design is experimental.