about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/yt/src/update/updater.rs3
-rw-r--r--crates/yt_dlp/src/info_json.rs10
-rw-r--r--crates/yt_dlp/src/options.rs10
-rw-r--r--crates/yt_dlp/src/post_processors/mod.rs3
-rw-r--r--crates/yt_dlp/src/python_error.rs10
5 files changed, 34 insertions, 2 deletions
diff --git a/crates/yt/src/update/updater.rs b/crates/yt/src/update/updater.rs
index 27fda4e..75d12dc 100644
--- a/crates/yt/src/update/updater.rs
+++ b/crates/yt/src/update/updater.rs
@@ -20,7 +20,8 @@ use log::{Level, debug, error, log_enabled};
 use serde_json::json;
 use tokio_util::task::LocalPoolHandle;
 use yt_dlp::{
-    info_json::InfoJson, json_cast, json_get, options::YoutubeDLOptions, process_ie_result, python_error::PythonError,
+    info_json::InfoJson, json_cast, json_get, options::YoutubeDLOptions, process_ie_result,
+    python_error::PythonError,
 };
 
 use crate::{
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};