diff --git a/front/packages/ui/src/player/react-native-video.d.ts b/front/packages/ui/src/player/react-native-video.d.ts
index fd504ce8..cfb2fa2b 100644
--- a/front/packages/ui/src/player/react-native-video.d.ts
+++ b/front/packages/ui/src/player/react-native-video.d.ts
@@ -1,3 +1,23 @@
+/*
+ * Kyoo - A portable and vast media library solution.
+ * Copyright (c) Kyoo.
+ *
+ * See AUTHORS.md and LICENSE file in the project root for full license information.
+ *
+ * Kyoo is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * Kyoo is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Kyoo. If not, see .
+ */
+
// Type definitions for react-native-video 5.0
// Project: https://github.com/react-native-community/react-native-video, https://github.com/brentvatne/react-native-video
// Definitions by: HuHuanming
diff --git a/transcoder/src/main.rs b/transcoder/src/main.rs
index aad309da..9001d0ab 100644
--- a/transcoder/src/main.rs
+++ b/transcoder/src/main.rs
@@ -13,8 +13,8 @@ use crate::{
audio::*,
identify::{identify, Audio, Chapter, MediaInfo, Subtitle, Video},
state::Transcoder,
+ transcode::Quality,
video::*,
- transcode::Quality
};
mod audio;
mod error;
diff --git a/transcoder/src/transcode.rs b/transcoder/src/transcode.rs
index 3cfc7618..b1949d22 100644
--- a/transcoder/src/transcode.rs
+++ b/transcoder/src/transcode.rs
@@ -2,7 +2,6 @@ use derive_more::Display;
use rand::distributions::Alphanumeric;
use rand::{thread_rng, Rng};
use serde::Serialize;
-use utoipa::ToSchema;
use std::collections::hash_map::DefaultHasher;
use std::hash::{Hash, Hasher};
use std::path::PathBuf;
@@ -12,6 +11,7 @@ use std::str::FromStr;
use tokio::io::{AsyncBufReadExt, BufReader};
use tokio::process::{Child, Command};
use tokio::sync::watch;
+use utoipa::ToSchema;
const SEGMENT_TIME: u32 = 10;