This commit is contained in:
Justin Emter
2017-08-08 21:08:18 -07:00
parent e72893db96
commit a7e2e6cc53

View File

@@ -1112,7 +1112,9 @@ if __name__ == '__main__':
if item_timeTwo == closest_media and prevItem != None: if item_timeTwo == closest_media and prevItem != None:
elapsed_timeTwo = item_timeTwo - now prevItem_time = datetime.datetime.strptime(''.join(str(prevItem[8])), "%I:%M:%S %p")
elapsed_timeTwo = prevItem_time - now
offsetTwo = int(abs(elapsed_timeTwo.total_seconds() * 1000)) offsetTwo = int(abs(elapsed_timeTwo.total_seconds() * 1000))