many changes
This commit is contained in:
@@ -146,6 +146,23 @@ pub trait MediaRepository: Send + Sync {
|
||||
options: Option<ImageOptions>,
|
||||
) -> String;
|
||||
|
||||
/// Get subtitle URL (synchronous - just constructs URL)
|
||||
fn get_subtitle_url(
|
||||
&self,
|
||||
item_id: &str,
|
||||
media_source_id: &str,
|
||||
stream_index: i32,
|
||||
format: &str,
|
||||
) -> String;
|
||||
|
||||
/// Get video download URL (synchronous - just constructs URL)
|
||||
fn get_video_download_url(
|
||||
&self,
|
||||
item_id: &str,
|
||||
quality: &str,
|
||||
media_source_id: Option<&str>,
|
||||
) -> String;
|
||||
|
||||
/// Mark item as favorite
|
||||
async fn mark_favorite(&self, item_id: &str) -> Result<(), RepoError>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user