diff --git a/FileManager/TagsPersistence.cs b/FileManager/TagsPersistence.cs
index 57d6f9fc..e2a8cbd5 100644
--- a/FileManager/TagsPersistence.cs
+++ b/FileManager/TagsPersistence.cs
@@ -16,7 +16,7 @@ namespace FileManager
///
public static class TagsPersistence
{
- private static string TagsFile => Path.Combine(Configuration.Instance.LibationFiles, "BookTags.json");
+ private static string TagsFile => Path.Combine(Configuration.Instance.LibationFiles, "UserDefinedItems.json");
private static object locker { get; } = new object();
diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj
index 05d60014..1c02273a 100644
--- a/LibationLauncher/LibationLauncher.csproj
+++ b/LibationLauncher/LibationLauncher.csproj
@@ -13,7 +13,7 @@
win-x64
- 5.3.9.6
+ 5.3.10.1
diff --git a/LibationLauncher/Program.cs b/LibationLauncher/Program.cs
index f4222d0a..542c8fc1 100644
--- a/LibationLauncher/Program.cs
+++ b/LibationLauncher/Program.cs
@@ -51,6 +51,7 @@ namespace LibationLauncher
migrate_to_v5_0_0(config);
migrate_to_v5_2_0__post_config(config);
+ migrate_to_v5_3_10(config);
ensureSerilogConfig(config);
configureLogging(config);
@@ -141,7 +142,7 @@ namespace LibationLauncher
CancelInstallation();
}
- #region migrate_to_v5_0_0 re-register device if device info not in settings
+ #region migrate to v5.0.0: re-register device if device info not in settings
private static void migrate_to_v5_0_0(Configuration config)
{
if (!config.Exists(nameof(config.AllowLibationFixup)))
@@ -229,6 +230,19 @@ namespace LibationLauncher
}
#endregion
+ #region migrate to v5.3.10: rename BookTags.json to UserDefinedItems.json
+ private static void migrate_to_v5_3_10(Configuration config)
+ {
+ var oldPath = Path.Combine(config.LibationFiles, "BookTags.json");
+
+ if (File.Exists(oldPath))
+ {
+ var newPath = Path.Combine(config.LibationFiles, "UserDefinedItems.json");
+ File.Move(oldPath, newPath);
+ }
+ }
+ #endregion
+
private static void ensureSerilogConfig(Configuration config)
{
if (config.GetObject("Serilog") != null)
diff --git a/REFERENCE.txt b/REFERENCE.txt
index ffa989f3..515478d5 100644
--- a/REFERENCE.txt
+++ b/REFERENCE.txt
@@ -66,7 +66,7 @@ alternate book id (eg BK_RAND_006061) is called 'sku' , 'sku_lite' , 'prod_id' ,
do NOT combine jsons for
- audible-scraped persistence: library, book details
- libation-generated persistence: FilePaths.json
-- user-defined persistence: BookTags.json
+- user-defined persistence: UserDefinedItems.json
-- end SOLUTION LAYOUT ---------------------------------------------------------------------------------------------------------------------
-- begin EF CORE ---------------------------------------------------------------------------------------------------------------------