0.1.4 • Published 7 years ago
leitstand-mopidy v0.1.4
leitstand-mopidy
Mopidy plugin for Leitstand
Installation
First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:
npm install leitstand-mopidy --save
Usage
leitstand
.plugin('mopidy', {
settings: {
webSocketUrl: '<URL>'
}
})
.widget('mopidy-volume', {
plugin: 'mopidy',
schedule: false,
methods: {
name: 'mixer.getVolume',
key: 'volume'
},
events: 'event:volumeChanged'
});
API
License
MIT © Sebastian Krüger