[ BUG ] "reason":"STOPPED" instead of "reason":"FINISHED"
See original GitHub issue
Describe the bug/issue.
My discord bot has TrackEnded function. This function is triggered by Victoria when a track ends. In this function i have a check like this:
if (!args.Reason.ShouldPlayNext())
return;
With the latest version of Lavalink when the track ends and the reason is “STOPPED”. I downgraded to Lavalink 3.3.1.4 and the reason changed to “FINISHED” (as it should be). No errors shown in Lavalink.
Stacktrace / Screenshots
With Lavalink 3.3.2.1: [Victoria] {“op”:“event”,“reason”:“STOPPED”,“type”:“TrackEndEvent”,“track”:““,“guildId”:””}
With Lavalink 3.3.1.4: [Victoria] {“op”:“event”,“reason”:“FINISHED”,“type”:“TrackEndEvent”,“track”:““,“guildId”:””}
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
PrescribeIT® Prescription - Identifiers
The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient ... reasonEnded, example.
Read more >PrescribeIT® PMS Prescription - Definitions
The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient settings as well as for ...
Read more >Uses of Class org.hl7.fhir.dstu2.model.CodeableConcept
Description of clinical condition indicating why referral/transfer of care is requested. protected CodeableConcept. MedicationOrder. reasonEnded. The reason why ...
Read more >Prescription of medication for patient
Name Type Cardinality
identifier 0..*
dateWritten dateTime 0..1
status code 0..1
Read more >ExactOnline.Client.Models.xml
[CDATA[ID of account to be invoiced instead of this account]]> ... ReasonEnd"> <! ... [CDATA[Contains the error message if an error occurred during...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m currently following the Lavalink issue dakata1337 opened and did ask him few questions. STOPPED was supposed to send only and only if you called StopAsync which meant to completely stop the player. But now, Lavalink is sending STOPPED for every normal track as well which is obviously going to make it extremely difficult to determine whether a user wants to stop the player all together or play the next song.