mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-13 06:07:30 -04:00
A title bought while an Amazon address was briefly set to another country stays in that country's library for good, and a scan of the account's own marketplace never sees it - no error, no warning, the titles are simply absent. The only way to reach them was to add the same login a second time under the other marketplace, which meant knowing it was there and logging in again. An account now records the further marketplaces it should read, and a scan reads all of them as a unit. MarketplaceProbe finds them: one request per marketplace, in sequence, and only when asked for. Nothing about stored credentials moves. Encrypted tokens are bound to their marketplace by AES-GCM associated data built from Identity.LocaleName, and the identity is located in the file by that same name, so both keep resolving to the registration that already exists. The extra marketplaces are names alone, and are left out of the file entirely when there are none - so an account with one marketplace, which is nearly all of them, writes the file it always did. Co-authored-by: rmcrackan <rmcrackan@gmail.com>
35 lines
1.0 KiB
XML
35 lines
1.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AudibleApi" Version="11.0.5.1" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.11" />
|
|
<PackageReference Include="NameParserSharp" Version="1.5.0" />
|
|
<PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AaxDecrypter\AaxDecrypter.csproj" />
|
|
<ProjectReference Include="..\FileManager\FileManager.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Configuration.*.cs">
|
|
<DependentUpon>Configuration.cs</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|