-
Notifications
You must be signed in to change notification settings - Fork 29
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
Getting to rotate #60
Comments
try changing |
@alexanderthebadatcoding WOULD HELP IF I Wasn't and idiot. I fixed that and also the PHL for eagles is PHI (SMACKS HEAD).. However now the eagles upcoming game comes up but I also have commanders, giants and dallas as preferred. But not rotating. |
It Looks like whatever I put in Preferred team as the last team (example "team": ["PHI", "LAR", "DAL", "NYG"]) will populate only. Like in this example is NYG.. If i remove NYG just Dallas populates.. So wierd. |
I don't know what I did but it is rotating now. { |
I think there is a bug in the code, there's a post saying that the while preferred_team_live settings can cause an Issue. I think what is happening is that the code checks if a preferred team is playing, but then shows the first result returned from the API: http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard, which for this week is Dallas vs Seattle. thats what my guess is. I just made sure to have rotation "enabled": true, and That way It will just always rotate the games shown. |
Now issue is the board with randomly turn off after a period of time. I have to log back in the pi (SSH) and re-enter the code. |
You could try to set a Supervisor task to run the script continuously, and if it crashes then restart it.
More information here: https://serversforhackers.com/c/monitoring-processes-with-supervisord Also I created a script that switches between the NFL and NBA scoreboard etc. and then the led.py script has:
However for this to work I did have to edit the renderer files to change the paths for the logos. But maybe there is a way around that. |
@mikemountain or anyone
Where is the setting to rotate the game. I currently have this in the config.json
{
"preferred": {
"teams": ["PHI", "DAL", "WASH", "NYG"]
},
"rotation": {
"enabled": true,
"only_preferred": false,
"rates": {
"live": 15.0,
"final": 10.0,
"pregame": 10.0
},
"while_preferred_team_live": {
"enabled": false,
"during_halftime": false
}
},
"scrolling_speed": 2,
"use_helmet_logos": false,
"debug": "true"
}
BUT I CANT GET THE GAMES TO ROTATE LIKE THEY NORMALLY DO.
The text was updated successfully, but these errors were encountered: