v10
Version 10: The Big Fix Update
Here's what's changed (in order of importance):
- Vuoros (internal train service numbers) are now scraped from the MQTT data (I hadn't realised this was possible and I don't think it's intentional). This also makes the program significantly more immune to uudelleenvuorotus (where train numbers are swapped during the day because of disruption) and random impromptu timetable changes.
- Alerts and disruptions currently valid on the metro are displayed at the bottom of the table.
- For M100s and M200s, the leading unit is shown preceded by a caret (^).
- Special markers have been added to certain units to show special features of certain trains (e.g. ad wraps).
- The algorithm for connecting M100s and M200s which are running in multiple has been made more robust to completely eliminate false positives.
- The file structure has changed significantly for ease of use and the readme has also been completely rewritten to aid understanding and ease of use.
- The core code has been cleaned up significantly (especially the first portion) and comments have been added to ease readability and maintainability.
- M2A handling has been updated to deal with the new timetables (7.1.2025-4.5.2025).
- An automatic facility has been provided to tell the user if all traffic has been stopped. This relies on every train being in a platform.
- Wrong-direction running (yhden raiteen ajo tai väärän raiteen ajo) is now reflected in the program, albeit untested (because this requires significant real-world disruption to test). It's not perfect, and there are no ETAs, but it works (for now).
- Extra pieces of vesitigial (commented out) code have been included (lines 77 & 193-196) to allow one to crudely change the destinations of trains, e.g. during very significant disruption when a section of line is closed.
- Trains in the turning section of KPG (Kampin kääntöraide) will now show up. Trains in the holding tracks, however, will not.
- Various other small things have been fixed and umpteen bugs have been...erm...debugged, making the code more robust and featureful.
- The code can now run reliably for well over half an hour without any issues.
Full Changelog: v8.1...v10