diff --git a/transcoder/src/identify.rs b/transcoder/src/identify.rs index 65326fb7..a9650f8e 100644 --- a/transcoder/src/identify.rs +++ b/transcoder/src/identify.rs @@ -34,8 +34,7 @@ pub struct Chapter { /// The end time of the chapter (in second from the start of the episode). end: f32, /// The name of this chapter. This should be a human-readable name that could be presented to the user. - name: String - // TODO: add a type field for Opening, Credits... + name: String, // TODO: add a type field for Opening, Credits... } pub fn identify(_path: String) -> Result { diff --git a/transcoder/src/main.rs b/transcoder/src/main.rs index e8df8f04..8692c271 100644 --- a/transcoder/src/main.rs +++ b/transcoder/src/main.rs @@ -10,7 +10,7 @@ use error::ApiError; use utoipa::OpenApi; use crate::{ - identify::{identify, MediaInfo, Track, Chapter}, + identify::{identify, Chapter, MediaInfo, Track}, transcode::{Quality, Transcoder}, }; mod error;