vlara/Droidora — Issue #1: Crash when loading playlists
Author: andrewjbarr
Created: 2012-01-19 22:42:01+00:00
State: open

playlist.getFragment no longer supports TLS. XMLRPC error PLAYLIST_END is returned with the detail message "SSL/TLS is not supported for this call". Refer to:

https://github.com/PromyLOPh/pianobar/issues/202
https://github.com/PromyLOPh/pianobar/commit/a28839739c62cd589b1c31e76696fd5831f84520
https://github.com/PromyLOPh/pianobar/commit/0e94717e54157c750ee2a393016d66adb3c275e4

However, when implementing this, I find that your code no longer works correctly when sending HTTP as opposed to HTTPS. Pandora returns HTTP 400 (Bad Request). I have been fiddling with it for an hour or two and can't fix it.

The code needs to be able to handle both SSL/TLS requests and plain HTTP. Pandora does not support blanket TLS anymore. PianoBar's approach has been to turn TLS off by default and only turn it on for requests that require it. Again, see the pianobar code for which requests these are.