From 748964c8efaf5686a3fb34ea304e4ef12398c526 Mon Sep 17 00:00:00 2001 From: Krateng Date: Thu, 24 Oct 2019 15:46:38 +0200 Subject: [PATCH] Fixed syncing for manual scrobbling --- database.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/database.py b/database.py index 09b91ad..47eb5aa 100644 --- a/database.py +++ b/database.py @@ -638,8 +638,7 @@ def pseudo_post_scrobble(**keys): trackdict = createScrobble(artists,title,time) - if (time - lastsync) > 3600: - sync() + sync() @@ -668,8 +667,6 @@ def post_scrobble(**keys): trackdict = createScrobble(artists,title,time) - #if (time - lastsync) > 3600: - # sync() sync() #always sync, one filesystem access every three minutes shouldn't matter