Skip to content

Releases: jmbannon/ytdl-sub

ytdl-sub 2024.10.06

06 Oct 04:29
1499d74
Compare
Choose a tag to compare

[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

05 Oct 08:07
28c2968
Compare
Choose a tag to compare

[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

01 Oct 05:18
2417bec
Compare
Choose a tag to compare

[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

30 Sep 05:42
f2ec26d
Compare
Choose a tag to compare

[BUGFIX] Fix variable collision when disabling plugins (#1072)

Fixes #1071

ytdl-sub 2024.09.29

29 Sep 15:46
1b57d79
Compare
Choose a tag to compare

[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

26 Sep 06:32
79ba600
Compare
Choose a tag to compare

[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

20 Sep 21:31
6510fd0
Compare
Choose a tag to compare

[BACKEND] Add /usr/local/bin/ffmpeg as possible default location (#1056)

For better cross-platform support

ytdl-sub 2024.09.20

20 Sep 16:27
10cb82a
Compare
Choose a tag to compare

[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.

ytdl-sub 2024.09.18

18 Sep 03:28
7599483
Compare
Choose a tag to compare

[BACKEND] get_file_md5_hash: read small blocks instead of the entire file (#1052)

This prevents MemoryError when running on systems with less memory than the file being processed.

Fixes #1051. Thanks @parkr

ytdl-sub 2024.09.08

08 Sep 20:23
941fa43
Compare
Choose a tag to compare

[BUGFIX] Find ext when info.json wrong (#1045)

Fixes a bug where YouTube's info.json sometimes say ext: mkv but download is not mkv. Thanks @0xBLERKO for the contribution!