adapter-jellyfin: media provider
This commit is contained in:
10
crates/adapters/jellyfin/src/config.rs
Normal file
10
crates/adapters/jellyfin/src/config.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
/// Connection details for a single Jellyfin instance.
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct JellyfinConfig {
|
||||
/// e.g. `"http://192.168.1.10:8096"` -- no trailing slash.
|
||||
pub base_url: String,
|
||||
/// Jellyfin API key (Settings -> API Keys).
|
||||
pub api_key: String,
|
||||
/// The Jellyfin user ID used for library browsing.
|
||||
pub user_id: String,
|
||||
}
|
||||
Reference in New Issue
Block a user