[PR #5] [MERGED] Default volume 50% and --initial-volume argument #773

Closed
opened 2026-02-27 19:59:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/5
Author: @fossedihelm
Created: 12/7/2017
Status: Merged
Merged: 12/19/2017
Merged by: @ComlOnline

Base: masterHead: master


📝 Commits (8)

  • 20fc764 default volume to 50%
  • c8a2190 default volume to 20% (my config)
  • 9e51977 reset volume to 50%
  • 8313da5 --initial-volume as parameter
  • 1dc99e3 check if argument of initial-value is a number
  • ac39da6 check if argument of initial-value is in the [0,100 range
  • 94e4cd8 merge ColmOnline changes
  • de2b4cc added comments and edited README

📊 Changes

5 files changed (+46 additions, -16 deletions)

View changed files

📝 Cargo.lock (+7 -7)
📝 README.md (+6 -5)
📝 core/src/config.rs (+1 -0)
📝 src/main.rs (+30 -2)
📝 src/spirc.rs (+2 -2)

📄 Description

You can set initial volume to a value in [0-100].
e.g.
target/release/librespot --name DEVICENAME --initial-volume 40
If not present the default volume will be 50% instead of 100%. IMO this allows user to have a better control: you can turn up and down the volume (before you can only turn it down).


🔄 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/librespot-org/librespot/pull/5 **Author:** [@fossedihelm](https://github.com/fossedihelm) **Created:** 12/7/2017 **Status:** ✅ Merged **Merged:** 12/19/2017 **Merged by:** [@ComlOnline](https://github.com/ComlOnline) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (8) - [`20fc764`](https://github.com/librespot-org/librespot/commit/20fc7649166feac0ca4008c0873304edc4dfafeb) default volume to 50% - [`c8a2190`](https://github.com/librespot-org/librespot/commit/c8a2190e9e35cab6de4bdaaa83b4e54dd9751c83) default volume to 20% (my config) - [`9e51977`](https://github.com/librespot-org/librespot/commit/9e51977885afc5ca2c02ab71cedbc24ae9604ea7) reset volume to 50% - [`8313da5`](https://github.com/librespot-org/librespot/commit/8313da522b835b98130298ec42678653b21ebc82) --initial-volume as parameter - [`1dc99e3`](https://github.com/librespot-org/librespot/commit/1dc99e3a15043c84f55beba607eeb686ec07858d) check if argument of initial-value is a number - [`ac39da6`](https://github.com/librespot-org/librespot/commit/ac39da6c97303fde8267b0fc31f183b34257594e) check if argument of initial-value is in the [0,100 range - [`94e4cd8`](https://github.com/librespot-org/librespot/commit/94e4cd853a90f385fc9e74b9391cdc03931b2bba) merge ColmOnline changes - [`de2b4cc`](https://github.com/librespot-org/librespot/commit/de2b4cc8e38ab33d440e60d822d8833ba9602b8c) added comments and edited README ### 📊 Changes **5 files changed** (+46 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+7 -7) 📝 `README.md` (+6 -5) 📝 `core/src/config.rs` (+1 -0) 📝 `src/main.rs` (+30 -2) 📝 `src/spirc.rs` (+2 -2) </details> ### 📄 Description You can set initial volume to a value in [0-100]. e.g. `target/release/librespot --name DEVICENAME --initial-volume 40` If not present the default volume will be 50% instead of 100%. IMO this allows user to have a better control: you can turn up and down the volume (before you can only turn it down). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:59:52 +03:00
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/librespot#773
No description provided.