Skip to content

Commit

Permalink
go1.16 is new minimum due to "io", clarify readme deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spezifisch committed Oct 25, 2023
1 parent a5307c2 commit 4c68cee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.15", "1.21"]
go: ["1.16", "1.21"]

runs-on: ubuntu-latest

Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![stmp](https://img.shields.io/aur/version/stmp)](https://aur.archlinux.org/packages/stmp/)
[![stmp-git](https://img.shields.io/aur/version/stmp-git)](https://aur.archlinux.org/packages/stmp-git/)
[![GitHub license](https://img.shields.io/github/license/wildeyedskies/stmp)](https://github.com/wildeyedskies/stmp/blob/main/LICENSE)

# STMP (subsonic terminal music player)

A terminal client for *sonic music servers. Inspired by ncmpcpp.

[![stmp](https://img.shields.io/aur/version/stmp)](https://aur.archlinux.org/packages/stmp/)
[![stmp-git](https://img.shields.io/aur/version/stmp-git)](https://aur.archlinux.org/packages/stmp-git/)
[![GitHub license](https://img.shields.io/github/license/wildeyedskies/stmp)](https://github.com/wildeyedskies/stmp/blob/main/LICENSE)

## Features

* browse by folder
Expand All @@ -14,19 +14,22 @@ A terminal client for *sonic music servers. Inspired by ncmpcpp.

## Dependencies

* libmpv-dev (build)
* [mpv](https://mpv.io)
[mpv](https://mpv.io):

* Linux (Debian/Ubuntu): `apt install libmpv libmpv-dev`
* MacOS (Homebrew): `brew install mpv` (not the cask)

Go build dependencies

* Go 1.16+
* [tview](https://github.com/rivo/tview)
* [go-mpv](https://github.com/yourok/go-mpv/mpv)

### OSX path setup

On OSX if you installed mpv with brew you'll need to set the following paths
On OSX if you installed mpv with brew you may need to set the following paths:

```
```shell
export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH
export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH
```
Expand Down Expand Up @@ -56,6 +59,7 @@ scrobble = true # Use Subsonic scrobbling for last.fm/ListenBrainz (default: f

## Usage

* Q - quit
* 1 - folder view
* 2 - queue view
* 3 - playlist view
Expand All @@ -71,4 +75,4 @@ scrobble = true # Use Subsonic scrobbling for last.fm/ListenBrainz (default: f
* N - Continue search backwards
* r - refresh the list (if in artist directory, only refreshes that artist)
* s - add 50 random songs to the queue
* y - toggle star on song
* y - toggle star on song

0 comments on commit 4c68cee

Please sign in to comment.