Close

Added Loop Channel Support

A project log for FieldStation42 - Nostalgic TV Simulator

Over-the-air and cable broadcast nostalgia machine!

shane-c-masonShane C Mason 2 days ago0 Comments

This allows for simulating channels that play a set of videos on a loop, like a community bulletin channel.

Note: This feature is highly experimental and is only included in the main branch for testing. Use at your own risk.

To get started, copy loop.json from confs/examples/ into confs

cp confs/examples/loop.json confs/

The example configuration provides the minimum configuration to enable the guide channel with the default view.

{"station_conf" : {    
   "network_name" : "MyLoop",    
   "network_type" : "loop",    
   "channel_number": 2,    
   "runtime_dir" : "runtime/loop",
   "content_dir" : "catalog/loop", 
   "catalog_path": "catalog/loop.bin",
   "schedule_path": "runtime/loop_schedule.bin"
}}

About content_dir: Files in this directory will be read into the catalog when you run station_42.py and will be played in alpha-numeric order.

Limitations


Currently, subfolders and temporal hints are not supported. Since this specific channel type is meant to work with shorter content, it has not yet been tested with content over an hour in length and is not likely to work.

Discussions