-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Star ratings from iPhoto should go to the XMP:Rating field #1353
Comments
@property
def rating(self) -> int:
"""Star rating of photo as int from 0 to 5; for iPhoto, returns star rating; for Photos, returns 5 if favorite, else 0"""
return 5 if self.favorite else 0 |
@all-contributors please add @mlevin77 for ideas |
I've put up a pull request to add @mlevin77! 🎉 |
RhetTbull
added a commit
that referenced
this issue
Dec 29, 2023
RhetTbull
added a commit
that referenced
this issue
Dec 29, 2023
* Implemented fix for XMP:Rating on iPhoto #1353 * Fixed test data
Fixed in current branch. Will be in next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From our email discussion:
Yes that would work. The iPhoto code provides a rating property:
Please open an issue on GitHub to add this. Will be a 2 line fix but need to add a test case, etc.
The text was updated successfully, but these errors were encountered: