Crate switchy_upnp

Source

Modules§

api
listener
models
player

Structs§

Device
A UPnP Device. It stores its Uri and a DeviceSpec, which contains information like the device type and its list of inner devices and services.
DeviceSpec
Information about a device.
MediaInfo
PositionInfo
Service
A UPnP Service is the description of endpoints on a device for performing actions and reading the service definition. For a list of actions and state variables the service provides, take a look at scpd.
TrackMetadata
TrackMetadataItem
TrackMetadataItemResource
TransportInfo
UpnpDeviceScanner
Uri
The URI component of a request.

Enums§

ActionError
ScanError
SearchTarget
Specify what SSDP control points to search for
UpnpDeviceScannerError

Functions§

devices
duration_to_string
get_device
Errors
get_device_and_service
Errors
get_device_and_service_from_url
Errors
get_device_from_url
Errors
get_media_info
Errors
get_position_info
Errors
get_service
Errors
get_transport_info
Errors
get_volume
Errors
pause
Errors
play
Errors
scan_device
scan_devices
Errors
scan_service
Errors
seek
Errors
set_av_transport_uri
Errors
set_volume
Errors
stop
Errors
str_to_duration
Panics
subscribe_events
Errors