You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each release usually includes various fixes and improvements.
4
+
The most noteworthy of these, as well as any features and breaking changes, are listed here.
5
+
6
+
## v3.0
7
+
***Breaking:** The minimum required Java version to run the server is now Java 10.
8
+
**Please note**: Java 10 will be obsolete
9
+
as of [September 2018 with the release of Java 11](http://www.java-countdown.xyz/). Expect a Lavalink major version release that will be targetting
10
+
Java 11 by that time.
11
+
***Breaking:** Changes to the output of the /loadtracks endpoint. [\#91](https://github.com/Frederikam/Lavalink/pull/91), [\#114](https://github.com/Frederikam/Lavalink/pull/114), [\#116](https://github.com/Frederikam/Lavalink/pull/116)
12
+
***Breaking:** The Java client has been moved to a [new repository](https://github.com/FredBoat/Lavalink-Client).
13
+
***Breaking:** The Java client has been made generic. This is a breaking change so please read the [migration guide](https://github.com/FredBoat/Lavalink-Client#migrating-from-v2-to-v3).
If the identifier leads to a playlist, `playlistInfo` will contain two properties, `name` and `selectedTrack`
256
+
```json
257
+
{
258
+
"loadType": "PLAYLIST_LOADED",
259
+
"playlistInfo": {
260
+
"name": "Example YouTube Playlist",
261
+
"selectedTrack": 3
262
+
},
263
+
"tracks": [
264
+
...
265
+
]
266
+
}
267
+
```
268
+
269
+
Additionally, in every `/loadtracks` response, a `loadType` property is returned which can be used to judge the response from Lavalink properly. It can be one of the following:
270
+
*`TRACK_LOADED` - Returned when a single track is loaded.
271
+
*`PLAYLIST_LOADED` - Returned when a playlist is loaded.
272
+
*`SEARCH_RESULT` - Returned when a search result is made (i.e `ytsearch: some song`).
273
+
*`NO_MATCHES` - Returned if no matches/sources could be found for a given identifier.
274
+
*`LOAD_FAILED` - Returned if Lavaplayer failed to load something for some reason.
275
+
245
276
### Special notes
246
277
* When your shard's mainWS connection dies, so does all your lavalink audio connections.
0 commit comments