Code Monkey home page Code Monkey logo

grsync's Introduction

Hi there ๐Ÿ‘‹

grsync's People

Contributors

clyang avatar imkojima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

grsync's Issues

About GR IIIx

Can anyone help to use this program for my GR IIIx ?
I tried to change these.

SUPPORT_DEVICE(line 23) โ†’ Added GR IIIx
DEVICE(line 24) โ†’ change it's device's name to GR IIIx

GRsync.py is limited to a certain number of images

/v1/photos does not return all images on the camera. Once you have roughly more than 1000 images, it won't be able to sync them.

The API has a limit=xxx query parameter. Even when you increase the limit to a very high value, it won't return a list of all photos. This is where after=path/file query parameter can be used.

So you fetch the first list of images by specifiying /v1/photos, select the last image in the list and do another request
to /v1/photos?after=139RICOH/R0009466.JPG (where 139RICOH/R0009466.JPG would be your last image) and then iterate until you get an empty result, similar to my Elixir grsync:

https://github.com/mneumann/ricoh-gr-iii-tools/blob/main/grsync/grsync.exs#L43

SUPPORT_DEVICE my GRII omits "RICOH"

I had to remove the RICOH string from the SUPPORT_DEVICE to get my GRII with 3.0 firmware to work. SUPPORT_DEVICE = ['GR II', 'RICOH GR III']

Doesn't work with GRIII

I know, this script is for the GRII. But I think it's supposed to work with the GRIII too (according to David Webers post: https://www.dpreview.com/forums/thread/4375292).

However it doesn't work for me.

Viewing the pictures via firefox on path 192.168.0.1/v1/photos/135RICOH/*.JPG works fine and the script seems to find the correct path. But eventually it fails to download and shuts down the camera.

https://pastebin.com/wByNQwc4

If I skip the lines 108-111 and replace the else in 112 with the if from 108 it just hangs on "downloading" forever.

I defined an existing PHOTO_DEST_DIR in the script and nothing else. I guess STARTDIR and STARTFILE is supposed to stay empty?

I'm running the script on Xubuntu 18.04 with python 2.7.15+
Any hints to make this work with the GRIII?

edit: I just checked if I have all the python modules installed that are needed. I have them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.