-
Notifications
You must be signed in to change notification settings - Fork 10
Upgrade the lr-robotagger to latest versions #3
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
Open
obelix74
wants to merge
2
commits into
tjotala:main
Choose a base branch
from
obelix74:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| build/* | ||
| config.lua | ||
| .idea/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| # RoboTagger Changelog | ||
|
|
||
| ## Version 2.0.0 - 2024-07-11 | ||
|
|
||
| ### 🚀 Major Updates for Lightroom Classic 2024 | ||
|
|
||
| #### **Compatibility** | ||
| - **Updated Lightroom SDK**: Upgraded from 5.0 to 13.0 (minimum 10.0) | ||
| - **Lightroom Classic 2024**: Full compatibility with latest Lightroom Classic | ||
| - **Backward Compatibility**: Still works with Lightroom Classic versions supporting SDK 10.0+ | ||
|
|
||
| #### **Google Vision API Updates** | ||
| - **OAuth2 Endpoint**: Updated from deprecated `/oauth2/v4/token` to current `/oauth2/token` | ||
| - **Enhanced Authentication**: Improved error handling and user feedback | ||
| - **API Stability**: Better handling of authentication failures and retries | ||
|
|
||
| #### **Performance Improvements** | ||
| - **Thumbnail Quality**: Increased default thumbnail size from 1024x1024 to 1600x1600 for better AI analysis | ||
| - **Concurrent Processing**: Improved task management with better default limits (max 4 concurrent requests) | ||
| - **Error Handling**: More robust network error handling and user-friendly error messages | ||
|
|
||
| #### **Developer Experience** | ||
| - **Build System**: Enhanced Rakefile with source-only build option | ||
| - **Documentation**: Updated README with current Google Cloud setup instructions | ||
| - **Version Management**: Clear version tracking and compatibility information | ||
|
|
||
| #### **User Experience** | ||
| - **Better Error Messages**: More informative authentication and network error messages | ||
| - **Progress Feedback**: Enhanced progress reporting during photo analysis | ||
| - **Configuration**: Improved default settings for modern usage | ||
|
|
||
| ### 🔧 Technical Changes | ||
|
|
||
| #### **Files Updated** | ||
| - `src/Info.lua`: SDK version bump and metadata updates | ||
| - `src/GoogleVisionAPI.lua`: OAuth2 endpoint update and error handling improvements | ||
| - `src/RoboTaggerInit.lua`: Enhanced defaults and version logging | ||
| - `src/RoboTaggerMenuItem.lua`: Improved error messages and user feedback | ||
| - `src/RoboTaggerShutdown.lua`: Version update | ||
| - `README.md`: Updated documentation and setup instructions | ||
| - `Rakefile`: Enhanced build system with source-only option | ||
|
|
||
| #### **New Features** | ||
| - Source-only build option for systems without Lua compiler | ||
| - Enhanced version checking and compatibility validation | ||
| - Improved authentication flow with better error reporting | ||
|
|
||
| ### 📋 Migration Notes | ||
|
|
||
| #### **For Users** | ||
| - No action required - plugin will work with existing Google Cloud credentials | ||
| - May see improved authentication reliability | ||
| - Better error messages if setup issues occur | ||
|
|
||
| #### **For Developers** | ||
| - Use `rake build_source` for development without Lua compiler | ||
| - Use `rake package_source` to create distribution packages | ||
| - Updated SDK version requires Lightroom Classic 2020 or newer | ||
|
|
||
| ### 🐛 Bug Fixes | ||
| - Fixed potential authentication token refresh issues | ||
| - Improved handling of network timeouts | ||
| - Better error recovery for failed API requests | ||
|
|
||
| ### 📚 Documentation Updates | ||
| - Updated Google Cloud setup instructions with current URLs | ||
| - Added troubleshooting section for common authentication issues | ||
| - Enhanced developer setup instructions | ||
|
|
||
| --- | ||
|
|
||
| ## Version 1.1.0 - 2017 | ||
|
|
||
| ### Initial Features | ||
| - Google Vision API integration for photo analysis | ||
| - Label and landmark detection | ||
| - Keyword application to Lightroom photos | ||
| - GPS coordinate extraction from landmarks | ||
| - Configurable confidence thresholds | ||
| - Parallel processing support | ||
|
|
||
| --- | ||
|
|
||
| ## Installation | ||
|
|
||
| 1. Download `dist/robotagger.zip` | ||
| 2. Extract to get `robotagger.lrplugin` folder | ||
| 3. Install in Lightroom via File > Plug-in Manager > Add | ||
| 4. Configure Google Cloud credentials in plugin settings | ||
|
|
||
| ## Requirements | ||
|
|
||
| - Adobe Lightroom Classic 2020 or newer (SDK 10.0+) | ||
| - Google Cloud Platform account with Vision API enabled | ||
| - OpenSSL (for JWT token signing) | ||
| - Internet connection for API requests | ||
|
|
||
| ## Support | ||
|
|
||
| For issues or questions: | ||
| - Check the updated README.md for setup instructions | ||
| - Verify Google Cloud credentials and API permissions | ||
| - Ensure OpenSSL is available in system PATH |
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
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
Binary file not shown.
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tjotala if you choose to merge it, update it back to
tjotala.