mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-25 16:22:23 +01:00
Feature/stream display (#725)
* Added User comment to stream display *Added EPG to stream display * Added Stream display hide fields config * fixed live/vod session ttl bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
model::{
|
||||
ConfigTargetOptions, LibraryMetadataFormat, MetadataUpdateConfigDto, ProcessingOrder,
|
||||
ClusterFlags, ConfigTargetOptions, LibraryMetadataFormat, MetadataUpdateConfigDto, ProcessingOrder,
|
||||
RuntimeConfigReportFormat, VideoConfigDto,
|
||||
},
|
||||
utils::{
|
||||
@@ -34,6 +34,8 @@ pub const fn is_default_runtime_config_report_format(value: &RuntimeConfigReport
|
||||
matches!(value, RuntimeConfigReportFormat::Yaml)
|
||||
}
|
||||
|
||||
pub fn is_cluster_optional(cf: &Option<ClusterFlags>) -> bool { cf.is_none_or(|c| c.is_all()) }
|
||||
|
||||
// Default delay values for resolving VOD or Series requests,
|
||||
// used to prevent frequent requests that could trigger a provider ban.
|
||||
pub const fn default_resolve_delay_secs() -> u16 { 2 }
|
||||
|
||||
Reference in New Issue
Block a user