Fix jellyfin edge case scrobbling mess
Finally get to resolve scrobbling music from Jellyfin. This may lead to other issues, in fact now videos seem to sometimes create duplicate scrobbles. But music can be scrobbled now from Jellyfin web or Finamp successfully.
This commit is contained in:
@ -49,7 +49,12 @@ class Sport(TheSportsDbMixin):
|
||||
# run_time_ticks = run_time_seconds * 1000
|
||||
@property
|
||||
def default_event_run_time_ticks(self):
|
||||
return self.default_event_run_time * 1000
|
||||
default_run_time = getattr(
|
||||
settings, 'DEFAULT_EVENT_RUNTIME_SECONDS', 14400
|
||||
)
|
||||
if self.default_event_run_time:
|
||||
default_run_time = self.default_event_run_time
|
||||
return default_run_time * 1000
|
||||
|
||||
|
||||
class League(TheSportsDbMixin):
|
||||
|
||||
Reference in New Issue
Block a user