sounds.schedules ================ .. py:module:: sounds.schedules Classes ------- .. autoapisummary:: sounds.schedules.ScheduleService Module Contents --------------- .. py:class:: ScheduleService(session: aiohttp.ClientSession, logger: logging.Logger | None = None, timeout: Optional[aiohttp.ClientTimeout] = None, mock_session: bool = False, **kwargs) Bases: :py:obj:`sounds.base.Base` Base class for other classes to inherit shared session and state .. py:method:: get_schedule(station_id: str, date: str | None = None) -> sounds.models.Schedule | None :async: .. py:method:: current_programme(station_id: str) -> Optional[sounds.models.LiveProgramme] :async: .. py:method:: recently_played_items(station_id: str, image_size=450, results=10) -> list[sounds.models.Segment] :async: Gets the recent playing items on this station .. py:method:: currently_playing_song(station_id, image_size=450) -> sounds.models.Segment | None :async: Gets the currently playing song, if one is playing.