Error processing SSI file
Error processing SSI file

Home » Development Area » DigiGuide Listings Grabber » API Index » Class: ListingsProcessor » addProgramme Method

Class ListingsProcessor : addProgramme Method


void addProgramme( CustomProgramme programme )

Summary

Add a scheduled programme.


Remarks

Programme durations are not entirely necessary, its best to have them, but if they arent available then the system will calculate programme durations by taking the difference between the programmes.

Note: The last programme for a channel can't be automatically calculated so it is deleted.

Also note that if any programme for a channel has no duration then the whole list is automatically calculated overwriting any possible durations you may have put in.


Parameters

ParameterDescription
CustomProgramme programme The programme you wish to add


Examples

var p = new CustomProgramme;
p.name = "My First Programme ";
p.startUTC = new Date;
p.duration = 60;
p.description = "My first description";
lp.addProgramme( p );


See Also

  • CustomProgramme


    Requirements

    Build Build 1

    (Last updated: October 12, 2007 16:23:24)

    Error processing SSI file