rpitv/glimpse-graphics

Automatic School Rendering

Closed this issue · 1 comments

Currently there's no system in our graphics that auto picks schools. To remedy this, we will create a json file containing all the universities with the appropriate data.

Creating a json file of all the universities is a lot, and it especially sucks when some of the schools we have on a list might not be a school we play against. Instead, we'll opt for a "If it exists, use it, if it doesn't add it". This will use both a database and local storage in the case that we lack an internet connection. We'll be able to save the school name along with its data, whether it'd be their primary colors, secondary colors, or team name. That way, we'd only have to look up for a new school's information once, and then permanently save their information into a) the database, and b) the local storage.

The other reason we are storing this in both local storage and a database is to sync across the two devices that we'll be using to broadcast sports.