File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <addon id =" plugin.video.formula1" name =" Formula 1" version =" 2.0.6 " provider-name =" jaylinski" >
2+ <addon id =" plugin.video.formula1" name =" Formula 1" version =" 2.0.7 " provider-name =" jaylinski" >
33 <requires >
44 <import addon =" xbmc.python" version =" 3.0.0" />
55 <import addon =" script.module.requests" version =" 2.29.0" />
1616 <forum >https://forum.kodi.tv/showthread.php?tid=352138</forum >
1717 <website >https://www.formula1.com</website >
1818 <source >https://github.com/jaylinski/kodi-addon-formula1</source >
19- <news >2.0.6 (2025-07-20)
19+ <news >2.0.7 (2025-10-26)
20+ Fixed sorting of driver standings
21+
22+ 2.0.6 (2025-07-20)
2023Updated player API key
2124
22252.0.5 (2025-06-17)
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ def _map_json_to_collection(self, json_obj):
134134 items = json_obj .get ("videos" )
135135 elif "drivers" in json_obj :
136136 items = json_obj .get ("drivers" )
137+ items .sort (key = lambda driver_obj : int (driver_obj .get ("positionNumber" , 99 )))
137138 item_type = "drivers"
138139 elif "constructors" in json_obj :
139140 items = json_obj .get ("constructors" )
You can’t perform that action at this time.
0 commit comments