Repository navigation
Moments carry the display width and height; kinlore:media-dimensions fills older media - #5
Merged
Merged
Conversation
…; kinlore:media-dimensions fills older media - Migration: nullable width and height on moments; photos get them after orientation from the preview decode, videos from the upright processed frame - Moment API and sync pull send width and height (null for text moments and unknown sizes) - kinlore:media-dimensions (--dry-run): fills older photos from their preview and videos from their processing data; bumps updated_at so phones get the size on their next sync - Tests: MomentDimensionsTest; docs: API, commands, updating (run the command once after updating)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
widthandheighton moments. Photos get the size after EXIF orientation from the preview decode; videos from the upright processed frame.widthandheight(null for text moments and unknown sizes). Older apps ignore them.php artisan kinlore:media-dimensions(--dry-run) fills older photos from their preview and videos from their processing data, and bumpsupdated_at, so phones get the sizes on their next sync. Run it once after this update.feat/justified-timeline).Checks
php artisan test: 253 passed, 1 skipped (newMomentDimensionsTest).