Enhancements & Features
- Artwork Upload Retry Mechanism: Introduced a robust retry loop for Emby and Jellyfin artwork uploads. If an upload fails, the script will now automatically retry up to 3 times (with a randomized 1-4 second delay) to better handle transient network drops or API timeouts.
- Granular Media Logging Context: Greatly improved log readability by injecting specific media context directly into output messages.
- Upload success logs now explicitly state the media title being processed.
- Raw video description and HDR debug logs in
EmbyJellyModenow include full identifiers (e.g.,[Movie Name]or[Show Title - S01E01 - Episode Name]) instead of just the raw video properties.
Under the Hood
- Modernized API Authentication: Transitioned Emby/Jellyfin API requests to consistently use the
$global:OtherMediaServerHeadersfor authentication instead of passing theapi_keyexplicitly in the URL query strings. - Safer File Handling: Improved the
Try/Catchblocks for temporary hash comparison downloads to ensuretempfiles are reliably cleaned up even if the download partially fails or 404s.
Bug Fixes
- Fixed null reference exceptions that could occur when retrieving remote image dimensions or attempting to parse missing EXIF data.
- Enhanced and fixed episode ID handling across core generation routines to prevent failed metadata matches.
Issues Resolved
Full Changelog: 3.1.2...3.1.3