automated bit

This commit is contained in:
jbannon 2022-07-23 05:35:57 +00:00
parent c1f817b07f
commit 6c5a6a2bb5

View file

@ -69,7 +69,7 @@ presets in the `config.yaml`.
```yaml ```yaml
# The name of our subscription # The name of our subscription
john_smith_channel: john_smith_channel:
# Inherit all fields of the 'yt_channel_as_tv' preset # Inherit all fields in the 'yt_channel_as_tv' preset
preset: "yt_channel_as_tv" preset: "yt_channel_as_tv"
# Add the `channel_url` parameter here since it's unique for each subscription # Add the `channel_url` parameter here since it's unique for each subscription
@ -108,7 +108,7 @@ configuration:
channel: "--youtube.channel_url" channel: "--youtube.channel_url"
name: "--overrides.tv_show_name" name: "--overrides.tv_show_name"
``` ```
The above command can now be defined as The above command can now be shortened to
```shell ```shell
ytdl-sub dl \ ytdl-sub dl \
--tv \ --tv \
@ -143,9 +143,13 @@ The ytdl-sub docker image uses
It looks, feels, and operates like other LinuxServer images. This is the It looks, feels, and operates like other LinuxServer images. This is the
recommended way to use ytdl-sub. recommended way to use ytdl-sub.
ytdl-sub is a command-line tool. The docker image is intended to be used
as a console. For automating `subscriptions.yaml` downloads to pull new media, see
[this guide](https://ytdl-sub.readthedocs.io/en/latest/getting_started.html#setting-up-automated-downloads)
on how set up a cron job in the docker container.
### Docker Compose ### Docker Compose
```yaml ```yaml
version: "2.1"
services: services:
ytdl-sub: ytdl-sub:
image: ghcr.io/jmbannon/ytdl-sub:latest image: ghcr.io/jmbannon/ytdl-sub:latest