Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a54f5c6bd | |||
| 732001771e | |||
| 0823168167 | |||
| cdf4f611fc | |||
|
|
ee10c9fa55 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -632,7 +632,7 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
||||
|
||||
[[package]]
|
||||
name = "ferrosonic"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ferrosonic"
|
||||
version = "0.2.0"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
description = "A terminal-based Subsonic music client with bit-perfect audio playback"
|
||||
license = "MIT"
|
||||
|
||||
@@ -45,6 +45,7 @@ Build dependencies (needed to compile from source):
|
||||
|---|---|---|---|
|
||||
| **Rust toolchain** | `rustup` | via rustup.rs | via rustup.rs |
|
||||
| **pkg-config** | `pkgconf` | `pkgconf-pkg-config` | `pkg-config` |
|
||||
| **OpenSSL dev headers** | `openssl` | `openssl-devel` | `libssl-dev` |
|
||||
| **D-Bus dev headers** | `dbus` | `dbus-devel` | `libdbus-1-dev` |
|
||||
|
||||
### Quick Install
|
||||
@@ -52,7 +53,7 @@ Build dependencies (needed to compile from source):
|
||||
Supports Arch, Fedora, and Debian/Ubuntu. Installs dependencies, Rust (if needed), builds from source, and installs to `/usr/local/bin/`:
|
||||
|
||||
```bash
|
||||
curl -sSf https://github.com/jaidaken/ferrosonic/raw/branch/master/install.sh | sh
|
||||
curl -sSf https://raw.githubusercontent.com/jaidaken/ferrosonic/master/install.sh | sh
|
||||
```
|
||||
|
||||
### Manual Build
|
||||
|
||||
@@ -156,6 +156,7 @@ fn render_tree(frame: &mut Frame, area: Rect, state: &mut AppState, colors: &The
|
||||
}
|
||||
|
||||
let mut list_state = ListState::default();
|
||||
*list_state.offset_mut() = state.artists.tree_scroll_offset;
|
||||
if focused {
|
||||
list_state.select(state.artists.selected_index);
|
||||
}
|
||||
@@ -267,6 +268,7 @@ fn render_songs(frame: &mut Frame, area: Rect, state: &mut AppState, colors: &Th
|
||||
}
|
||||
|
||||
let mut list_state = ListState::default();
|
||||
*list_state.offset_mut() = state.artists.song_scroll_offset;
|
||||
if focused {
|
||||
list_state.select(artists.selected_song);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user