Fix pushing pause to webhook regardless of time
This commit is contained in:
@ -111,12 +111,6 @@ class WebhooksFrontend(pykka.ThreadingActor, CoreListener):
|
||||
|
||||
post_data = self._build_post_data(tl_track.track, time_position=time_position)
|
||||
|
||||
if time_position_sec < duration // 2 and time_position_sec < 240:
|
||||
logger.debug(
|
||||
"Track not played long enough to scrobble. (50% or 240s)"
|
||||
)
|
||||
return
|
||||
|
||||
if self.last_start_time is None:
|
||||
self.last_start_time = int(time.time()) - duration
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user