player

command
v0.0.0-...-414a22d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

player

Play music from playlist available in config.ini or from the inbuilt songs list. Add (or remove) song(s) from config.ini where each entry is key-value pair where key is the song name and value is the song's duration.

Install

  • Install in GOBIN or ~/go/bin:
go get github.com/shmsr/x/cmd/player
  • Install manually:
go build

Example

player  // Ensure config.ini is present on $PWD and GOBIN is present in your $PATH
        // If config.ini is not present, songs are played from the intenal playlist.

player expects 5 control strings from STDIN: play, pause, prev, next, exit with usual meanings

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL