Giter Club home page Giter Club logo

calbum's People

Contributors

joprovost avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

calbum's Issues

command to sync with next picture

On some routers, there's a button that basically says "let the next guy in" ; saving the user the trouble of entering a bunch of hexadecimal characters.
I think there should be such an option along with calbum, the purpose being to recognize a source's date-time offset.
By knowing that the picture was taken between two moments
(t0: the moment the command was entered; and
t1: the moment it was received on the NAS),
the date-time offset of this source can be determined (~interpolated) and saved to a cfg file.

config files for date-time offsets

calbum/sources/image.py
def timestamp(self):

The way I understand it, this is definitely the way to go: an image able to determine its own timestamp (ts). For some image sources (eg phone with regularly corrected timezone, date and time) this might be as trivial as converting some part of the metadata to a usable ts. For other sources (eg never-used out-of-sync camera) this might be more involved, requiring some manipulation.

For this reason, I suggest that before an image determines its ts, it determines its precise source. Sources are basically config files telling c-album what to do. Example:
Bob's GoPro
date -1
time +5

If an image comes in and its source is unknown, a file should be created for it, with defaults written down (+0 +0), and warnings should be logged. This way, if at a later date the source is discovered to have some offset, this offset can be written to one file, and all pictures can be re-sorted.

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.