[gnome-music] query: Recently Played should show track for at least a week



commit 82afe43ff4c74912f69ccd9b1c4530b7e57812de
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Jan 19 13:45:35 2015 +0100

    query: Recently Played should show track for at least a week

 gnomemusic/query.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/query.py b/gnomemusic/query.py
index 7e8059c..a0180b3 100644
--- a/gnomemusic/query.py
+++ b/gnomemusic/query.py
@@ -989,7 +989,7 @@ class Query():
         #TODO: or this could take comparison date as an argument so we don't need to make a date string in 
query.py...
         #TODO: set time interval somewhere? A settings file? (Default is maybe 2 weeks...?)
 
-        days_difference = 3  # currently hardcoding time interval of 3 days
+        days_difference = 7  # currently hardcoding time interval of 3 days
         seconds_difference = days_difference * SECONDS_PER_DAY
         compare_date = time.strftime(
             sparql_midnight_dateTime_format, time.gmtime(time.time() - seconds_difference))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]