Skip to content

Commit 6fd020f

Browse files
authored
[plugin.video.formula1] 2.0.5 (#4672)
1 parent de2c950 commit 6fd020f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

plugin.video.formula1/addon.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="plugin.video.formula1" name="Formula 1" version="2.0.4" provider-name="jaylinski">
2+
<addon id="plugin.video.formula1" name="Formula 1" version="2.0.5" provider-name="jaylinski">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0"/>
55
<import addon="script.module.requests" version="2.29.0"/>
@@ -16,7 +16,10 @@
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.4 (2025-04-05)
19+
<news>2.0.5 (2025-06-17)
20+
Fixed error when selecting the "Videos" folder
21+
22+
2.0.4 (2025-04-05)
2023
Fixed error when selecting the "Race results"-item in the "Standings"-section
2124

2225
2.0.3 (2024-12-22)

plugin.video.formula1/resources/lib/f1/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Api:
2121
api_key = "RNoNDmjJGUFSu1Re9GfMVzJfDClaUV47" # Extracted from public Formula 1 Android App
2222
api_limit = 10
2323
api_date_format = "%Y-%m-%dT%H:%M:%S"
24+
api_locale = "en"
2425

2526
# API endpoints
2627
api_path_editorial = "/v1/editorial-assemblies/videos/2BiKQUC040cmuysoQsgwcK"
@@ -89,6 +90,7 @@ def _do_api_request(self, path, params):
8990
headers = {
9091
"Accept-Encoding": "gzip",
9192
"apikey": self.api_key,
93+
"locale": self.api_locale,
9294
}
9395
path = self.api_base_url + path
9496

0 commit comments

Comments
 (0)