Hello,
I made modifications to nginx to respond OK to OPTIONS requests, but I still don't see my EPG information.
This is how I tested : I had 405 response before :
And now :
I have one question : Is the OPTIONS request made for the exact URL of the file, or does your app try to reach another path ? Because my http server is not configured to answer a parent path for example... Anyway, if you only make requests for the exact URL (http://myserver/test_guide.xml), you should now have HTTP OK Response to GET, POST, or OPTIONS requests.
What do you think ? What should be the next step ?
Thank you
[Solved] External EPG loading not working - French channels
- Eugene
- Project Leader
- Posts: 5620
- Joined: 15 Apr 2013, 22:54
- TV Model: LG 47LM960V, LG LB679V
- Location: Санкт-Петербург
- Been thanked: 18 times
- Contact:
Re: External EPG loading not working - French channels
Currently I do see EPG for your list and with your xmltv
Re: External EPG loading not working - French channels
Well, that is so weird ! I am becoming crazy over this.... I don't know what to tell you, it still doesn't work. Here are all relevant photos, maybe there is something else wrong that I do not see. The only EPG information is for "Arte", it is in German and I believe is coming from your side :
I am really sorry, and thank you again for your time helping me with this
I am really sorry, and thank you again for your time helping me with this
- Eugene
- Project Leader
- Posts: 5620
- Joined: 15 Apr 2013, 22:54
- TV Model: LG 47LM960V, LG LB679V
- Location: Санкт-Петербург
- Been thanked: 18 times
- Contact:
Re: External EPG loading not working - French channels
You have pretty large xlmtv file - about 2,5 Mb. It takes some time for uploading and parsing it even in Chrome browser on my PC. Your TV has much less resources so I suppose you just need to wait for a while till EPG appears. About one minute or probably little bit more.
Re: External EPG loading not working - French channels
Oh man... That was it !!!
I made a very small xmltv for only 5 channels and it loaded immediately. On the original file, even if I waited 4-5 minutes, I couldn't see anything ! And the worse part is that I considered it to be a small xmltv file, it contained information for only 1 day ! Those SONY TVs must be really low end on the "Smart TV" side...
Thank you again for all your time, I made this small summary for other people having the same problem, maybe you could add it to your page http://ss-iptv.com/en/operators/epg
"If you are using Nginx as the HTTP server hosting your xmltv file, you must manually configure it to respond to HTTP OPTIONS requests, as it does not natively do so. You can use something like this in the conf file, inside a location or server block :
Test with curl to make sure you have an http OK response :
Also, if you don't immediately see the EPG information, please wait a little as it may take some time to appear. If it takes too long for your taste, consider shrinking the xmltv file by removing unused tags or channels..."
I made a very small xmltv for only 5 channels and it loaded immediately. On the original file, even if I waited 4-5 minutes, I couldn't see anything ! And the worse part is that I considered it to be a small xmltv file, it contained information for only 1 day ! Those SONY TVs must be really low end on the "Smart TV" side...
Thank you again for all your time, I made this small summary for other people having the same problem, maybe you could add it to your page http://ss-iptv.com/en/operators/epg
"If you are using Nginx as the HTTP server hosting your xmltv file, you must manually configure it to respond to HTTP OPTIONS requests, as it does not natively do so. You can use something like this in the conf file, inside a location or server block :
Code: Select all
if ($request_method = OPTIONS ) {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, HEAD';
add_header 'Access-Control-Allow-Headers' 'Range';
add_header 'Access-Control-Expose-Headers' 'Accept-Ranges, Content-Encoding, Content-Length, Content-Range';
add_header Content-Type text/xml;
return 200;
}
Test with curl to make sure you have an http OK response :
Code: Select all
curl -I -X OPTIONS http://yourserver.smthg/your_epg_file.xml
Also, if you don't immediately see the EPG information, please wait a little as it may take some time to appear. If it takes too long for your taste, consider shrinking the xmltv file by removing unused tags or channels..."
- Eugene
- Project Leader
- Posts: 5620
- Joined: 15 Apr 2013, 22:54
- TV Model: LG 47LM960V, LG LB679V
- Location: Санкт-Петербург
- Been thanked: 18 times
- Contact:
Re: [Solved] External EPG loading not working - French channels
Actually we've had French EPG but it has disappeared due to technical issues. I think, we'll restore it soon.
Re: [Solved] External EPG loading not working - French channels
And you can not do it to read an external epg in xml format without these header ?
- Eugene
- Project Leader
- Posts: 5620
- Joined: 15 Apr 2013, 22:54
- TV Model: LG 47LM960V, LG LB679V
- Location: Санкт-Петербург
- Been thanked: 18 times
- Contact:
Re: [Solved] External EPG loading not working - French channels
These headers are necessary to provide smooth uploading in background without UI freezing.
Re: [Solved] External EPG loading not working - French channels
@Eugene
Format guide .json is suported from external guide?
Format guide .json is suported from external guide?
Re: External EPG loading not working - French channels
Eugene wrote:Ok, let's check real EPG link. I'm absolutely sure that everything must work if server is configured properly.
Hi Eugene can you tell me why i have problem with buffering please?