Package flumotion :: Package component :: Package consumers :: Package disker :: Module disker
[hide private]

Module disker

source code


Version: $Rev$

Classes [hide private]
  Index
Creates an index of keyframes for a file, than can be used later for seeking in non indexed formats or whithout parsing the headers.
  DiskerMedium
I am a component-side medium for a FeedComponent to interface with the manager-side ComponentAvatar.
  Disker
Functions [hide private]
 
_openFile(loggable, component, location, mode) source code
Variables [hide private]
  DISKPOLL_FREQ = 60
  FILELIST_SIZE = 100
Disker has a property 'ical-schedule'.
  __package__ = 'flumotion.component.consumers.disker'
Variables Details [hide private]

FILELIST_SIZE

Disker has a property 'ical-schedule'. This allows an ical file to be specified in the config and have recordings scheduled based on events. This file will be monitored for changes and events reloaded if this happens.

The filename of a recording started from an ical file will be produced via passing the ical event summary through strftime, so that an archive can encode the date and time that it was begun.

The time that will be given to strftime will be given in the timezone of the ical event. In practice this will either be UTC or the local time of the machine running the disker, as the ical scheduler does not understand arbitrary timezones.

Value:
100