Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update channel config #2376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidclaeysquinones
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant