Commit Graph

23 Commits

Author SHA1 Message Date
Christopher F 2fd6d25b7b feature: add volume cache to player 2018-08-25 22:24:56 -04:00
Christopher F cfb1661b64 lint: remove debug logging for node stats 2018-08-24 17:22:22 -04:00
Christopher F acb6322016 meta: update todo 2018-08-24 17:21:10 -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 ba704b963d feature: add track decoder 2018-08-24 17:14:58 -04:00
Christopher F f5c6bdc457 meta: add TODO list 2018-08-23 21:26:10 -04:00
Christopher F d3b8f06f15 meta: add editorconfig 2018-08-23 21:24:20 -04:00
Christopher F c472a61322 example: add functions 2018-08-23 21:22:29 -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 d3a75d1dab feature: track node load, account for this when selecting a node 2018-08-23 18:29:58 -04:00
Christopher F 35bfb14058 lint: don't use global `log`
users can change the logger now via gavalink.Log
2018-08-23 18:15:39 -04:00
Christopher F 566c1b0777 fix: use discordgo fork, complete lavalink handshake
this works.
2018-08-22 21:07:22 -04:00
Christopher F 89c44fb63c fix: lavalink expects snowflakes to be a string 2018-08-22 20:49:33 -04:00
Christopher F 3a9f33fc07 fix: minor fixes to make lavalink work 2018-08-22 19:54:57 -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
Christopher F 9922b2d8db meta: include lavalink v3+ as a requirement 2018-08-22 18:00:56 -04:00
Christopher F 2e77254b1b feature: add manager, node, track loading 2018-08-22 18:00:04 -04:00
Christopher F cc6539668e meta: initial commit 2018-08-22 17:59:54 -04:00