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

tv_grab_fi telkku.com source some channels not working #39

Closed
riku2015 opened this issue Dec 14, 2018 · 3 comments
Closed

tv_grab_fi telkku.com source some channels not working #39

riku2015 opened this issue Dec 14, 2018 · 3 comments
Assignees
Labels

Comments

@riku2015
Copy link

riku2015 commented Dec 14, 2018

there is different sources for tv_grab_fi, only telkku.com, yle and iltapulu is offered.
However, iltapulu is only one what is atm working and that is not offering all channels.
telkku.com --output will be a xml empty file (not working). (when using other than peruskanavat)
Use this on config file to reproduce: "channel discovery-science.dokumentit.telkku.com Discovery Science"
and then ./tv_grab_fi --output test.xml ; cat test.xml

Manually inserting modules, telsu wont work and ampparit will work but well when fetching https://www.ampparit.com/tv/discovery-science?aika=paiva&pvm=2018-12-26
error: 500 Internal Server Error, aborting

so my aim was to get somehow epg for discovery science and world. it seems there is no epg for any working sources atm. As i watch channels from satellite, over-the-air epg not working for this certain channels, so needed other source for it.

@stefanb2 stefanb2 self-assigned this Dec 19, 2018
@stefanb2
Copy link
Contributor

Is your issue that nothing is working (as indicated by your subject) or just "Discovery Science"/"Discovery World" (as indicated by your description)? Can you please edit your question and subject to clarify?

I agree that your config example

channel discovery-science.dokumentit.telkku.com Discovery Science

returns empty XML. But that is not surprising, because there is no JSON data for dokumentit on telkku.com. I will have a look at that when I find the time.

On the other hand

channel discovery-science.ampparit.com Discovery Science

works fine for me. Please remember that ampparit.com only offers (today + 10) days of data, i.e. at the time of this writing from 19-Dec to 29-Dec. So you will have to limit your EPG update script to --offset 0 --days 11

stefanb2 added a commit to stefanb2/xmltv that referenced this issue Dec 19, 2018
The URL generated in _getJSON() had a typo: instead of using the
argument $page it used the hard-coded path "patch". Unfortunately that
incorrect URL still delivered the correct data for "peruskanavat" and
therefore wasn't detected during testing.

The regex for $group in grab() didn't include "-". Hence channels on the
following pages

   c-more-total
   viasat-kulta

didn't work at all.

Fixes XMLTV#39
@stefanb2 stefanb2 added the bug label Dec 19, 2018
@riku2015 riku2015 changed the title tv_grab_fi sources not working tv_grab_fi telkku.com sources not working Dec 19, 2018
@riku2015 riku2015 changed the title tv_grab_fi telkku.com sources not working tv_grab_fi telkku.com source some channels not working Dec 19, 2018
@riku2015
Copy link
Author

riku2015 commented Dec 19, 2018

fixed the topic, its telkku.com what is not working. sorry about the misleading topic. it seems peruskanavat is working, and others do empty xml file

Tried --offset 0 --days 11 on ampparit. com and it worked! dident knew that was issue. 10days is ok, way better than nothing. Thanks for this information.

@stefanb2
Copy link
Contributor

Tried --offset 0 --days 11 on ampparit. com and it worked! dident knew that was issue.

Those are standard command line parameters for XMLTV grabbers.

It is unfortunate that ampparit.com throws an error. The other sources simply return "empty" pages for dates they have no data.

nsenica pushed a commit to nsenica/xmltv that referenced this issue Dec 29, 2019
The URL generated in _getJSON() had a typo: instead of using the
argument $page it used the hard-coded path "patch". Unfortunately that
incorrect URL still delivered the correct data for "peruskanavat" and
therefore wasn't detected during testing.

The regex for $group in grab() didn't include "-". Hence channels on the
following pages

   c-more-total
   viasat-kulta

didn't work at all. Update test.conf to include at least one of those
channels in the secondary channels list so that this problem will not go
undetected in the future.

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

No branches or pull requests

2 participants