File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,10 @@ async def _monitor(self):
9090 if (not self .paused ) and self .ready and self .connected and self .current :
9191 _temp_id = self .current .track_identifier
9292 try :
93- while _temp_id == self .current .track_identifier :
93+ while (
94+ _temp_id == self .current .track_identifier
95+ and self .current .track_identifier not in self ._previously_stuck_track
96+ ):
9497 if (
9598 now := time .time ()
9699 ) > self ._last_update + self ._consider_stuck_after :
@@ -100,8 +103,8 @@ async def _monitor(self):
100103 raise asyncio .TimeoutError
101104 await asyncio .sleep (0.5 )
102105 except asyncio .TimeoutError :
103- log .debug ("Dispatching track stuck manually." )
104106 if self .current .track_identifier not in self ._previously_stuck_track :
107+ log .debug ("Dispatching track stuck manually." )
105108 self .node .event_handler (
106109 LavalinkIncomingOp .EVENT ,
107110 LavalinkEvents .TRACK_STUCK ,
You can’t perform that action at this time.
0 commit comments