diff --git a/COPS/CHANGELOG.md b/COPS/CHANGELOG.md index 30f4e33b..d121b17d 100644 --- a/COPS/CHANGELOG.md +++ b/COPS/CHANGELOG.md @@ -1,8 +1,12 @@ # HA COPS Changelog +## [1.40] - 2025-09 + +- Add support for multiple databases + ## [1.39] - 2025-09-19 -- Add support for custom columns in Configuration +- Add support for custom columns in Configuration. ## [1.38] - 2025-09-18 diff --git a/COPS/config.yaml b/COPS/config.yaml index 11f2ae4c..a18ef58e 100644 --- a/COPS/config.yaml +++ b/COPS/config.yaml @@ -1,5 +1,5 @@ name: "HA COPS" -version: "1.39" +version: "1.39-multidb4" slug: "ha-cops" description: "Minimal Calibre library web interface" url: "https://github.com/dunxd/HomeAssistantAddons/tree/main/COPS" @@ -23,6 +23,7 @@ options: library_folder: books rsync: true reader: monocle + database: "./" schema: title: str library_folder: str @@ -35,3 +36,4 @@ schema: smtp_port: int? address_from: email? custom_cols: str? + database: str diff --git a/COPS/translations/en.yaml b/COPS/translations/en.yaml index 40fd6677..f445f997 100644 --- a/COPS/translations/en.yaml +++ b/COPS/translations/en.yaml @@ -32,6 +32,9 @@ configuration: custom_cols: name: Custom columns description: This must be a string listing the columns you want to display in the format "column_name1", "column_name2". The names are case sensitive. If you aren't using custom columns leave this blank. If you want to see all custom columns enter "*". + database: + name: Database(s) + description: Specify the location of the metadata.db file. For most users leave this as `./`. You can use this to specify multiple databases, using an array. See https://community.home-assistant.io/t/new-add-on-minimal-calibre-library-ha-cops/562830/38 for an example. network: 8000/tcp: The port used to access the library web pages. 873/tcp: The port used for rsync.