embystream 0.0.25

Another Emby streaming application (frontend/backend separation) written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use crate::config::types::{AntiReverseProxyConfig, PathRewriteConfig};

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Frontend {
    pub listen_port: u16,

    #[serde(default, rename = "PathRewrite")]
    pub path_rewrites: Vec<PathRewriteConfig>,

    #[serde(default, rename = "AntiReverseProxy")]
    pub anti_reverse_proxy: AntiReverseProxyConfig,
}