playlist.metadata.last_refresh = int(time())
async def get_radio_metadata(self, radio: Radio) -> None:
- # pylint: disable=no-self-use
"""Get/update rich metadata for a radio station."""
# NOTE: we do not have any metadata for radiso so consider this future proofing ;-)
radio.metadata.last_refresh = int(time())
def __post_serialize__(self, d: Dict[Any, Any]) -> Dict[Any, Any]:
"""Exclude internal fields from dict."""
- # pylint: disable=no-self-use
d.pop("data")
d.pop("expires")
d.pop("queue_id")
:param media_types: A list of media_types to include. All types if None.
:param limit: Number of items to return in the search (per type).
"""
- # pylint: disable=no-self-use
# TODO: search for radio stations
return []
# fixme - project is in development phase
disable=
format,
- abstract-class-little-used,
abstract-method,
cyclic-import,
duplicate-code,