NAME

Video::PlaybackMachine::Config -- Configuration for Video::PlaybackMachine

DESCRIPTION

Provides configuration values for Video::PlaybackMachine. Inherits from AppConfig.

METHODS

CLASS METHODS

config()

Puts together a config object from the configuration file and command-line parameters and returns it.

OBJECT METHODS

init_logging()

Initializes Log::Log4perl based on the 'log_config' parameter.

get_fill()

Creates the Video::PlaybackMachine::Filler object based on the configuration and returns it.

CONFIGURATION PARAMETERS

database

Name of the database. Defaults to 'playback_machine'

schedule

String.

Name of the schedule this instance is running.

stills

String.

music

String.

fill

List of strings.

restart_interval

Integer.

Number of seconds between automated restarts.

String.

Filename of logo.

start

String.

offset

Integer.

Number of seconds to offset from current time.

Default: 0

skip_tolerance

Maximum number of seconds to allow skipping of a movie without considering it unplayable and going to idle.

Default: 15

max_slides

Integer.

Maximum number of slides to play in a row.

Default: 5

player_verbose

Integer.

Default: 0

stderr_log

String.

Filename to which we'll redirect stderr in daemon mode.

log_config

String.

Configuration text block for Log::Log4perl.

x_display

String.

The value of the X display to be used by X11::FullScreen.

Default: :0.0

time_tick

Integer.

The scheduler will update the 'clock' in the process name (visible in ps display) every time_tick seconds.

Default: 5