multi-url example
This commit is contained in:
parent
e5b6bb057c
commit
8abd8563e9
3 changed files with 11 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ TV Show Only Recent:
|
||||||
# Subscriptions can prefix a tilda to specify override variables
|
# Subscriptions can prefix a tilda to specify override variables
|
||||||
# to set only for that subscriptions
|
# to set only for that subscriptions
|
||||||
"~BBC News":
|
"~BBC News":
|
||||||
url: "https://www.youtube.com/@BBCNews"
|
url: "https://www.youtube.com/@BBCNews" # use url2, url3, ... for multi-url in this form
|
||||||
date_range: "2weeks"
|
date_range: "2weeks"
|
||||||
"Frontline PBS": "https://www.youtube.com/@frontline"
|
"Frontline PBS": "https://www.youtube.com/@frontline"
|
||||||
"Whitehouse": "https://www.bitchute.com/channel/zWsYVmCOu4JA/" # Supports non-YT sites
|
"Whitehouse": "https://www.bitchute.com/channel/zWsYVmCOu4JA/" # Supports non-YT sites
|
||||||
|
|
@ -37,11 +37,19 @@ Plex TV Show by Date:
|
||||||
"National Geographic": "https://www.youtube.com/@NatGeo"
|
"National Geographic": "https://www.youtube.com/@NatGeo"
|
||||||
"Cosmos - What If": "https://www.youtube.com/playlist?list=PLZdXRHYAVxTJno6oFF9nLGuwXNGYHmE8U"
|
"Cosmos - What If": "https://www.youtube.com/playlist?list=PLZdXRHYAVxTJno6oFF9nLGuwXNGYHmE8U"
|
||||||
|
|
||||||
# Sets "Kids" for genre, "TV-Y" for content rating
|
# Sets genre tag to "Kids", "TV-Y" for content rating
|
||||||
= Kids | = TV-Y:
|
= Kids | = TV-Y:
|
||||||
"Jake Trains": "https://www.youtube.com/@JakeTrains"
|
"Jake Trains": "https://www.youtube.com/@JakeTrains"
|
||||||
"Kids Toys Play": "https://www.youtube.com/@KidsToysPlayChannel"
|
"Kids Toys Play": "https://www.youtube.com/@KidsToysPlayChannel"
|
||||||
|
|
||||||
|
# Sets genre tag to "Music"
|
||||||
|
= Music:
|
||||||
|
# Subscriptions can support multiple urls and store in the same
|
||||||
|
# TV Show
|
||||||
|
"Rick Beato":
|
||||||
|
- "https://www.youtube.com/@RickBeato"
|
||||||
|
- "https://www.youtube.com/@rickbeato240"
|
||||||
|
|
||||||
# Set "News" for genre, use `Only Recent` preset to only store videos uploaded recently
|
# Set "News" for genre, use `Only Recent` preset to only store videos uploaded recently
|
||||||
= News | Only Recent:
|
= News | Only Recent:
|
||||||
"BBC News": "https://www.youtube.com/@BBCNews"
|
"BBC News": "https://www.youtube.com/@BBCNews"
|
||||||
|
|
@ -494,7 +494,7 @@ def test_tv_show_subscriptions(config_file: ConfigFile, tv_show_subscriptions_pa
|
||||||
config=config_file, subscription_path=tv_show_subscriptions_path
|
config=config_file, subscription_path=tv_show_subscriptions_path
|
||||||
)
|
)
|
||||||
|
|
||||||
assert len(subs) == 6
|
assert len(subs) == 7
|
||||||
assert subs[3].name == "Jake Trains"
|
assert subs[3].name == "Jake Trains"
|
||||||
jake_train_overrides = subs[3].overrides.dict_with_format_strings
|
jake_train_overrides = subs[3].overrides.dict_with_format_strings
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue