Git Product home page Git Product logo

stmp's Introduction

STMPS (Subsonic Terminal Music Player S)

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

This fork contains all my PRs

I'm now working with @spezifisch's fork. I've submitted a number of patches; this fork contains all of those, and I plan to keep this in sync with any of @spezifisch's changes.

Features

  • browse by folder
  • queue songs and albums
  • create and play playlists
  • favorites
  • volume control
  • server-side scrobbling (e.g. on Navidrome, gonic)
  • MPRIS2 control

Screenshots

These are using Navidrome's demo server (config file).

Queue:

Queue View

Browser:

Browser View

Dependencies

mpv:

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

Go build dependencies

OSX path setup

On OSX if you installed mpv with brew you may need to set the following paths (these differ between Intel and ARM Macs):

export C_INCLUDE_PATH="$(brew --prefix)/include:$C_INCLUDE_PATH"
export LIBRARY_PATH="$(brew --prefix)/lib:$LIBRARY_PATH"

Compiling

stmp should compile normally with go build. Cgo is needed for linking with libmpv.

Configuration

stmp looks for a config file called stmp.toml in either $HOME/.config/stmp or the directory in which the executable is placed.

Example configuration

[auth]
username = 'admin'
password = 'password'
plaintext = true  # Use 'legacy' unsalted password auth. (default: false)

[server]
host = 'https://your-subsonic-host.tld'
scrobble = true   # Use Subsonic scrobbling for last.fm/ListenBrainz (default: false)

Usage

  • Q - quit
  • 1 - folder view
  • 2 - queue view
  • 3 - playlist view
  • 4 - log (errors, etc) view
  • Escape/Return - close modal if open

Playback

These are accessible in every view.

  • p - play/pause
  • P - stop
  • > - next song
  • -/= volume down/volume up
  • ,/. seek -10/+10 seconds
  • r - add 50 random songs to the queue

Browser

  • Enter - play song (clears current queue)
  • a - add album or song to queue
  • y - toggle star on song/album
  • A - add song to playlist
  • R - refresh the list (if in artist directory, only refreshes that artist)
  • / - Search artists
  • n - Continue search forward
  • N - Continue search backwards

Queue

  • d/Delete - remove currently selected song from the queue
  • D - remove all songs from queue
  • y - toggle star on song

Playlist

  • n - new playlist
  • d - delete playlist
  • a - add playlist or song to queue

Credits

  • This is a fork of STMP, see AUTHORS. I decided to rename my fork as its codebase has diverged quite a bit.

stmp's People

Contributors

wildeyedskies avatar xxxserxxx avatar quite avatar dweymouth avatar 474r4x14 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.