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.8k stars 199 forks source link

Pickx.be provider is not working #2322

Closed davidclaeysquinones closed 7 months ago

davidclaeysquinones commented 8 months ago

Describe your issue

When using sites from the Pickx.be the following message is returned : "Unterminated string in JSON at position 11"

My channels.xml is the following :

<?xml version="1.0" encoding="UTF-8"?>
<channels>
  <channel site="pickx.be" lang="nl" xmltv_id="Een.be" site_id="UID50208">VRT 1 HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="Canvas.be" site_id="UID50306">VRT Canvas HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="VTM.be" site_id="UID50297">VTM HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="VTM2.be" site_id="UID0039">VTM 2 HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="VTM3.be" site_id="UID0155">VTM 3 HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="VTM4.be" site_id="UID2073">VTM 4 HD</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="VTMGold.be" site_id="UID0313">VTM Gold</channel>
  <channel site="pickx.be" lang="nl" xmltv_id="FocusWTV.be" site_id="UID2330">Focus TV HD</channel>
</channels>

I've also tried grabbing all the channels from the provider without succes.

Sicilykill commented 8 months ago

2323 should resolve this. If you need a quick fix for now, update the url in your existing file pickx.be.config.js to this:

https://px-epg.azureedge.net/airings/11706885993201v.4.2/${date.format('YYYY-MM-DD')}/channel/${channel.site_id}?timezone=Europe%2FBrussels

The PR mentioned above should ensure we don't see this in the future as it will fetch the api version and construct the url that way.

PopeyeTheSai10r commented 7 months ago

Fixed by #2323