aboutsummaryrefslogtreecommitdiff
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/src/stream_info.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/stream/src/stream_info.rs b/stream/src/stream_info.rs
index 288ea5c..790d342 100644
--- a/stream/src/stream_info.rs
+++ b/stream/src/stream_info.rs
@@ -1,3 +1,9 @@
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2025 metamuffin <metamuffin.org>
+*/
+use crate::SMediaInfo;
use anyhow::Result;
use ebml_struct::matroska::TrackEntry;
use jellybase::{
@@ -18,8 +24,6 @@ use tokio::{
task::spawn_blocking,
};
-use crate::SMediaInfo;
-
async fn async_matroska_metadata(path: PathBuf) -> Result<Arc<MatroskaMetadata>> {
Ok(spawn_blocking(move || matroska_metadata(&path)).await??)
}