when running the latest nightly build I get the follow error:
cannot look up 'Crime & Investigation' in map at /usr/bin/tv_grab_za line 395.
This occurs on various channels. The problem is due to DSTV calling the channels different names.
Editing tv_grab_za and inserting the below and recompiling solves the problem:
my %dstvchannelfixups = (
'CNN International' => 'CNN',
'SABC 1' => 'SABC1',
'SABC 2' => 'SABC2',
'SABC 3' => 'SABC3',
'MagicWorld' => 'Magic World',
'Crime & Investigation Network' => 'Crime & Investigation',
'E! Entertainment Television' => 'E',
'Deutsche Welle' => 'Deutchse Welle',
'SuperSport MaXimo 1' => 'SuperSport Maximo',
'SONY' => 'Sony Entertainment');
With the above error can the code be changed so that it skips the incorrectly named instead if dying with a error? (eg Soweto TV is in the channel list but not on the DSTV site so the application dies when it tries to pull data for that channel. I know I could comment it out but it would be better if the error was handled.
Log in to post a comment.