try to explain mlbgames importance
This commit is contained in:
parent
5197766815
commit
318b048090
|
@ -3,13 +3,15 @@ This repo contains some scripts to help automate posting live MLB game updates
|
||||||
to Mastodon.
|
to Mastodon.
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
* `mlbgames.sh`, `mlbstartpost.sh`, and `mlbfinalpost.sh` are used to make a
|
||||||
|
post at the start and end of games. `mlbgames.sh` populates the `games` table
|
||||||
|
of a SQLite database, which the play and highlight scripts read when running,
|
||||||
|
so you'll need to run `mlbgames.sh` if you want to use the other scripts.
|
||||||
* `mlbplaysave.sh` and `mlbplaypost.sh` are used in tandem to post scoring
|
* `mlbplaysave.sh` and `mlbplaypost.sh` are used in tandem to post scoring
|
||||||
updates. The former saves new plays to a SQLite database, and the latter
|
updates. The former saves new plays to a SQLite database, and the latter
|
||||||
reads the database and posts any scoring plays that have not been posted yet.
|
reads the database and posts any scoring plays that have not been posted yet.
|
||||||
* `mlbhighlightsave.sh` and `mlbhighlightpost.sh` work similarly to the
|
* `mlbhighlightsave.sh` and `mlbhighlightpost.sh` work similarly to the
|
||||||
previous pair, but post video highlights instead.
|
previous pair, but post video highlights instead.
|
||||||
* `mlbgames.sh`, `mlbstartpost.sh`, and `mlbfinalpost.sh` are used to make a
|
|
||||||
post at the start and end of games.
|
|
||||||
* `posthighlights.sql`, `postplays.sql`, `poststart.sql`, and `postfinal.sql`
|
* `posthighlights.sql`, `postplays.sql`, `poststart.sql`, and `postfinal.sql`
|
||||||
are used by the posting scripts to select unposted data and then mark that
|
are used by the posting scripts to select unposted data and then mark that
|
||||||
data as posted.
|
data as posted.
|
||||||
|
|
Loading…
Reference in New Issue