Text gets stuck when scrolling across the screen
oskstr opened this issue · 4 comments
Something weird is happening with the scrolling text on META TV. Specifically the upcoming metro times.
I'm not sure what it causing this issue but it starts the same time every time:
- First you have
14 Fruängen
with some normal times (in minutes). This work as expected. - Then you have
14 Fruängen 15:54
. This also seems to work normally. - After that you have
14 Fruängen 15:59
. By the time the9
enters the screen you get the odd behaviour.
There might some problem with how times in hours and minutes are handled.
So it only occurs when there is a 9 in the number? Does it happen every time?
Otherwise I'd guess it has something to do with the display drivers.
Could you perhaps try to restart the computer? The uptime on that thing should be monsterous.
Appears that they updated the api, it no longer only returns the next 2-3 depatures.
No, it is still happening but for different times. Don't really know why but it seems a lot of times are given in hours and minutes, instead of just minutes left until next departure. Just the first two are using the normal format. The issue is visible on http://metatv.datasektionen.se/ .
rip uptime :(
Fixed it by setting it to only show the next 3 departures.
stats
metro
bus
roslagsbanan
Why you sometimes see minutes and some times see the other format is due to how the data is returned from SL. Any PRs/changes are welcome, as one can see it is quite hackily written, the only recent thing it had was a nice style update recently from someone. :)