OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
radio.streaming_radio_browser.StreamingRadioBrowser Class Reference

Own one presentation session while playback remains application-owned. More...

Inheritance diagram for radio.streaming_radio_browser.StreamingRadioBrowser:
ui.radio.streaming_radio_session_if.StreamingRadioRequestHandlerIf

Public Member Functions

None activate (self, StreamingRadioUiIf view)
 Bind the frontend and refresh the retained browsing mode.
None deactivate (self)
 Retire deliveries without stopping application-owned audio playback.
None close (self)
 Permanently retire this browser, including callbacks already queued.
None request_mode (self, StreamingRadioBrowseMode mode)
 Load a mode asynchronously; superseded directory results are discarded.
None request_play (self, str station_id)
 Request playback of a displayed station.
None request_stop (self)
 Request that streaming playback stop.
None request_toggle_favorite (self, str station_id)
 Toggle a displayed station's persisted favorite membership.
None request_artwork (self, str station_id)
 Request display artwork for one station.

Detailed Description

Own one presentation session while playback remains application-owned.

Member Function Documentation

◆ request_artwork()

None radio.streaming_radio_browser.StreamingRadioBrowser.request_artwork ( self,
str station_id )

Request display artwork for one station.

Parameters
station_idStable station identifier from display state.

Reimplemented from ui.radio.streaming_radio_session_if.StreamingRadioRequestHandlerIf.

◆ request_play()

None radio.streaming_radio_browser.StreamingRadioBrowser.request_play ( self,
str station_id )

Request playback of a displayed station.

Parameters
station_idStable station identifier from display state.

Reimplemented from ui.radio.streaming_radio_session_if.StreamingRadioRequestHandlerIf.

◆ request_toggle_favorite()

None radio.streaming_radio_browser.StreamingRadioBrowser.request_toggle_favorite ( self,
str station_id )

Toggle a displayed station's persisted favorite membership.

Parameters
station_idStable station identifier from display state.

Reimplemented from ui.radio.streaming_radio_session_if.StreamingRadioRequestHandlerIf.


The documentation for this class was generated from the following file:
  • controllers/radio/streaming_radio_browser.py