h***@gmail.com
2013-12-10 07:44:52 UTC
Hmm, this section of the wiki is confusing me :s
--------
Writing a listchannels_sub
The listchannels_sub shall return an xml-string listing all channels that the grabber can download data for given the current configuration.
--------
2 questions:
1) Does that mean that only those channels which will be downloaded when the grabber is *run* will be output (i.e. the grabber should not list ones which were *not* selected during configuration)?
2) It says "given the current configuration" - so does this mean I should list channels *only* for the currently selected tv platform/region (i.e. the ones they selected during --configure)? If so how do they get to see what's in the other lineups, without doing a --configure for each and every one of them?
3) This option can only be run *after* --configure has been run (since $conf is passed as the first param) - is that right? I thought the idea was so that people could see what channels *could be* available (i.e. pre configuration)?
Oops that was 3 questions :)
I suppose a more generic question encompassing the above is: what is the --list-channels option used for?
Geoff
--------
Writing a listchannels_sub
The listchannels_sub shall return an xml-string listing all channels that the grabber can download data for given the current configuration.
--------
2 questions:
1) Does that mean that only those channels which will be downloaded when the grabber is *run* will be output (i.e. the grabber should not list ones which were *not* selected during configuration)?
2) It says "given the current configuration" - so does this mean I should list channels *only* for the currently selected tv platform/region (i.e. the ones they selected during --configure)? If so how do they get to see what's in the other lineups, without doing a --configure for each and every one of them?
3) This option can only be run *after* --configure has been run (since $conf is passed as the first param) - is that right? I thought the idea was so that people could see what channels *could be* available (i.e. pre configuration)?
Oops that was 3 questions :)
I suppose a more generic question encompassing the above is: what is the --list-channels option used for?
Geoff