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 )


Add a scheduled programme.


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.


CustomProgramme programme The programme you wish to add


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

See Also

  • CustomProgramme


    Build Build 1

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

    Error processing SSI file