Eval-Script

Run the Eval Script Steps whose script-name property matches the eval-script argument supplied to the es() filter, i.e. evaluate the targeted Eval Script. Steps execute in the order defined by sequence_id, until a Custom Evaluator returns false, which terminates script evaluation.

Support

Protocol

HLS DASH
yes yes

Keys

name key
eval-script es()

Values

The values supplied to the eval-script filter must match the name of an existing eval-script. Names are case-sensistive.

Usage Example

Single value filter:

// Run "no-spanish-in-canada" eval-script
$ http http://bakery.dev.vtg.paramount.tech/es(no-spanish-in-canada)/star_trek_discovery/S01/E01.m3u8

Multi value filter:

Mutli value filters are , with no space in between // Run “no-spanish-in-canada” and “no-hockey-in-mexico” eval-scripts $ http http://bakery.dev.vtg.paramount.tech/l(no-spanish-in-canada,no-hockey-in-mexico)/hockey/all-stars/main.m3u8