2008-11-23, 06:54
I am developing a plug-in that reads in an RSS feed from a search on Easynews.com (private membership site).
I am running into an issue when specifying URLs for thumbnails (and the video URL as well).
Since Easynews is a private site, you have to authenticate.
When I pass a URL that is HTTPS or http://user:password@domain/ it will not load images for the thumbnails or play the videos when clicked on.
I get the following in my log...
http://pastebin.ca/1264830
If I change the URLs to another domain that doesn't require authentication both thumbnails and video work as expected.
But if I try an HTTPS or a URL with the authentication entered in I get the "CFileCurl::CReadState::Open, didn't get any data from stream." error again.
If I pull the URLs out into Firefox they load... I know I can't have everyone test my exact URLs because the site requires membership, so you have to trust me that the URLs are valid.
I can even appear to connect successfully to them within my plug-in using urllib.urlopen() as a test.
But I am trying to work with the standard xbmcplugin.addDirectoryItem controls.
Any help?
I am running into an issue when specifying URLs for thumbnails (and the video URL as well).
Since Easynews is a private site, you have to authenticate.
When I pass a URL that is HTTPS or http://user:password@domain/ it will not load images for the thumbnails or play the videos when clicked on.
I get the following in my log...
http://pastebin.ca/1264830
If I change the URLs to another domain that doesn't require authentication both thumbnails and video work as expected.
But if I try an HTTPS or a URL with the authentication entered in I get the "CFileCurl::CReadState::Open, didn't get any data from stream." error again.
If I pull the URLs out into Firefox they load... I know I can't have everyone test my exact URLs because the site requires membership, so you have to trust me that the URLs are valid.
I can even appear to connect successfully to them within my plug-in using urllib.urlopen() as a test.
But I am trying to work with the standard xbmcplugin.addDirectoryItem controls.
Any help?