Using HTTPS streams 2015-09-09 19:15:55 Hi all,I'm currently trying to write a foobar plugin that connects to subsonic media servers (For those who don't know Subsonic: http://www.subsonic.org/). For testing, I don't use subsonic itself, but another product (Ampache) which provides a subsonic compatible API.The subsonic API is pretty simple. Just send some HTTP GET requests with certain parameters to the server and you will return XML as answer.Using this API I'm currently able to get all Artists, Albums and Tracks from the server. But I had to reimplement WINHTTP to get that far.During this development, I tried to use the integrated http_client to retrieve information from my "fake" subsonic server. For security reasons my server only serves these pages using HTTPS (and self-signed certificates).All requests have failed. I first thought it has something to do with proxy settings or with the self-signed certificate. But also without proxy, and just querying www.google.com, I didn't get a proper response.This leads me to the question: Does the integrated http_client support HTTPS? Do I miss something?Because of that, I implemented HTTPS by using WINHTTP (I would really like to remove that part again, if possible).The next question I have, what about https-streamed media?To include some background: To retrieve media from subsonic, you call "rest/stream.view" with the id of the song you want to have. Subsonic then, sends the file like an HTTP-Stream. In my case the song is streamed using HTTPS. Again I didn't find any solution on how to play the song, when it is streamed on https.When trying to add a https URL in the playlist (programmatically or manual using File->Add Location), nothing happens.So I guess HTTPS is also not working in this case.Is there any (simple) solution to allow foobar to read https-streams?I already digged through the (poorly documented) SDK, read some code of other plugins. But I still got no idea how to start.Do I have to implement input_singletrack_factory_t? I don't want to add a new decoder, I just want to use some code to feed https to foobar ....Does anyone have some suggestions for me?Thanks!