mopidy-spotify-tunigo icon indicating copy to clipboard operation
mopidy-spotify-tunigo copied to clipboard

Make extension dependent on mopidy-spotify

Open adamcik opened this issue 10 years ago • 2 comments

Not sure how fancy the check should be and if we should change anything in mopidy for this. But it would be nice if this extension disables itself when mopidy-spotify is disabled.

adamcik avatar Jan 12 '15 12:01 adamcik

I was looking at if requiring a codec (https://github.com/mopidy/mopidy/issues/891) might make sense. Could be I want the same for specifying that this backend requires something that can handle spotify uris to be installed.

adamcik avatar Jan 12 '15 12:01 adamcik

Sorry, completely forgot about this.

It would be nice if extensions could specify which URIs they provide and depend on (and possibly other things than URIs). Then Mopidy could disable extensions which doesn't have the required dependencies (either because of missing installation or because it is disabled). If this isn't too overkill, that is.

The other (simpler) solution I see is for mopidy-spotify-tunigo to read the config for spotify/enabled. Or do you have any other suggestion?

trygveaa avatar Feb 19 '15 23:02 trygveaa