|
12 | 12 | [](https://github.com/Buried-In-Code/Perdoo/actions/workflows/testing.yaml) |
13 | 13 | [](https://github.com/Buried-In-Code/Perdoo/actions/workflows/publishing.yaml) |
14 | 14 |
|
15 | | - |
16 | 15 | Perdoo is designed to assist in sorting and organizing your comic collection by utilizing metadata files stored within comic archives.\ |
17 | 16 | Perdoo standardizes all your digital comics into a unified format (cbz).\ |
18 | 17 | It adds and/or updates metadata files using supported services.\ |
@@ -136,6 +135,92 @@ Naming is done based on the Comic Format, set the value to `""` and it will fall |
136 | 135 | | `{upc}` | The issue's UPC. | |
137 | 136 | | `{volume}` | The volume of the series. | |
138 | 137 |
|
| 138 | +## Settings |
| 139 | + |
| 140 | +To set Perdoo setting details, update the file: `~/.config/perdoo/settings.toml`. |
| 141 | +File will be created on first run. |
| 142 | + |
| 143 | +### Example File |
| 144 | + |
| 145 | +```toml |
| 146 | +[output] |
| 147 | +folder = "~/.local/share/perdoo" |
| 148 | +format = "cbz" |
| 149 | + |
| 150 | +[output.comic_info] |
| 151 | +create = true |
| 152 | +handle_pages = true |
| 153 | + |
| 154 | +[output.metron_info] |
| 155 | +create = true |
| 156 | + |
| 157 | +[output.naming] |
| 158 | +seperator = "-" |
| 159 | +default = "{publisher-name}/{series-name}-v{volume}/{series-name}-v{volume}_#{number:3}" |
| 160 | +annual = "" |
| 161 | +digital_chapter = "" |
| 162 | +graphic_novel = "" |
| 163 | +hardcover = "" |
| 164 | +limited_series = "" |
| 165 | +omnibus = "" |
| 166 | +one_shot = "" |
| 167 | +single_issue = "" |
| 168 | +trade_paperback = "" |
| 169 | + |
| 170 | +[services] |
| 171 | +order = ["Metron", "Marvel", "Comicvine"] |
| 172 | + |
| 173 | +[services.comicvine] |
| 174 | +api_key = "<Comicvine API Key>" |
| 175 | + |
| 176 | +[services.marvel] |
| 177 | +public_key = "<Marvel Public Key>" |
| 178 | +private_key = "<Marvel Private Key>" |
| 179 | + |
| 180 | +[services.metron] |
| 181 | +username = "<Metron Username>" |
| 182 | +password = "<Metron Password>" |
| 183 | + |
| 184 | +``` |
| 185 | + |
| 186 | +### Details |
| 187 | + |
| 188 | +- `output.folder` |
| 189 | + The folder where the output files will be stored. |
| 190 | + Defaults to `~/.local/share/perdoo`. |
| 191 | + |
| 192 | +- `output.format` |
| 193 | + The output file format for the comic archives. |
| 194 | + Defaults to `cbz`. |
| 195 | + |
| 196 | +- `output.comic_info.create` |
| 197 | + Whether to create a ComicInfo.xml file in the output archive. |
| 198 | + Defaults to `true`. |
| 199 | + |
| 200 | +- `output.comic_info.handle_pages` |
| 201 | + Whether to handle page data in the ComicInfo.xml file. |
| 202 | + Defaults to `true`. |
| 203 | + |
| 204 | +- `output.metron_info.create` |
| 205 | + Whether to create a MetronInfo.xml file in the output archive. |
| 206 | + Defaults to `true`. |
| 207 | + |
| 208 | +- `output.naming.seperator` |
| 209 | + The word separator used in the output file names. |
| 210 | + Defaults to `-`. |
| 211 | + Options are `-`, `_`, `.`, or ` ` (space). |
| 212 | + |
| 213 | +- `output.naming.*` |
| 214 | + The naming patterns for different comic formats. |
| 215 | + Each pattern can be customized or left empty to use the default setting. |
| 216 | + The patterns support various metadata fields as described in the above "File Renaming and Organization" section. |
| 217 | + |
| 218 | +- `services.order` |
| 219 | + The order in which the services will be used for metadata retrieval. |
| 220 | + Metadata will be fetched from the first service that returns a result. |
| 221 | + Don't include the service name in the list if you don't want to use it. |
| 222 | + Defaults to `["Metron", "Marvel", "Comicvine"]`, options are `Metron`, `Marvel` and `Comicvine`. |
| 223 | + |
139 | 224 | ## Socials |
140 | 225 |
|
141 | 226 | [](https://fosstodon.org/@BuriedInCode)\ |
|
0 commit comments