Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Configuration

howdycloud edited this page Sep 29, 2012 · 6 revisions

Configuration files must be valid YAML files.

ipl-playlist attempts to create a VLC-compatible XSPF playlist by scheduling videos that meet the given start and end times.

Configuration Schema


Scheduling

During scheduling, ipl-playlist uses FFmpeg to determine the length of an item's running time. It will alternate between scheduling main and extras items. Otherwise, it will use the next item that fits the available time.

ipl-playlist will continue to try and schedule items until the playlist ends within 1 minute of the specified end time. It will hang if there is at least one item that is less than or equal to 1 minute to use for padding.

ipl-playlist will group together files that match an item's filepaths. For example, in the example item below col_alt_1.flv and col_alt_2.flv will be played together consecutively.

 - title: Complexity vs Team ALT
   series: IPTL Amateur Season 1
   filepaths:
    - /path/to/col_alt_1.flv
    - /path/to/col_alt_2.flv

Notes

  • YAML is whitespace-sensitive
  • main config must have at least one item with an existing file
  • extras config must have at least one item with an existing file
  • there should be at least one main or extra item(s) that is <= 1 minute in length
  • items will not be partially scheduled

Examples