Fetching schedule data for each service is done during the grabbing process. The grabber supports various method for fetching data files. These files can be on a web-server, ftp-server or local filesystem.
The grabber is fetching files from the configured source to target directory. This target directory is different for
each service. The directory is named by the SID of the service and located inside
This directory in created on demand and handled by cherryEPG.
The configuration of the grabber is done by the scheme file. The columns relevant for configuring the grabber are URL and Update.
Here we configure the source for data fetching.
/var/lib/cherryepg/stock/and are copied from this location. For fetching the files a “smart copy” tool is used (rsync). The typical Linux wildcards can be used.
The process of grabbing is started on regular basis. The intensity is depending on the data source. With the parameter
in the Update field you can select the update interval. Various update intervals are defined in the cherryEPG
Possible values are:
The grabber is invoked from command-line with the cherryTool script.
When grabbing by target the ingester is automatically started.
Grabbing and ingesting of schedule files by target is started by specifying the target e.g. daily
cherryTool -G daily
or to grab and ingest schedule files for all services by specifying all
cherryTool -G all
It also possible to grab schedule files for individual services by specifying the service SID. In this case the ingester is not run.
cherryTool -g 42
but is is possible to combine grabbing and ingesting
cherryTool -gi 42
The files inside a service directory can be deleted with
cherryTool -d 42
It is also possible to clean the whole ingest directory. All directories inside