Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LWATV

Software for displaying LWATV images and movies outside of a web browser.

Example LWATV GUI window

lwaTV3.py

Python script for displaying a GUI showing the latest LWATV image. The GUI consists of four parts:

  1. The latest LWATV image,
  2. a picture of the LWA site,
  3. an optional pre-recorded LWATV movie for previous days, and
  4. a text description describing what sources are in the images and movies.

This script uses Tkinter (from the Python standard library), the Python Imaging Library (PIL/Pillow, including the ImageTk module), and GStreamer 1.0 for generating the GUI and displaying the images.

On Debian-based systems (including Raspberry Pi OS) ImageTk ships in a separate package from the rest of PIL and must be installed explicitly:

sudo apt install python3-pil.imagetk

updateMovies.py

Script to update the on-disk cache of pre-recorded LWATV movies.

images

Directory containing stock images used by lwaTV3.py for when images cannot be downloaded.

info

Directory containing the text image descriptions used by lwaTV3.py.

movies

Directory containing the pre-recorded LWATV movies. This directory needs to be populated by a call to updateMovies.py.

RaspberryPi

Information about running LWATV on a Raspberry Pi to build a stand alone kiosk.

Channels

LWATV is broadcast on three channels, one per station: channel 1 (LWA1, the default), channel 2 (LWA-SV), and channel 4 (LWA-NA). Both scripts pick a channel the same way -- no flag for channel 1, -2 for channel 2, or -4 for channel 4.

updateMovies.py caches the movies for the selected channel and records the choice in movies/channel. lwaTV3.py shows that channel's live image and description; instead of repeating the flag you can run it with -a/--auto-select to follow whatever channel updateMovies.py last downloaded. If the GUI and the cached movies disagree, lwaTV3.py still shows the live image but hides the mismatched movie panel.

Other LWA Education and Public Outreach Resources

About

Software for watching LWATV at home.

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages