mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 13:44:33 -04:00
Lint rust files
This commit is contained in:
parent
3ab76006af
commit
3778b2148c
@ -34,8 +34,7 @@ pub struct Chapter {
|
|||||||
/// The end time of the chapter (in second from the start of the episode).
|
/// The end time of the chapter (in second from the start of the episode).
|
||||||
end: f32,
|
end: f32,
|
||||||
/// The name of this chapter. This should be a human-readable name that could be presented to the user.
|
/// The name of this chapter. This should be a human-readable name that could be presented to the user.
|
||||||
name: String
|
name: String, // TODO: add a type field for Opening, Credits...
|
||||||
// TODO: add a type field for Opening, Credits...
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn identify(_path: String) -> Result<MediaInfo, std::io::Error> {
|
pub fn identify(_path: String) -> Result<MediaInfo, std::io::Error> {
|
||||||
|
@ -10,7 +10,7 @@ use error::ApiError;
|
|||||||
use utoipa::OpenApi;
|
use utoipa::OpenApi;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
identify::{identify, MediaInfo, Track, Chapter},
|
identify::{identify, Chapter, MediaInfo, Track},
|
||||||
transcode::{Quality, Transcoder},
|
transcode::{Quality, Transcoder},
|
||||||
};
|
};
|
||||||
mod error;
|
mod error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user