jgibbon / yikes

yi action camera application for sailfish os
GNU General Public License v2.0
6 stars 4 forks source link

Yi 2 (4k) compatibility #15

Open jgibbon opened 6 years ago

jgibbon commented 6 years ago

Quite a while ago, @Kabouik offered to check if yikes did… well, anything with the Yi 2 camera.

I now had the time to fix some small things and prepare a build to check with. https://github.com/jgibbon/yikes/releases/tag/0.1-1

Things to test (copy/paste from the release info):

  1. Connection: Manually connect to the camera via wifi. Does the application recognise a connection? (It should hide the "trying to connect" screen and enter the normal interface.)
  2. Does the cameras video stream get shown?
  3. Change between video and photo: Please test if changing the switch (top of the interface) changes the mode on the camera, as well.
  4. Sub modes: There should be buttons on the left side of the interface if the camera advertises them as supported. They should differ between video and photo mode. Are those buttons visible? If so, do they change the mode on the camera, as well?
  5. Shutter: The big button should start a recording/take a photo. Does it?
  6. Options: Enter the camera options via pulley menu. Are there any settings visible? Are any of those advertised as "changeable" (white text, tapping them goes to a sub menu to change them)? Does changing them work?
  7. Existing files: In the main interface, there should be an indicator for existing files on the camera if there are any files on its SD card. Is it there? Does tapping it go to an overview interface for existing files? Do they load?
  8. File transfer: Try to transfer a single file (pulley after tapping on a media entry) to the phone. Does it work? If you have enough space in your home partition: Try downloading all files from the media overview pulley. (Files should land in "Pictures/Yi"). Do "raw" photos get transfered (if the camera supports them)?

If some of the steps do not work, it may be helpful to start the application via ssh and save the terminal output. Beware: There may be a lot of output for the current version. Also, there may be more or less sensitive information in it (like file names on the sd card in your camera).

The command to start it is sailfish-qml yikes (there is no binary as of yet).

Thank you!

Kabouik commented 6 years ago

Thanks for the follow up @jgibbon!

I will be very busy for at least one month and will probably not have much time to try all features, if any (but I will definitely look into it as soon as I am back home with some free time), so you may want extra testers if you are in a hurry. However, do not hesitate to remind me if I forget about it when I have some more time!

Kabouik commented 6 years ago

But then I couldn't resist and installed the current .rpm package.

What I did is exactly the opposite of what you asked, i.e., I did not test things consistently or following the steps you described (but I will, later). However, I'm happy to say that everything seemed to be functional, even camera settings (didn't try to change them, but I could see them and they looked editable).

The only thing I couldn't do was access the saved pictures and videos, let alone download them. I did try after activating the thumbnail in the application options, but no thumbnail appeared, even after reloading the application, and it even seemed to make the live preview show up later. Therefore I could not find where to access saved media, and the pulley menu to download files.

Further and actual testing will come later.

My camera is a Yi 2 (but isn't it the same as the Yi 4K?).

jgibbon commented 6 years ago

Hi @Kabouik! Thanks for checking it out. You don't have to rush further tests – I didn't rush the application myself, so why should you? I have no problem to release it in a few months.

You might be right, I seem to have misinterpreted 2 for 2k. There's just too many models around. I'll update the issue title. But this makes the missing "media- and download" functions even more interesting to me, since it works on my device. I have updated the firmware on mine, though.

Enabling the thumbnail just turns the button (which should be there if there are videos/photos on the camera) into a preview image – like on the screen shots in the readme. If you get around to it, the terminal output from starting the application and connecting might help with this. This works best if the phone is connected to a computer via usb in developer mode to start it via ssh.