equeim / tremotesf2

Remote GUI for transmission-daemon
Other
250 stars 15 forks source link

Directory Mapping not working 2.7.1 #534

Closed SoiledBrush closed 2 months ago

SoiledBrush commented 2 months ago

I have single directory mount /data=/data

For example: when I open file located in /data/storage/.Downloads/.arrs/sonarr I get error Unable to handle this kind of location in nautilus.

When I try to make call manually

dbus-send --session --dest=org.freedesktop.FileManager1 --print-reply \
 --type=method_call /org/freedesktop/FileManager1 \
 org.freedesktop.FileManager1.ShowItems array:string:"file:///data/storage/.Downloads/.arrs/sonarr" string:""

Everything works fine. Tried both on aur package and flatpak versions of tremotesf.

equeim commented 2 months ago

Can you use dbus-monitor to see what arguments tremotesf passes to ShowItems call?

equeim commented 2 months ago

The command is dbus-monitor --session --monitor interface='org.freedesktop.FileManager1'

I suspect that the issue is that Tremotesf passes path without file:// prefix. Does dbus-send command fail if you remove it?

SoiledBrush commented 2 months ago

Yes, that's exactly it string "/data/storage/.Downloads/.arrs The command in dbus-send doesn't fail, i guess it's the file manager that can't read that path.

equeim commented 2 months ago

Fixed in 2.7.2