Ytdl-sub

Latest version: v2024.6.6

Safety actively analyzes 636060 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 38

2024.06.06

[FEATURE] Enhance music video presets using specialized map syntax (808)

Enhances the music video presets by supporting the following syntax:

`subscriptions.yaml`

__preset__:
overrides:
music_video_directory: "/music_videos"

Choose between Jellyfin/Kodi/Plex Music Videos preset:
- Plex Music Videos:
- Jellyfin Music Videos:
- Kodi Music Videos:

"Plex Music Videos":

= Pop: Sets genre tag to "Pop"
"Rick Astley": "https://www.youtube.com/playlist?list=PLlaN88a7y2_plecYoJxvRFTLHVbIVAOoc"
"Michael Jackson": "https://www.youtube.com/playlist?list=OLAK5uy_mnY03zP6abNWH929q2XhGzWD_2uKJ_n8E"

= Rock:
Prefixing with '+' puts the subscription into 'map-mode'.
Music video presets in map-mode support grouping videos into different
categories, which get set on the album field.

URLs can either be strings, or maps that can overload title, year, date
"+ Guns N' Roses":
Music Videos:
- "https://www.youtube.com/playlist?list=PLOTK54q5K4INNXaHKtmXYr6J7CajWjqeJ"
Concerts:
- title: "Live at The Ritz - New York City"
year: "1988"
url: "https://www.youtube.com/watch?v=OldpIhHPsbs"
- title: "Live at The Hollywood Bowl"
date: "2023-01-11"
url: "https://www.youtube.com/watch?v=Z7hutGlvq9I"

The 'map-mode' (denoted by `+`) lets you specify a map of music video categories. Under each category, a URL can be specified as-is or with additional metadata (title, year/date, url).

Music videos and concerts, especially older ones, are typically uploaded by random users with inconsistencies in their titles. This syntax aims to make it easy to specify individual URLs with the ability to overwrite their title and year, and group them by category.

2024.06.03.post1

[BUGFIX] Do not run all branches of `if` functions in scripts (999)

Will only run branch script code of `if` statements if the condition evaluates to that branch

2024.06.03

[FEATURE] Allow YAML maps and lists in overrides, convert to script format (956)

Adds the ability to create map and list-based override variables.

For example, you can now create lists like this:

overrides:
urls:
- "https://...1"
- "https://...2"

which is equivalent to:

overrides:
urls: >-
{
[
"https://...1",
"https://...2",
]
}


Likewise, maps can now look like:

overrides:
music_video_category:
concerts:
- "https://...1"
- "https://...2"
interviews:
- "https://...3"

which is equivalent to:

overrides:
music_video_category: >-
{
"concerts": [
"https://...1",
"https://...2"
],
"interviews": [
"https://...3"
]
}

2024.06.02.post2

[BACKEND] Include .info.json files for Music video presets (996)

Music video presets now include .info.json files by default

2024.06.02.post1

[BUGFIX] Prevent corrupt writes to download archive (983)

Attempts to make writes to the download archive safer (https://github.com/jmbannon/ytdl-sub/issues/982).

`ytdl-sub` will now *copy* the download archive from the working directory to the output directory with a temp name, then perform a *move* to store it with its final expected name. This will drastically lower the window of time where the process could die mid-write and corrupt it on the next read.

2024.05.29

[BACKEND] Bump yt-dlp from 2024.04.09 to 2024.5.27 (994)

Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2024.04.09 to 2024.5.27.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2024.04.09...2024.05.27)

---
updated-dependencies:
- dependency-name: yt-dlp
dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>

Page 1 of 38

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.