Closed BlyZeYT closed 8 months ago
Hello, @BlyZeYT ,
thank you for your report! By just flying over it quickly, this is my first thing you could try out:
It looks like you are not using Microsoft.Extensions.Hosting: The inactivity service internally queues up events and needs to be started (as similar how the audio service needs to be started). Could you try running .StartAsync
on IInactivityTrackingService
and check if the events/notifications are dispatched to the player?
Additionally, I do not see a call to .AddInactivityTracking()
in your service pipeline. It might be that you are not even registering the inactivity service at all.
With .StartAsync()
it works. I didn't knew I had to start the inactivity tracker as well :).
Thanks for helping so fast 😄
Describe the bug I have this Player class that implements the Player listener but it doesnt fire the Notification events.
This is in my startup:
Expected behavior The notifications getting called
(please complete the following information):