iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.66k stars 156 forks source link

Update channel config #2376

Open davidclaeysquinones opened 1 month ago

davidclaeysquinones commented 1 month ago

The SBS9 channel renamed as Viaplay TV as result from some corporate merger. I tried to get the icon to parse but I'm not seeing how the icon is being parsed.

I've tried to change the following in the config.js

function parseIcon($item) {
  let icon =  $item('.program__thumbnail').data('src');

  if(icon === null || icon == undefined)
  {
    icon = $item('img').data('src');
  }

  return icon;
}

I've tested this code outside and it seemed to work however the icon is not parsed.

PopeyeTheSai10r commented 3 weeks ago

ViaplayTv.nl needs to be added to Database.

davidclaeysquinones commented 3 weeks ago

Thanks for your help. I have made tihs PR in order to update the database.