Skip to content

Use explicit Mopidy.js calling convention #79

Closed
@jodal

Description

@jodal

In Mopidy.js 0.4 / Mopidy 0.19 a new "calling convention" setting was added to Mopidy.js. See https://docs.mopidy.com/en/latest/api/js/#creating-an-instance for details.

It seems MusicBox-Webclient still doesn't explicitly set the calling convention of Mopidy.js, so it defaults to "by-position-only". This default will change in the future, and when that happens, MusicBox-Webclient will break as is.

In the Mopidy.js docs, there's some motivation for changing to the new alternative calling convention, "by-position-or-by-name". The migration to it can be as simple as adding [] brackets around all existing Mopidy.js calls.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions