Move video.rs into its own module
This commit is contained in:
@@ -22,11 +22,11 @@ use crate::{create_thumbnails, AppState};
|
||||
use crate::data::SortType::{NameAsc};
|
||||
use crate::error::IntoHttpError;
|
||||
use crate::tags::TagDao;
|
||||
use crate::video::StreamActor;
|
||||
use path_absolutize::*;
|
||||
use rand::prelude::SliceRandom;
|
||||
use rand::thread_rng;
|
||||
use serde::Deserialize;
|
||||
use crate::video::actors::StreamActor;
|
||||
|
||||
pub async fn list_photos<TagD: TagDao, FS: FileSystemAccess>(
|
||||
_: Claims,
|
||||
@@ -418,7 +418,6 @@ mod tests {
|
||||
use crate::{
|
||||
data::{Claims, PhotosResponse},
|
||||
testhelpers::BodyReader,
|
||||
video::StreamActor,
|
||||
AppState,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user