Skip to content

finnyb/javampd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaMPD

Maven Central Coverage Maintainability Rating

SonarCloud

Java API for controlling the Music Player Daemon (MPD)

Maven Dependency:

<dependency>
  <groupId>com.inthebacklog</groupId>
  <artifactId>javampd</artifactId>
  <version>7.3.0</version>
</dependency>

Snapshot repo:

<repositories>
    <repository>
        <id>oss.sonatype.org-snapshot</id>
        <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

To connect to mpd using the defaults of localhost and port 6600

MPD mpd = MPD.builder().build();

or build to your environment

MPD mpd = MPD.builder()
        .server("yourserver")
        .port(yourport)
        .password(yourpassword)
        .build();

Full documentation can be found here

About

Java API for controlling the Music Player Daemon (MPD)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages