eonpatapon/gnome-shell-extension-transmission-daemon

Trailing slash in RPC URL blocks connection to daemon

Closed this issue · 1 comments

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.

Ok for me, thanks !