ytdl-sub/examples/kodi_tv_shows_subscriptions.yaml
Jesse Bannon a79fcaa25b
Use URLs instead of IDs for sources (#70)
* youtube video url

* WIP, channel /user/ and /c/ should be valid

* unit tests passing

* soundcloud artist url

* soundcloud username

* break configs with name change

* Update all yamls with urls

* update all docs

* more negative url tests
2022-06-05 16:19:08 -07:00

51 lines
No EOL
2 KiB
YAML

# This example shows how we can use the `kodi_tv_shows_config.yaml` preset
# to download channels in a few different ways. We will use made-up channels
# in each example.
###############################################################################
# LEVEL 1 - FULL ARCHIVE
#
# Subscription names are defined by you. We will call this one
# john_smith_archive because it will download every single video in
# john_smith's channel.
john_smith_archive:
# We must define a preset to use from our config. The one that downloads the
# entire YouTube channel is called "yt_channel_as_tv", so set that here.
preset: "yt_channel_as_tv"
# Our download strategy was Youtube channels. Define the channel url here
# in our subscription.
youtube:
channel_url: "https://youtube.com/channel/UCsvn_Po0SmunchJYtttWpOxMg"
# Overrides can be defined per-subscription. If you noticed, we used
# {tv_show_name} and {tv_show_name_sanitized} in our "yt_channel_as_tv"
# preset. We intended to reserve that variable to be defined for each
# individual subscription. Each override defined here will create a
# '_sanitized' version that is safe for file systems.
overrides:
tv_show_name: "John /\ Smith"
###############################################################################
# LEVEL 2 - RECENT ARCHIVE
#
# Use the "yt_channel_as_tv__recent" preset to only download the last two
# weeks' worth of YouTube videos.
john_smith_recent_archive:
preset: "yt_channel_as_tv__recent"
youtube:
channel_url: "https://youtube.com/channel/UCsvn_Po0SmunchJYtttWpOxMg"
overrides:
tv_show_name: "John /\ Smith"
###############################################################################
# LEVEL 3 - ROLLING ARCHIVE
#
# Use the "yt_channel_as_tv__recent_only" preset to only download the last two
# weeks' worth of YouTube videos, and delete any existing older videos.
john_smith_rolling_archive:
preset: "yt_channel_as_tv__only_recent"
youtube:
channel_url: "https://youtube.com/channel/UCsvn_Po0SmunchJYtttWpOxMg"
overrides:
tv_show_name: "John /\ Smith"