Feature request: expand backend-interrogation API #1507
Labels
A-core
Area: Core layer
C-enhancement
Category: A PR with an enhancement or an issue with an enhancement proposal
It would be useful if frontend extensions could get an indication of which features are supported by each backend that has been loaded, in order to adapt the UI accordingly.
Some of this is already available in
mopidy.backend.Backend
:has_library
has_library_browse
has_playback
has_playlists
This could probably be extended with things like:
can_be_searched
can_be_persisted
(assuming core: Persist mopidy state between runs. Fix #310 #1376 lands)can_be_refreshed
get_icon
(pictographic representation to identify the backend on-screen).is_stream
(gives an indication that tracks probably can't be seeked).P.S. I think we've discussed this somewhere before but I couldn't find the relevant issue / thread just now, apologies if this is a duplicate.
The text was updated successfully, but these errors were encountered: