mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Fix fix
This commit is contained in:
@@ -75,7 +75,7 @@ SEND_MP3 = "/update_mp3"
|
||||
GET_PLAYLIST = "/get_music"
|
||||
LIBRARIAN_SERVICE_ADDRESS = "http://192.168.1.191:5001"
|
||||
SEND_QUERY = "/query"
|
||||
TIME_BETWEEN_CALLS = 10000
|
||||
TIME_BETWEEN_CALLS = 100000
|
||||
LAST_SPONTANEOUS_CALL = datetime.now()
|
||||
|
||||
# *=========================================== Platform Specific Predefines
|
||||
@@ -671,7 +671,7 @@ async def check_data():
|
||||
file_data = json.load(file_music_memory)
|
||||
new_data = []
|
||||
new_data.append(file_data[0])
|
||||
new_data.extend(file_data[-20])
|
||||
new_data.extend(file_data[:-20])
|
||||
file_music_memory.truncate(0)
|
||||
file_music_memory.seek(0)
|
||||
# convert back to json.
|
||||
|
||||
Reference in New Issue
Block a user