World Cup Scoreboard - new version

Moderator: leecollings

elmortero
Posts: 247
Joined: Sunday 29 November 2015 20:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9639
Location: Spain
Contact:

Re: World Cup Scoreboard - new version

Post by elmortero »

MikeF wrote: Friday 22 June 2018 19:22 There are problems with the feed today. The matches are in the wrong order, with the wrong times, and the 3rd match (which appears second) is showing a status of 'pending correction' - which the dzVents script doesn't recognise.
Haven't had any issues.
About the wrong order: you can add this to the url to always show the results ordered by time in ascending order: ?by_date=asc

for the 'pending correction':
You could consider that game as finished and add the condition or if status == 'pending correction' to the line if status == 'completed' so it is like this:
if status == 'completed' or status == 'pending correction' then

Should be ok then
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests