BrightDV / BoxBox

Unofficial Android and web app for Formula 1 and Formula E fans!
https://codeberg.org/BrightDV/BoxBox
GNU General Public License v3.0
95 stars 11 forks source link

Please add also e-prix (formula E) #152

Closed serrq closed 3 weeks ago

serrq commented 2 months ago

https://www.fiaformulae.com/en

https://www.youtube.com/channel/UC-DuRqsBQOEk_5o1q4Ze-Fg

BrightDV commented 2 months ago

I'm sorry, but I don't think I will add this feature soon. I searched a bit but didn't find any database for the results nor the articles. I could do a scraper, but scraping the whole website to render it in the app seems a bit useless to me (at least compared to the work that has to be done). However, when the app will be more stable, and with a full support of F1, then I may consider this. The app could become a hub for different motorsport championships (F1, Formula E, F2, etc.).

BrightDV commented 1 month ago

After some afterthoughts, it seems more doable! I already found routes to fetch the home articles list, the article's content, the standings and the schedule!

serrq commented 1 month ago

Thanks!

BrightDV commented 1 month ago

It is moving pretty quick! Now you can read the news (with the custom video player, no account needed), see the driver/team standings, see the calendar and see the free practice/combined qualifying/race results. Also, there is a dialog in the settings to select the championship you want to follow. Moreover, I will make the app-cache championship-specific, so you will be able to save offline both F1 and FE standings/calendars...

serrq commented 1 month ago

Off topic. Is there a way to watch a GP only through car avatars? Just pawns on the track?

BrightDV commented 1 month ago

Do you mean the cars on a map? Formula 1 or Formula E?

serrq commented 4 weeks ago

Yes. Both.

Live, I mean

BrightDV commented 4 weeks ago

I don't know any for Formula E as I don't follow the races. However, for Formula 1, there is f1-dash, which has a dashboard with a track map (at the bottom on mobile, among a lot of features). Also, it is the unofficial webview for live sesssions since the latest version.

BrightDV commented 4 weeks ago

I just found this for Formula E, it is the official webview: https://livetiming-formula-e.alkamelsystems.com/fiaformulae (map, timetable, radios...) If I find an event tracker for FE, I will add it to the app as the live session webview.

BrightDV commented 3 weeks ago

So I should have added everything now, I will use the app for some days to try to find any bug. The above link is added as the only webview available. Also, I have added a button to the settings to update the championship id; it should be clicked once at the start of each new season; everything else should work fine without yearly update!

serrq commented 3 weeks ago

Excellent!

BrightDV commented 3 weeks ago

So I merged this, it will be available alongside the downloads in the next update (which should be around friday or saturday). The only limitation is the downloads from Formula E: the videos are only provided as HLS streams which is not supported by the downloader. Also the app mix scraped and api-requested data for the article reader, so it is not available there neither.