Releases: jmbannon/ytdl-sub
ytdl-sub 2024.10.06
[FEATURE] Override variable support in ytdl_options (#1087)
Adds the ability to use override variables in the ytdl_options section of the config.
ytdl-sub 2024.10.05.post1
[FEATURE] Filter Keywords prebuilt preset (#1086)
Adds Filter Keywords
, a preset that can include or exclude media with any of the listed keywords. Both keywords and title/description are lower-cased before filtering.
Supports the following override variables:
title_include_keywords
title_exclude_keywords
description_include_keywords
description_exclude_keywords
For best usage, use the ~
tilda subscription mode to set a subscription's list override variables.
Tilda mode allows override variables to be set directly underneath it.
Plex TV Show by Date | Filter Keywords:
= Documentaries:
"~NOVA PBS":
url: "https://www.youtube.com/@novapbs"
title_exclude_keywords:
- "preview"
- "trailer"
"~To Catch a Smuggler":
url: "https://www.youtube.com/@NatGeo"
title_include_keywords:
- "To Catch a Smuggler"
ytdl-sub 2024.10.01.post2
[BACKEND] Bump yt-dlp from 2024.8.6 to 2024.9.27 (#1077)
Bumps yt-dlp from 2024.8.6 to 2024.9.27.
updated-dependencies:
- dependency-name: yt-dlp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] [email protected]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ytdl-sub 2024.09.30
ytdl-sub 2024.09.29
[BREAKING CHANGE] Remove regex plugin (#1067)
Regex plugin has been removed in favor of scripting. The function regex_capture_many has been created to replicate the plugin's behavior. See the following converted example:
regex, now deprecated
regex:
from:
title:
match:
- ".*? - (.*)" # Captures 'Song' from 'Emily Hopkins - Some - Song'
capture_group_names:
- "captured_track_title"
capture_group_defaults:
- "{title}"
overrides:
track_title: "{captured_track_title}"
scripting equivalent
overrides:
# Captures 'Song' from 'Emily Hopkins - Some - Song'
captured_track_title: >-
{
%regex_capture_many(
title,
[ ".*? - (.*)" ],
[ title ]
)
}
track_title: "{%array_at(captured_track_title, 1)}"
Motivation:
Regex was a unique plugin that added custom variables based on user input. This made the backend need to support both overrides
and 'plugin user variables'. Removing regex
plugin will consolidate this logic into only overrides
, making it much easier to maintain.
ytdl-sub 2024.09.26.post2
[BACKEND] Proper functions with docstrings (#1061)
Reimplement some of the 'hidden' functions, including %regex_capture_many
, as standard functions with docstrings
ytdl-sub 2024.09.20.post1
[BACKEND] Add /usr/local/bin/ffmpeg as possible default location (#1056)
For better cross-platform support
ytdl-sub 2024.09.20
[BACKEND] %contains_any
function, list + dict support for tilda overrides mode (#1054)
Adds the function %contains_any
, and list support in a tilda override subscription. The end-goal of these features are to more easily add a title exclude list, like so:
__preset__:
filter_exclude:
- "{%contains_any( %lower(title), exclude_title_strings )}"
...
Jellyfin TV Show by Date:
~History Documentaries:
url: "https://..."
exclude_title_strings:
- "trailer"
- "preview"
A proper prebuilt preset or built-in functionality will follow this change.