Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions plugin.video.formula1/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.formula1" name="Formula 1" version="2.0.4" provider-name="jaylinski">
<addon id="plugin.video.formula1" name="Formula 1" version="2.0.5" provider-name="jaylinski">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.29.0"/>
Expand All @@ -16,7 +16,10 @@
<forum>https://forum.kodi.tv/showthread.php?tid=352138</forum>
<website>https://www.formula1.com</website>
<source>https://github.com/jaylinski/kodi-addon-formula1</source>
<news>2.0.4 (2025-04-05)
<news>2.0.5 (2025-06-17)
Fixed error when selecting the "Videos" folder

2.0.4 (2025-04-05)
Fixed error when selecting the "Race results"-item in the "Standings"-section

2.0.3 (2024-12-22)
Expand Down
2 changes: 2 additions & 0 deletions plugin.video.formula1/resources/lib/f1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Api:
api_key = "RNoNDmjJGUFSu1Re9GfMVzJfDClaUV47" # Extracted from public Formula 1 Android App
api_limit = 10
api_date_format = "%Y-%m-%dT%H:%M:%S"
api_locale = "en"

# API endpoints
api_path_editorial = "/v1/editorial-assemblies/videos/2BiKQUC040cmuysoQsgwcK"
Expand Down Expand Up @@ -89,6 +90,7 @@ def _do_api_request(self, path, params):
headers = {
"Accept-Encoding": "gzip",
"apikey": self.api_key,
"locale": self.api_locale,
}
path = self.api_base_url + path

Expand Down