\n
\n \n\n \n \n \n \n \n \n \n \n \n \n")
# NOW PLAYING
@@ -148,7 +148,6 @@ def nowplaying(consolelist):
playing = False
else:
playing = True
- state = "completed"
except:
try:
if thegame["beaten"]:
@@ -156,15 +155,10 @@ def nowplaying(consolelist):
playing = False
else:
playing = True
- state = "beaten"
except:
playing = True
- if thegame["id"] in endlessgames:
- state = "endless"
- else:
- state = "playing"
if playing:
- playingnow.append({"console":thegame["console"],"name":thegame["name"],"date":thegame["gameplay"],"state":state,"recent":thegame["recent"],"gameplay":thegame["gameplay"],"id":thegame["id"]})
+ playingnow.append(thegame)
except:
pass
@@ -177,7 +171,7 @@ nowplaying(ps3list)
nowplaying(ps5list)
nowplaying(xbox360list)
-playingnow = sorted(playingnow,key=lambda d: d["date"],reverse=True)
+playingnow = sorted(playingnow,key=lambda d: d["lastupdate"],reverse=True)
decay = False
@@ -430,7 +424,7 @@ writeindex.write("
\n