lastfm / lastfm-desktop

The official Last.fm desktop application suite
http://www.last.fm
GNU General Public License v3.0
461 stars 94 forks source link

Failing to play through proxy #29

Closed bencevans closed 2 years ago

bencevans commented 11 years ago

Last.fm Client v2.1.33 from the apt repo on Ubuntu 12.10.

Using a SOCKS5 proxy with host and port set (and working with other apps) I click Radio tab, My Mix Radio and the player loads with all the information (artist image/bio etc.) however the track doesn't load, instead it appears to wait a few seconds and skip to the next track.

Not too sure on how the app works but if it's a separate entity playing the stream are the proxy settings being parsed onto it?

Cheers, Ben

eartle commented 11 years ago

Yep, we play the audio through a Phonon backend. On Mac and Windows that is VLC and on Linux, it's whichever one you have installed to use; gstreamer, etc.

I doesn't look like we can set the proxy that the Phonon backend will use through the Phonon API, but I expect the backends should respect the http_proxy environment variable. You can try setting that and seeing if it helps. I should look at setting that environment variable within the app somehow.

bencevans commented 11 years ago

Cheers @eartle, setting the global proxy setting didn't seem to cut it unfortunately so I'll try tsocks'ing it.