从支持WiFi的Olympus摄像头同步照片
olympus-photosync的Python项目详细描述
列出、下载和同步来自支持WiFi的奥林巴斯摄像头的照片和视频。
所有功能都已验证可与以下数码相机一起使用:
- 奥林巴斯E-m10
然而,使用相同媒体共享机制的相机应该只工作 也。说到这里,可能工作的相机列表是:
- 奥林巴斯E-M1
- 奥林巴斯E-M5
- 奥林巴斯TG-860
- 奥林巴斯TG-5
安装
最新稳定版本的Olympus Photosync可以从Pypi安装:
$ pip install olympus-photosync
用法
Usage: olympus-photosync [options] <get|list|sync> ... List, download and sync photos and videos from WiFi enabled Olympus cameras. Commands: get download files from camera list list media on camera sync pull missing files from camera General options: -h, --help show this help message and exit -v, --version show version number and exit -r, --parsable no progress bars and no human readable dates and sizes Camera server options: -a, --addr ip|hostname address of camera server (default: 192.168.0.10) -p, --port port camera server port number (default: 80) -b, --baseurl path url under which media is located (default: /DCIM/100OLYMP) -t, --timeout seconds connection timeout (default: 60) Download options: -d, --destdir destination directory (default: ./) name [name ...] media files to download (example: PA290940.JPG) Synchronization options: -n, --dryrun show files that will be synced and exit destdir directory which to download media files Filter options: --older timefmt|name select files older than timestamp or filename --newer timefmt|name select files newer than timestamp or filename --on timefmt select media from a specific day Examples: olympus-photosync list --newer 2017-09-17T16:21:00 --older 2017-09-20 olympus-photosync list --newer 10d --older 12h olympus-photosync list --newer PA290930.JPG --older PB070950.JPG olympus-photosync list --on today olympus-photosync get -d ~/photos P8060697.JPG P7250454.MOV olympus-photosync get -d ~/photos "*.jpg" olympus-photosync sync ~/photos
跨平台gui由olympus-photosync-gui程序提供。在 它可以用来列出和下载受支持设备中的文件的时刻。
待办事项
- 在更多的摄像头上测试。
- 在windows上测试。
- gui需要更多的工作(例如添加缩略图,提高可用性)。
- 使用pyinstaller为windows提供一个独立的二进制文件。
备选方案
- olympus-photosync:用scala编写的经过良好测试的命令行应用程序。
许可证
根据Revised BSD License条款发布。