beralt / horepg

A simple translator between the Horizion JSON format and the XMLTV format
MIT License
10 stars 10 forks source link

Retrieving EPG fails due to 404 error on 'web-api-salt.horizon.tv' #27

Closed jbogers closed 2 years ago

jbogers commented 2 years ago

The server web-api-salt.horizon.tv does not work anymore and/or does not support the API used by horepg. The other server, web-api-pepper.horizon.tv, still functions but because the return code the 'salt' server sends (404) is unexpected, horepg crashes.

To fix this, return code 404 should also be used to switch from server, just like code 403 is.