diff options
Diffstat (limited to 'crates/yt_dlp')
-rw-r--r-- | crates/yt_dlp/src/info_json.rs | 10 | ||||
-rw-r--r-- | crates/yt_dlp/src/options.rs | 10 | ||||
-rw-r--r-- | crates/yt_dlp/src/post_processors/mod.rs | 3 | ||||
-rw-r--r-- | crates/yt_dlp/src/python_error.rs | 10 |
4 files changed, 32 insertions, 1 deletions
diff --git a/crates/yt_dlp/src/info_json.rs b/crates/yt_dlp/src/info_json.rs index db4616d..31f4a69 100644 --- a/crates/yt_dlp/src/info_json.rs +++ b/crates/yt_dlp/src/info_json.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use rustpython::vm::{ PyRef, VirtualMachine, builtins::{PyDict, PyStr}, diff --git a/crates/yt_dlp/src/options.rs b/crates/yt_dlp/src/options.rs index 34612ac..182b8a1 100644 --- a/crates/yt_dlp/src/options.rs +++ b/crates/yt_dlp/src/options.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::env; use indexmap::IndexMap; diff --git a/crates/yt_dlp/src/post_processors/mod.rs b/crates/yt_dlp/src/post_processors/mod.rs index 575dc45..00b0ad5 100644 --- a/crates/yt_dlp/src/post_processors/mod.rs +++ b/crates/yt_dlp/src/post_processors/mod.rs @@ -109,7 +109,8 @@ class {}(yt_dlp.postprocessor.PostProcessor): inst = {}() ", $name, $name - ).as_str(), + ) + .as_str(), "<embedded post processor initializing code>".to_owned(), )?; diff --git a/crates/yt_dlp/src/python_error.rs b/crates/yt_dlp/src/python_error.rs index d1d5b2e..9513956 100644 --- a/crates/yt_dlp/src/python_error.rs +++ b/crates/yt_dlp/src/python_error.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::fmt::Display; use log::{Level, debug, log_enabled}; |