1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-08-04 04:53:59 +00:00

Updated Developer's corner (markdown)

A Holt 2023-03-25 16:09:01 -04:00
parent 56a3177c67
commit 408c87b70c

@ -5,7 +5,7 @@ Calibre-Web will not be extended by any more metadata providers to download book
Generate a new .py file in the `cps/metadata_provider`. The file will be read during the next start of Calibre-Web. The file has to have a calss derived from `Metadata` and has to have a method named `search` returning a list of `MetaRecord`. Working examples can be found in the metadata_provder folder. Generate a new .py file in the `cps/metadata_provider`. The file will be read during the next start of Calibre-Web. The file has to have a calss derived from `Metadata` and has to have a method named `search` returning a list of `MetaRecord`. Working examples can be found in the metadata_provder folder.
Don't forget to add your file to the excluded files during update (check next chapter). Don't forget to add your file to the excluded files during update (check next chapter).
## Exclude files from beeing overwritten during update ## Exclude files from being overwritten during update
If you have extended Calibre-Web somehow with new files this files will be overwritten during the next manual run of programm internal updater. If you have extended Calibre-Web somehow with new files this files will be overwritten during the next manual run of programm internal updater.
To prevent this, add your files in the `exclude.txt` file in the root directory of Calibre-Web. Please use one file or directory per line. Calibre-Web's root folder acts as root folder for this file. **/** or **\** can act as path seperators, pathes with spaces can be enclosed by **"** or **'**. Per default all Calibre-Web settings databases and default logfiles are excluded from beeing overwritten.\ To prevent this, add your files in the `exclude.txt` file in the root directory of Calibre-Web. Please use one file or directory per line. Calibre-Web's root folder acts as root folder for this file. **/** or **\** can act as path seperators, pathes with spaces can be enclosed by **"** or **'**. Per default all Calibre-Web settings databases and default logfiles are excluded from beeing overwritten.\
Examples:\ Examples:\