Skip to content

Commit

Permalink
README: Add info about new paramater: config_file
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Mar 11, 2024
1 parent 29a10e5 commit 6d6c224
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ The configuration file is placed in home directory.

The name: `.podcast_downloader_config.json`. The file is format in [JSON](https://en.wikipedia.org/wiki/JSON). The expected encoding is [utf-8](https://en.wikipedia.org/wiki/UTF-8).

The configuration file placement can be specified by [script argument](#script-arguments).

### An example of configuration file

```json
Expand Down Expand Up @@ -145,10 +147,11 @@ Example:

The script accept following command line arguments:

| Short version | Long name | Parameter | Default | Note |
|:--------------|:-----------------------|:-------------------:|:---------------:|:-----|
| | `--downloads_limit` | number | infinity | The maximum number of downloaded mp3 files |
| | `--if_directory_empty` | string | `download_last` | The general approach on empty directory |
| Short version | Long name | Parameter | Default | Note |
|:--------------|:-----------------------|:-------------------:|:-----------------------------------:|:-----|
| | `--config_file` | string | `~/.podcast_downloader_config.json` | The placement of the configuration file |
| | `--downloads_limit` | number | infinity | The maximum number of downloaded mp3 files |
| | `--if_directory_empty` | string | `download_last` | The general approach on empty directory |

## Adding date to file name

Expand Down

0 comments on commit 6d6c224

Please sign in to comment.