2025-11-30 10:54:01 +01:00
|
|
|
mod events;
|
2025-12-01 23:10:16 +01:00
|
|
|
mod media_server_events;
|
2025-11-30 10:54:01 +01:00
|
|
|
|
2025-12-28 17:45:06 +01:00
|
|
|
pub mod queue;
|
|
|
|
|
pub mod discovery;
|
2025-11-30 23:28:30 +01:00
|
|
|
pub mod arylic_tcp;
|
2025-11-29 22:59:07 +01:00
|
|
|
pub mod avtransport_client;
|
2025-11-30 10:54:01 +01:00
|
|
|
pub mod capabilities;
|
2025-12-21 21:24:55 +01:00
|
|
|
pub mod chromecast_renderer;
|
2025-11-30 10:48:58 +01:00
|
|
|
pub mod connection_manager_client;
|
2025-11-29 18:56:11 +01:00
|
|
|
pub mod control_point;
|
2025-12-28 17:45:06 +01:00
|
|
|
pub mod errors;
|
|
|
|
|
pub mod linkplay_renderer;
|
2025-12-01 19:55:55 +01:00
|
|
|
pub mod media_server;
|
2025-11-29 17:51:53 +01:00
|
|
|
pub mod model;
|
2025-11-30 23:28:30 +01:00
|
|
|
pub mod music_renderer;
|
2025-12-17 21:41:24 +01:00
|
|
|
pub mod openhome;
|
2025-12-05 19:01:33 +01:00
|
|
|
pub mod openhome_client;
|
2025-12-05 21:59:43 +01:00
|
|
|
pub mod openhome_playlist;
|
2025-12-05 19:01:33 +01:00
|
|
|
pub mod openhome_renderer;
|
2025-12-15 11:18:58 +01:00
|
|
|
pub mod provider;
|
2025-11-29 17:51:53 +01:00
|
|
|
pub mod registry;
|
2025-11-30 23:28:30 +01:00
|
|
|
pub mod rendering_control_client;
|
2025-11-29 22:59:07 +01:00
|
|
|
pub mod soap_client;
|
2025-11-30 23:28:30 +01:00
|
|
|
pub mod upnp_renderer;
|
2025-12-28 17:45:06 +01:00
|
|
|
pub mod online;
|
|
|
|
|
pub mod identity;
|
|
|
|
|
|
2025-11-29 17:51:53 +01:00
|
|
|
|
2025-12-03 18:59:41 +01:00
|
|
|
// pmoserver extension (optional)
|
|
|
|
|
#[cfg(feature = "pmoserver")]
|
|
|
|
|
pub mod openapi;
|
|
|
|
|
#[cfg(feature = "pmoserver")]
|
|
|
|
|
pub mod pmoserver_ext;
|
|
|
|
|
#[cfg(feature = "pmoserver")]
|
|
|
|
|
pub mod sse;
|
|
|
|
|
|
2025-12-28 17:45:06 +01:00
|
|
|
use std::time::Duration;
|
|
|
|
|
|
2025-12-03 21:34:23 +01:00
|
|
|
#[cfg(feature = "pmoserver")]
|
|
|
|
|
pub use pmoserver_ext::ControlPointExt;
|
|
|
|
|
|
2025-11-30 23:28:30 +01:00
|
|
|
pub use arylic_tcp::ArylicTcpRenderer;
|
|
|
|
|
pub use avtransport_client::{AvTransportClient, PositionInfo, TransportInfo};
|
|
|
|
|
pub use capabilities::{
|
|
|
|
|
PlaybackPosition, PlaybackPositionInfo, PlaybackState, PlaybackStatus, TransportControl,
|
|
|
|
|
VolumeControl,
|
|
|
|
|
};
|
2025-12-21 21:24:55 +01:00
|
|
|
pub use chromecast_renderer::ChromecastRenderer;
|
2025-11-30 10:48:58 +01:00
|
|
|
pub use connection_manager_client::{ConnectionInfo, ConnectionManagerClient, ProtocolInfo};
|
2025-12-05 07:08:03 +01:00
|
|
|
pub use control_point::{ControlPoint, PlaylistBinding};
|
2025-12-28 17:45:06 +01:00
|
|
|
pub use linkplay_renderer::LinkPlayRenderer;
|
2025-12-01 19:55:55 +01:00
|
|
|
pub use media_server::{
|
2025-12-28 17:45:06 +01:00
|
|
|
MediaBrowser, MediaEntry, MediaResource, UpnpMediaServer,
|
2025-12-01 19:55:55 +01:00
|
|
|
};
|
2025-12-28 17:45:06 +01:00
|
|
|
pub use music_renderer::MusicRendererBackend;
|
2025-12-05 21:59:43 +01:00
|
|
|
pub use openhome_playlist::{OpenHomePlaylistSnapshot, OpenHomePlaylistTrack};
|
2025-12-05 19:01:33 +01:00
|
|
|
pub use openhome_renderer::OpenHomeRenderer;
|
2025-12-28 17:45:06 +01:00
|
|
|
pub use queue::{EnqueueMode, PlaybackItem, QueueSnapshot};
|
2025-11-30 23:28:30 +01:00
|
|
|
pub use rendering_control_client::RenderingControlClient;
|
|
|
|
|
pub use upnp_renderer::UpnpRenderer;
|
2025-11-29 18:56:11 +01:00
|
|
|
|
2025-12-01 23:10:16 +01:00
|
|
|
pub use model::{
|
2025-12-28 17:45:06 +01:00
|
|
|
MediaServerEvent, RendererCapabilities, RendererEvent, RendererInfo, RendererProtocol,
|
2025-12-01 23:10:16 +01:00
|
|
|
};
|
2025-11-29 18:56:11 +01:00
|
|
|
pub use provider::HttpXmlDescriptionProvider;
|
2025-12-28 17:45:06 +01:00
|
|
|
pub use registry::{DeviceRegistry, DeviceUpdate};
|
2025-11-29 18:56:11 +01:00
|
|
|
|
|
|
|
|
pub use soap_client::invoke_upnp_action;
|
2025-12-28 17:45:06 +01:00
|
|
|
pub use online::DeviceOnline;
|
|
|
|
|
|
|
|
|
|
pub use identity::DeviceIdentity;
|
|
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
|
|
|
|
pub struct DeviceId(pub String);
|
|
|
|
|
|
|
|
|
|
const DEFAULT_HTTP_TIMEOUT: Duration = Duration::from_secs(30);
|
|
|
|
|
|