Selemba1000 / JavaMediaTransportControls

JMTC is a lightweight Java Library that integrates with the operating systems Media Transport capabilities
MIT License
9 stars 1 forks source link
compose-desktop compose-multiplatform java javafx media-player mpris2 nowplaying smtc tornadofx

Java Media Transport Controls (JMTC)

Overview

JMTC is a lightweight Java library that integrates a Java application with the Media Transport Controls and Now Playing elements of the operating System. The properties of the currently playing Media can easily be set and the library defines callbacks for the Media Keys(global) and the UI elements.

Features

Building Windows native library

The required library's come prebuilt, so this is only needed if you want to change native code.

Requirements

Windows 10 SDK has to be installed, and MSBuild has to be available in PATH.

Building

Just execute the gradle tasks "build native" -> "copy_release" or "copy_debug" to automatically compile and copy the library's to the required folders.

Use the task "clean_native" to clear compilation results and temp files.

License

Distributed under the MIT License. See LICENSE for more information.