osxphotos
Home Assistant
osxphotos | Home Assistant | |
---|---|---|
96 | 1,411 | |
1,699 | 68,666 | |
- | 0.7% | |
9.4 | 10.0 | |
3 days ago | 5 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
osxphotos
-
Cleaning up my 200GB iCloud with some JavaScript
> Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.
The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:
`osxphotos export /path/to/export --has-raw --skip-raw --exiftool`
This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`
Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)
-
pipx install osxphotos fails
See the issue tracker if you want to follow along. Hopefully this is an easy fix and I can push a patch today.
-
Delete empty albums
In response to a question on the osxphotos GitHub Discussions page, I wrote a quick script to do prune empty albums and folders from Photos that can be run with osxphotos (version 0.65.0 and later). You can run the script directly from GitHub without downloading it first via:
-
Library backup
You could try opening the library with PowerPhotos, a commercial app that can manage multiple Photos libraries, to see if it can read it. You could also try my free open source command line tool, osxphotos. Install it then run this command in the Terminal: osxphotos info --library /path/to/the/library This should print out a list of information about the library: number of photos, number of albums, keywords in the library, etc. If that works, then osxphotos can read the library and can likely export the photos for you so you could re-import into a new library.
-
Exploring EXIF
I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])
For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:
osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"
To find good photos with trees in them you could try something like:
osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"
There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.
[0] https://github.com/RhetTbull/osxphotos
-
Third Party Apps that work with Apple Photos Library
osxphotos is my own tool for power users to interact with Photos from the command line: export, batch edit, sync metadata, import, etc.
-
Alpha support for macOS Sonoma
osxphotos v0.60.8 adds initial alpha support for macOS Sonoma (macOS 14.0.0 / Photos 9.0). Everything seems to be working but if you are beta testing Sonoma and use osxphotos I'd welcome any feedback you have!
- How can I export my iCloud photo library to Amazon Photos on Mac OS?
-
Shared Library: Albums Aren’t Shared
I'm the author of the free/open source tool osxphotos which provides several utilities fo working with Photos and exporting your photos. You can use the batch-edit feature to automatically add the album name as a keyword and I believe keywords are shared across users. (I don't use shared libraries so can't confirm this). I am working on a feature to then automatically re-create the albums from the keywords on the target library. For now the keywords is a partial work around.
-
any program for MACOS or for Ubuntu that is free that allows you to edit the meta tags of photos en masse. Thanks!
If you want to edit batch metadata of photos that are in the Apple Photos app on a Mac, I'm the author of a free tool, osxphotos that includes a batch-edit command that will edit the metadata in the Photos library.
Home Assistant
-
Do not buy a Hisense TV (or at least keep them offline)
Apparently the same issue has been reported with Philips TV [1] and Fritz!Box [2] as well.
[1] https://github.com/home-assistant/core/issues/73643#issuecom...
[2] https://forum.openwrt.org/t/minidlna-creates-new-media-serve...
-
Is it Dry Yet?
The plug would transmit power readings to my Home Assistant setup.
- Ask HN: Why is it so difficult to control IoT devices from your desktop?
-
Changes we're making to Google Assistant
Home Assistant can cast dashboard/media/etc to your display and has shopping lists. https://www.home-assistant.io/
-
Valetudo – Cloud replacement for vacuum robots enabling local-only operation
If you provided MQTT support like plenty of IoT companies do, then any open source home automation tool can integrate! Home Assistant (https://www.home-assistant.io/) have a grading system, so a local-first implementation would give you their highest score since they also really care about privacy. https://www.home-assistant.io/blog/2016/02/12/classifying-th...
-
Script Editor Automation Issue
It's hard not to raise a little smile at Google's automation scripts, which bare a not-entirely-passing resemblance to those of a certain other, more comprehensive home automation system...
-
Best way to make smart lamp safe?
You might consider looking into "Home Assistant".
- Vos expériences avec Hilo?
- Älytaloista kokemuksia?
- Home Assistant – open-source home automation
What are some alternatives?
exiftool - ExifTool meta information reader/writer
Node RED - Low-code programming for event-driven applications
icloud-drive-docker - Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
Domoticz - Open source Home Automation System
photos_time_warp - Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.
homebridge - HomeKit support for the impatient.
icloud_photos_downloader - A command-line tool to download photos from iCloud
CasaOS - CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
ipyflow - A reactive Python kernel for Jupyter notebooks.
FHEM - Branch 'master' is an unofficial read-only-mirror of https://svn.fhem.de/fhem/trunk which is updated once a day. (branch sf_old a mirror of the old repo: svn://svn.code.sf.net/p/fhem/code/trunk)
donutdns - Block ads, trackers, and malicious sites with donutdns - simple alternative to pihole. Run as a docker container, standalone executable or core DNS plugin. Supply custom domain block/allow lists in addition to builtin lists maintained by the ad-blocking community.
Mycodo - An environmental monitoring and regulation system