Skip to content

Client and DSL wrapped around WebSockets for controlling mopidy

License

Notifications You must be signed in to change notification settings

EAGrahamJr/mopidy-kontrol

Repository files navigation

mopidy-kontrol

A simple client for controlling mopidy. This uses the Web Socket interface.

Java Docs

Just Build Kotlin Java Apache License

Again, WHY??

Yet another small concoction to integrate with my "Kobots" robotic/home-automation/hardware-ish hacking projects. The idea is to not build a fully functional, do-everything client: that's been done (as usual with OSS, to overkill 😀).

The idea is to just stop/start/play/pause/volume/mute and that's it. It's to be used in the ecosystem to just barely manage playback via external "events" (e.g. a button on my mad BBoard project). This is being built out as a library, so I can change my mind about where it's used later...

JSON serialization is done via the "reference" implementation from org.json

TODO

Stuff maybe...

  • get/set mixer values
  • parse events

Building

This project uses Gradle, so the only thing you need is a compatible JDK1. Additionally, because the project is Kotlin and uses the Kotlin Gradle plugin, a Kotlin installation is also not necessary.

A default build will use the gradle-plugins to publish to the "local" Maven repository.

Documentation is created via the dokka plugin: Javadocs are created on build (but not published, yet).


1Java 17 is the current build target.

About

Client and DSL wrapped around WebSockets for controlling mopidy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages