Commit Graph

51 Commits

Author SHA1 Message Date
Tyler d9a5b1160c Check major version only if it exists 2021-01-06 21:35:22 -05:00
Tyler 90365cd9e4 Use errgroup for a cleaner and no-deadlock implementation of AddNodes 2021-01-06 21:00:14 -05:00
Tyler d99e202995 Handle node removal better to ensure players aren't used if there's no node 2020-06-21 22:53:33 -04:00
Tyler 169cc4f563 Proper locking, start to User-Agent population 2020-06-19 23:19:33 -04:00
Tyler c5910e7f5d Better event handling via DiscordGo's handlers 2020-06-19 22:50:55 -04:00
Tyler ba67bde994 Properly encode values for identifier 2020-05-03 17:00:54 -04:00
Tyler fbab76d269 Use time.Duration for track lengths 2020-04-12 12:03:08 -04:00
Tyler ffe0ef235d Ensure voice downloads are authenticated 2019-10-14 19:18:25 -04:00
Tyler f9206c7c99 Add missing UserID to VoiceProcessingData 2019-10-13 22:58:25 -04:00
Tyler 7eae103756 Initial capabilities support for custom implementations 2019-10-13 14:07:59 -04:00
Tyler 8efc77cacc No need to use pointers in this context 2019-10-13 04:45:33 -04:00
Tyler 4ae4d6def2 Properly implement penalties for frame stats 2019-10-13 04:44:51 -04:00
Tyler 1bb3b36df6 Implement proper (partial) penalty support 2019-10-13 04:39:18 -04:00
Tyler c4c66b5c23 Resolve issue with client reference 2019-10-13 00:42:08 -04:00
Tyler ef903095c9 Full support for changing nodes 2019-10-13 00:04:01 -04:00
Tyler ba383db391 Implement node auto switching 2019-10-12 23:57:59 -04:00
Tyler a6ec9bedd2 Add user join/leave events 2019-10-12 21:13:23 -04:00
Tyler 8b7ed3414d Fix error in model.go 2019-04-13 16:50:35 -04:00
Tyler 3e15e4159a Add go module files 2019-04-13 16:20:46 -04:00
Tyler 8e8ab7b8b4 Support for userListen op 2019-02-03 19:31:53 -05:00
Tyler 51e56c0e2a Reformat messages 2019-01-13 18:38:29 -05:00
Tyler 580ef99f87 fastjson, cleanup 2019-01-13 18:37:38 -05:00
Chris Felegy 6252b12453 meta: add build status badge 2018-11-05 17:37:50 -05:00
Chris Felegy 53ed8491f9 meta: fix CI 2018-11-05 17:32:43 -05:00
Chris Felegy 84aeb76f76 meta: add travis ci 2018-11-05 17:24:52 -05:00
Christopher F c8828fe4d2
Merge pull request #1 from soowan/master
Delete key, not set value to nil
2018-11-04 17:37:03 -05:00
Tyler Hill d6688b63c7
Delete key, not set value to nil 2018-11-02 22:29:50 -05:00
Christopher F e1f823649f feature: expose player Guild ID, current track 2018-08-25 22:59:07 -04:00
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