Skip to content

stephenyeargin/trmnl-pbs-kids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBS Kids for TRMNL

Build and Deploy

promo

Screenshots

screenshot

Development

Updating Show Options

The show options in src/settings.yml can be automatically updated using the included script:

./bin/update_shows

This script:

  1. Fetches the latest show data from https://producerplayer.services.pbskids.org/show-tracking
  2. Creates a backup of the current settings.yml file
  3. Updates the pbs_kids_show_id field options with the latest shows as key-value pairs (title: slug)
  4. Sorts shows alphabetically by title
  5. Saves the updated settings

The script automatically creates a timestamped backup of the original settings file before making changes. Backups are stored in the same directory as the settings file with the format settings.yml.backup.YYYYMMDD_HHMMSS.

Requirements:

  • Ruby (built-in libraries only)
  • Internet connection to fetch data from PBS Kids API

About

🚸 PBS Kids for TRMNL

Topics

Resources

License

Stars

Watchers

Forks