eonpatapon / gnome-shell-extension-transmission-daemon

gnome-shell indicator for transmission-daemon
40 stars 23 forks source link

Trailing slash in RPC URL blocks connection to daemon #12

Closed afranke closed 12 years ago

afranke commented 12 years ago

My ISP (Free in France) provides a transmission-daemon on its set-top box/router. The configuration options are pretty limited and I can't change the RPC URL (I think their setup uses the default value though).

When I install the extension, it is unable to connect to the box. I edited extension.js to remove the final slash at the end of the URL (which is thus "http://mafreebox.freebox.fr:9091/transmission/rpc") and it now works.

The change occurs at https://github.com/eonpatapon/gnome-shell-extension-transmission-daemon/blob/master/transmission-daemon%40patapon.info/extension.js#L120

I think this change will fix the issue for some people while not breaking the extension for the others.

eonpatapon commented 12 years ago

Ok for me, thanks !