we have fixed the date stamp now

This commit is contained in:
2020-10-14 12:25:52 +02:00
parent 6c4eaaa764
commit 99c1579137
3 changed files with 18 additions and 29 deletions
+8 -3
View File
@@ -24,7 +24,12 @@ ignore_tags = [
"XLastScheduled", "EAN/UPC", "Comment", "Record Date", "XEndDate", "XRestrictions"
]
query_params = {}
host = 'http://localhost:8082'
# host = 'https://tracks.intergalactic.fm'
query_params = {
# "secret": "secret"
}
if len(sys.argv) <= 1:
sys.exit("no argument passed")
@@ -60,7 +65,7 @@ for item in ape.tag.frames:
# print(Y,M,D,h,m,s)
time_list.append("{}:{}:{}".format(h, m, s))
date_list.append("{}/{}/{}".format(M, D, Y))
date_list.append("{}-{}-{}".format(Y, M, D))
elif key == "Other":
query_params["country"] = value.decode()
elif key == "Year":
@@ -88,7 +93,7 @@ while i < len(time_list):
# print(query_params)
response = requests.get(
'http://localhost:8082/spl/1',
'{}/spl/1'.format(host),
params=query_params
)
# print(response)