Commit Graph

11 Commits

Author SHA1 Message Date
Christopher F 2fd6d25b7b feature: add volume cache to player 2018-08-25 22:24:56 -04:00
Christopher F 6e30995fe6 fix: set pause state to false when playing new track
lavalink will internally force a play regardless of the prior pause
state, so the player's detached pause state must reflect this
2018-08-24 17:17:58 -04:00
Christopher F d3b8f06f15 meta: add editorconfig 2018-08-23 21:24:20 -04:00
Christopher F 746f26291f fix: pause, position, volume should be ptrs
prevents encoding/json from omitting these values when
set to falsy real data (false, 0)
2018-08-23 21:20:54 -04:00
Christopher F 59811adafe lint: optional json structs must be ptrs 2018-08-23 18:51:01 -04:00
Christopher F 20f5db7e50 feature: add VSU forwarding to player
this allows VSUs to be forwarded without needing to destroy and recreate
a player
2018-08-23 18:44:50 -04:00
Christopher F 25d8b0f862 feature: add pause state, expose position on player 2018-08-23 18:40:36 -04:00
Christopher F 566c1b0777 fix: use discordgo fork, complete lavalink handshake
this works.
2018-08-22 21:07:22 -04:00
Christopher F 28ddb171ff meta: add example project 2018-08-22 19:39:36 -04:00
Christopher F b1983105f3 feature: feature complete lavalink 2018-08-22 18:58:01 -04:00
Christopher F 9b3baebda1 feature: add player 2018-08-22 18:44:20 -04:00