Skip to content

Version 0.50.0 complex templates may be broken #708

Closed Answered by RhetTbull
oPromessa asked this question in Q&A
Discussion options

You must be logged in to vote

@oPromessa In v0.50.3 I've added a --template/-T option to the osxphotos inspect command. This allows you to preview templates for photos selected in Photos and should be useful for testing new templates. For example, for your templates, you can do this:

osxphotos inspect -T "{keyword}" -T "{label}" -T "{searchinfo.activity?activity:{searchinfo.activity},}" -T "{searchinfo.venue_type?venue_type:{searchinfo.venue_type},}"

Then select a photo in Photos and the terminal window will automatically render those templates for the selected photo.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by oPromessa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants