-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showcase/Proposal: Major refactor #335
Conversation
There are a couple different ways I can think of attacking this:
|
on my 64x128 I get a flashing ? on strikeouts. Assuming this means I'm missing some font install for a backwards K? Also the mlb logo for 64x128 is missing from /assets |
Some font size changes and position changes for 128x6 |
Care to describe your changes? I only use 64x32 personally so the other sizes were mostly quickly eyeballed by me |
|
FYI, installs and runs just fine on 64bit Raspberry Pi OS. |
FYI, when running as a service add time-sync.target as a want and after to ensure that NTP syncs and gets a date before mlb-led-scoreboard starts. in /lib/systemd/system/mlb-led-scoreboard.service make sure you have:
|
Update the readme and wiki to include python 3 updates and I think we can merge. I’d really like a 32x32 version as well so we don’t deprecate those that bought in with that config. |
It works on 32x, it just doesn’t display the new batter/pitcher I can update the readme later |
@twfarley I can't edit the wiki, but I did fix the README |
Is the Network/Channel the game is on in the feed? If so anyway we can put it on the pregame screen? Especially with all the exclusive deals now (Espn, Amazon Prime, AppleTV+, Peacock).. its getting a little confusing. |
I can’t find it in the data feed |
I just looked at todays NYY-BOS feed and while its not in the live feed below: It does look like maybe its here: |
Huh, I will look into it. I guess the most useful thing is only showing if it's a national broadcast? |
It would be much easier if the information was available from the game endpoint rather than the schedule one |
Agreed.. I also don't understand this hydrate option (maybe it can be used on the game url as well?)... I found it here: |
I was able to find a (kinda old) version of the MLB documentation and it seems like that isn’t on the game endpoint |
|
I’ve also noticed it being a few pitches ahead of the feed, though the Gameday app often is as well. The technical details of how you’d do such a delay get complicated pretty quickly |
I decided to build one of these last week and couldn't leave well enough alone. I didn't intend to contribute back any changes, but I ended up doing a lot of work which may be useful for the broader community using this. In retrospect, a lot of what I did overlaps pretty strongly with requests already present in this repo - it seems that if I wanted a feature, chances are someone else did as well.
For the moment, I'm treating this as more of a showcase PR -- merging would require a decent bit more work and buy-in on some of my changes, which may not all be popular.
Major code changes:
This last change in particular should make the program more robust to future MLB api changes, as the only changes would be needed in these classes rather than every place that depends on a game's data etc.
Features and minor changes:
rgbmatrix
is not installedlogging
module for logging, rather than the ad-hoc method used before--led-pwm-dither-bits
TODO
If this was going to be merged, there are a lot of further tweaks needed. The few that come to mind immediately: