[PR #203] Add metadata to fifo pipe output #246

Open
opened 2026-02-28 14:26:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devgianlu/go-librespot/pull/203
Author: @iVolt1
Created: 9/7/2025
Status: 🔄 Open

Base: masterHead: metadata-pipe


📝 Commits (10+)

  • 32cc168 Add metadata piping and daemon control enhancements
  • 2cb7127 Add metadata piping and daemon control enhancements
  • f12d7b4 Add metadata piping and daemon control enhancements
  • 96b4688 Add metadata piping and daemon control enhancements
  • 49d2f04 Add metadata piping and daemon control enhancements
  • ff25da7 Add metadata piping and daemon control enhancements
  • 3ec9a15 Merge branch 'devgianlu:master' into metadata-pipe
  • d44c298 pipe metadata and play/next fix
  • ea02188 Merge branch 'devgianlu:master' into metadata-pipe
  • 3c7e5df Merge branch 'devgianlu:master' into metadata-pipe

📊 Changes

9 files changed (+874 additions, -4 deletions)

View changed files

📝 .gitignore (+4 -1)
📝 cmd/daemon/controls.go (+174 -0)
📝 cmd/daemon/main.go (+26 -2)
📝 cmd/daemon/player.go (+27 -1)
📝 config_schema.json (+28 -0)
metadata/fifo.go (+210 -0)
metadata/metadata.go (+263 -0)
metadata/player_wrapper.go (+121 -0)
📝 player/player.go (+21 -0)

📄 Description

Add metadata to fifo pipe output as requested in: Add metadata output to a pipe as it is in librespot-java #157

Functionally this works very well showing track info, duration and timing, and artwork when piped into owntone and the Home Assistant dashboard when running when running in an addon.

I used AI to help write it and don't see any issues at this point. This is my first pull request so I expect there will be nits and other issues, but I will do will what I can to help push this forward.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/devgianlu/go-librespot/pull/203 **Author:** [@iVolt1](https://github.com/iVolt1) **Created:** 9/7/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `metadata-pipe` --- ### 📝 Commits (10+) - [`32cc168`](https://github.com/devgianlu/go-librespot/commit/32cc168b9db12be8a6fb91b80a847e138bcb1d25) Add metadata piping and daemon control enhancements - [`2cb7127`](https://github.com/devgianlu/go-librespot/commit/2cb712742246425f1ca8923d884556f198e23515) Add metadata piping and daemon control enhancements - [`f12d7b4`](https://github.com/devgianlu/go-librespot/commit/f12d7b40012cd09dff8dde1a43b82903143cdfec) Add metadata piping and daemon control enhancements - [`96b4688`](https://github.com/devgianlu/go-librespot/commit/96b46885f1fef4152f542d68f324aacfda894b58) Add metadata piping and daemon control enhancements - [`49d2f04`](https://github.com/devgianlu/go-librespot/commit/49d2f04895c5c7f7fc902dbe9f6c2c9f1c6d25ba) Add metadata piping and daemon control enhancements - [`ff25da7`](https://github.com/devgianlu/go-librespot/commit/ff25da77795f1a6c9176a13ff4d5421189a778ee) Add metadata piping and daemon control enhancements - [`3ec9a15`](https://github.com/devgianlu/go-librespot/commit/3ec9a15cd978c8bb399b0a36b947d89333d14728) Merge branch 'devgianlu:master' into metadata-pipe - [`d44c298`](https://github.com/devgianlu/go-librespot/commit/d44c298010226855c6971eb0fd5bcd9e1482b2f5) pipe metadata and play/next fix - [`ea02188`](https://github.com/devgianlu/go-librespot/commit/ea021882330978ad45766c0763e39b6f7eeda279) Merge branch 'devgianlu:master' into metadata-pipe - [`3c7e5df`](https://github.com/devgianlu/go-librespot/commit/3c7e5dfaa755e4304d9253af703b158d980e7ff4) Merge branch 'devgianlu:master' into metadata-pipe ### 📊 Changes **9 files changed** (+874 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+4 -1) 📝 `cmd/daemon/controls.go` (+174 -0) 📝 `cmd/daemon/main.go` (+26 -2) 📝 `cmd/daemon/player.go` (+27 -1) 📝 `config_schema.json` (+28 -0) ➕ `metadata/fifo.go` (+210 -0) ➕ `metadata/metadata.go` (+263 -0) ➕ `metadata/player_wrapper.go` (+121 -0) 📝 `player/player.go` (+21 -0) </details> ### 📄 Description Add metadata to fifo pipe output as requested in: Add metadata output to a pipe as it is in librespot-java #157 Functionally this works very well showing track info, duration and timing, and artwork when piped into owntone and the Home Assistant dashboard when running when running in an addon. I used AI to help write it and don't see any issues at this point. This is my first pull request so I expect there will be nits and other issues, but I will do will what I can to help push this forward. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#246
No description provided.