更新日志
🐛 Bug Fixes
- 修复文件句柄泄漏:
StrmMediaInfoService.ReadStrmSourcePath()使用using语句确保文件流正确关闭 - 修复空值检查不一致:
StrmFileProcessor构造函数中为mediaProbeManager参数添加空值验证 - 改进异常处理:
MediaInfoManager.RestoreAudioEmbeddedImageAsync()细化文件删除异常处理,区分IOException和UnauthorizedAccessException
🛠 Improvements
- 统一日志风格:所有日志消息首字母大写,保持一致性
- 优化命名空间引用:
StrmFileProcessor添加必要的 using 语句,简化类型全限定名
Changelog
🐛 Bug Fixes
- Fixed file handle leak:
StrmMediaInfoService.ReadStrmSourcePath()now usesusingstatements to ensure proper file stream closure - Fixed inconsistent null checking: Added null validation for the
mediaProbeManagerparameter in theStrmFileProcessorconstructor - Improved exception handling: Refined file deletion exception handling in
MediaInfoManager.RestoreAudioEmbeddedImageAsync()to distinguish betweenIOExceptionandUnauthorizedAccessException
🛠 Improvements
- Unified logging style: All log messages now start with capital letters for consistency
- Optimized namespace references: Added necessary using statements in
StrmFileProcessorand simplified fully qualified type names