This is announcement of new application in the Harbour - Camera Buddy
When going to the trip, I take my DSLR camera with me sometimes. It produces significantly better output than embedded cameras in my phone, that I always have in the pocket. But when I want to share some moment with others, I had no other choice than take a picture with the phone or share the photo when returning from the trip. And in such moment, idea for the new application comes to my mind. As I verified during development of TimeLapse tools , it is possible to use gphoto library to connect to the external camera from the phone with SailfishOS. So, it should be simple write an app that is able to list photos in camera’s storage and download them to the phone’s storage.
Idea for this application was in my mind for years. But now, as vibe-coding become our day to day reality, I created it finally. It was done with assistance of Github Copilot in 20 hours of vibe-coding, programming and debugging…
Lets try it, share your ideas, send patches, issues…
We are using AI companions in my work to develop production code. It is todays reality. I believe that all programmers shlould know limits of the AI and the tasks where it excel… But I do not want to discuss vibe-coding in this thread. I will probably share my SFOS specific experience in the separate post.
Yes. You just need to have USB OTG dongle, to make phone able to act as USB host. Or use WiFi connection (my Nikon D7500 act as a hotspot). I verified that with Xperia 10.II and Nikon camera. List of supported cameras is on Gphoto page here.
Works like a charm with Nikon D5300 via wifi
Thanks so much!
It would be nice to be able to create new directories just before downloading files.
-updated
Can you add support for Toshiba Flashair-SD-Cards?
Its basicly a SD-Card which has an inbuild WLAN-Hotspot/Tiny Webserver. I use it in my small Canon EOS 100d, because it lacks the original WLAN-Module.
Until today, i use my small shellscript which download all pictures with:
Well, from fast search, gphoto library doesn’t support these cards. I do not want to write camera abstraction layer and use other libraries than gphoto. But it seems that Flashair cards supports standard WebDav protocol. Did you tried to use GhostCloud to browse files on the card?
I am using standard Silica component FolderPickerDialog for directory selection. It doesn’t support creation of subdirectories I am using File Browser to create target directory in advance. I know, it is not convenient.
If it’s DAV, there is a (TUI) tool called cadaver on chum you can use to explore such shares.
And there’s rclone of course, and davfs2, both support mounting dav locations.
rclone also has a daemon/command mode and could serve as a backend for some GUI.
With ChatGPT help I tried to make native GUI app for rclone in qml+python (pyotherside) some months ago… for now it shows list of remotes places (which are configured in the rclone.conf) and is able to list the / of remote places but then for some reason not the subdirectories.
great effort, I was experimenting in the past with airnef lib, it seemed to work from the terminal but failed to provide a UI wrapper ;-(
I’ve tested CammeraBuddy with my camera and seems to work nicely. It would be nice to download a preview or a lower res jpg/png from a raw image?
I am worry that resolution of the preview is unusable for something else than the preview. From my Nikon, it has resolution 160x120 pixels. And the gphoto library is not capable to tell the camera to do format conversion before downloading… Or is there some configuration that I am not aware of? So the only possible way I know is to download huge RAW and then use another tool to convert raw to the JPEG…
160x120 is only good for a thumbnail size pic. Nikon’s wmu app seems to be able to download jpeg 1620x1080 directly from the camera’s raw image, but I do not know how it does it. I checked airnef and cannot do that either, there is an option for:
maybe something getlargethumbs can have slightly higher resolution?
One option that could work is if the camera stores pics in both RAW and basic resolution JPG, then Camera Buddy can download the JPG only? A 20+ MB raw image on the phone is not so practical?
gphoto2 has an option for preview (--get-preview for embedded preview image), not a full JPEG version, but might not be supported from all cameras.