PDA

View Full Version : [gnome] [SOLVED] Rhythmbox proxy problems - workaround


beow
July 23rd, 2008, 03:58 AM
It seems like rhythmbox does not honor the settings of the System->Preferences-Network Proxy settings, at least not for mms streams, which is needed in order to listen to internet radio systems behind a firewall/proxy. There are some workarounds for this problem.

1. (Not recommended) To insert the lines

http_proxy=http://<proxy-address>:<proxy-port>/
export http_proxy

in ~/.gnomerc. In this way the environment variable http_proxy is exported to all gnome applications and rhythmbox the works with the proxy. However, I think that this would interfer with "Network Proxy" setting in the System meny, which is not a good thing.

2. (Recommended). Add

http_proxy=http://<proxy-address>:<proxy-port>/
export http_proxy

to your ~/.bashrc file (create if necessary). Then open a new Terminal and start rhythmbox:

$ rhythmbox &

Now it should be possible to listen to internet radio. However mms:// urls are not resolved correctly and need to be converted to mmsh:// urls. I did this by going to the :~/.gnome2/rhythmbox directory and ran:

$ sed -i -e 's/mms:/mmsh:/' rhythmdb.xml

This process can of course be automated such that a shell script containing the proxy setting and rhythmbox is started when starting rhythmbox from the Applications menu, but I think that starting it from a shell is an acceptable workaround until the problem is fixed in the code.

beow
July 30th, 2008, 03:43 AM
For example: BBC World Service is found by using the URL:

mmsh://livewmstream-ws.bbc.co.uk.edgestreams.net/reflector:38288

using the method above.