dvhar / pikeru

File picker with semantic search and image viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: add samba support

skwzrd opened this issue · comments

Hey, I love this project! I'm currently running Ubuntu 23.10 with GNOME 45.2 and can't generate thumbnails for videos, so having this tool to use is awesome. Thank you for your hard work.

Could you add Samba support?

Entering /run/user/1000/gvfs/smb-share:server=192.168.0.11,share=smb_home/ in a browser, or VSCode, takes me to a file directory listing. Using that syntax, or smb://192.168.0.11/smb_home/ would be awesome. Authentication support would be appreciated so it doesn't have to be a "public" share.

Why?

Currently, I can't upload files from a Samba share with my browser (FireFox), let alone see their thumbnails. I have to copy a file to my Desktop, then navigate to the file.

I'm not sure if pikeru can help in that situation so you'll have to do a little test. What the filepicker does is just echo the selected filepaths back to the portal, so the way you would test it is by replacing eval "$cmd" in the pikeru script with echo 'smb://192.168.0.11/smb_home/some_real_file' (or the other syntax) and seeing if the browser is able to read it. If the browser can read it, then adding samba to pikeru would help, otherwise it wouldn't do anything.