Skip to content

Commit

Permalink
Merge pull request #1807 from qdraw/feature/202411_camera_input
Browse files Browse the repository at this point in the history
LensModel to loop and avoid returning default values & LensModel add tests for sony raw files to avoid default values
  • Loading branch information
qdraw authored Nov 9, 2024
2 parents a7bdf5e + ae4693d commit d1dd779
Show file tree
Hide file tree
Showing 19 changed files with 2,058 additions and 1,783 deletions.
2 changes: 2 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Semantic Versioning 2.0.0 is from version 0.1.6+
- [x] (Fixed) _Front-end_ add Including fallback for files without extension (PR #1806)
- [x] (Fixed) _Back-end_ next/prev fixes for folder with same name as a file (PR #1806)
- [x] (Fixed) _Back-end_ next/prev fixes to ignore xmp/json files (PR #1806)
- [x] (Fixed) _Back-end_ LensModel to loop and avoid returning default values. (PR #1807)
- [x] (Fixed) _Back-end_ LensModel add tests for sony raw files to avoid default values (PR #1807)

## version 0.6.2 - 2024-10-11 {#v0.6.2}

Expand Down
585 changes: 280 additions & 305 deletions starsky/starsky.foundation.readmeta/Helpers/SonyLensIdConverter.cs

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions starsky/starsky.foundation.readmeta/Interfaces/IReadMeta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
using System.Threading.Tasks;
using starsky.foundation.database.Models;

namespace starsky.foundation.readmeta.Interfaces
namespace starsky.foundation.readmeta.Interfaces;

public interface IReadMeta
{
public interface IReadMeta
{
/// <summary>
/// this returns only meta data > so no fileName or fileHash
/// </summary>
/// <param name="subPath">subPath</param>
/// <returns></returns>
Task<FileIndexItem?> ReadExifAndXmpFromFileAsync(string subPath);
Task<List<FileIndexItem>> ReadExifAndXmpFromFileAddFilePathHashAsync(List<string> subPathList, List<string>? fileHashes = null);
bool? RemoveReadMetaCache(string fullFilePath);
void UpdateReadMetaCache(IEnumerable<FileIndexItem> objectExifToolModel);
}
/// <summary>
/// this returns only metaData > so no fileName or fileHash
/// </summary>
/// <param name="subPath">subPath</param>
/// <returns></returns>
Task<FileIndexItem?> ReadExifAndXmpFromFileAsync(string subPath);

Task<List<FileIndexItem>> ReadExifAndXmpFromFileAddFilePathHashAsync(List<string> subPathList,
List<string>? fileHashes = null);

bool? RemoveReadMetaCache(string fullFilePath);
void UpdateReadMetaCache(IEnumerable<FileIndexItem> objectExifToolModel);
}
Loading

0 comments on commit d1dd779

Please sign in to comment.