Skip to content
delthasPublic

About

A tiny cross-platform library for extracting information about the music/image/video that is current playing on the system.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

go-libnp GoDoc

A tiny cross-platform library for extracting information about the music/image/video that is Now Playing on the system. No CGo required!

Supported OS:

  • Windows (using GlobalSystemMediaTransportControlsSessionManager)
  • Linux (using plain Go: DBus/MPRIS)

This is essentially libnp rewritten in plain Go.

Usage

The API is well-documented in its GoDoc

info, err := libnp.GetInfo(context.Background())
fmt.Println(info.Album)

Status

Used in small-scale production environments.

The API could be slightly changed in backwards-incompatible ways for now.

  • Add darwin
  • Add web

License

MIT

About

A tiny cross-platform library for extracting information about the music/image/video that is current playing on the system.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages