Commit Graph

1341 Commits

Author SHA1 Message Date
n12n
c492094f42 fix: num-bigint-dig: future incompatibility
Some checks failed
CI / Checking linux-arm64 (push) Waiting to run
CI / Checking macos-aarch64 (push) Waiting to run
CI / Checking windows-x86_64 (push) Waiting to run
CI / Running `cargo fmt` (push) Failing after 1m8s
CI / Running `cargo clippy` (push) Failing after 5m49s
CI / Checking linux-x86_64 (push) Failing after 7m34s
num-bigint-dig: future incompatability

The following packages contain code that will be rejected
by a future version of Rust: num-bigint-dig v0.8.5
help: update to a newer version to see if the issue has been fixed
        - num-bigint-dig v0.8.5 has the following newer
	  versions available: 0.8.6, 0.9.0, 0.9.1
help: ensure the maintainers know of this problem (e.g. creating a
      bug report if needed)
      or even helping with a fix (e.g. by creating a pull request)
        - num-bigint-dig@0.8.5
        - repository: https://github.com/dignifiedquire/num-bigint
        - detailed warning command:
          `cargo report future-incompatibilities --id 1 --package num-bigint-dig@0.8.5`
2025-12-16 18:15:48 +01:00
dependabot[bot]
1b8e377e60 chore(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 09:34:11 +01:00
dependabot[bot]
e70a934c1a chore(deps): bump the cargo group with 2 updates
Bumps the cargo group with 2 updates: [libc](https://github.com/rust-lang/libc) and [log](https://github.com/rust-lang/log).


Updates `libc` from 0.2.177 to 0.2.178
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.178/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.177...0.2.178)

Updates `log` from 0.4.28 to 0.4.29
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.28...0.4.29)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.178
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: log
  dependency-version: 0.4.29
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 09:28:41 +01:00
dependabot[bot]
b786f5a6bc chore(deps): bump the cargo group with 2 updates
Bumps the cargo group with 2 updates: [clap](https://github.com/clap-rs/clap) and [clap_complete](https://github.com/clap-rs/clap).


Updates `clap` from 4.5.51 to 4.5.53
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.51...clap_complete-v4.5.53)

Updates `clap_complete` from 4.5.60 to 4.5.61
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.60...clap_complete-v4.5.61)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.53
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.61
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 09:10:49 +01:00
github-actions[bot]
f95201d5aa [create-pull-request] automated change 2025-11-15 18:31:26 +01:00
Thomas Frans
46ac2ab561 docs(README): center misaligned screenshot 2025-11-15 18:30:36 +01:00
Henrik Friedrichsen
2c3e9c0eed chore: Prepare for release 1.3.2 2025-11-11 10:49:50 +01:00
Guilherme Fontes
6d703deac3 fix: Update to latest Librespot to fix playback
* fix: adapt to librespot SpotifyUri API changes

Fixes compatibility with librespot PR #1622 which changed the API
from SpotifyId::from_uri() to SpotifyUri::from_uri().

Changes:
- Updated src/spotify_worker.rs to use SpotifyUri instead of SpotifyId
- Updated Cargo.toml to use librespot from official repository
  (merge commit a9122dcb from PR #1622)
- Regenerated Cargo.lock with updated dependencies

Fixes #1732
Depends on librespot-org/librespot#1622 (merged)

* Switch to 0.8.0 release

* Update CHANGELOG

* `cargo fmt`

---------

Co-authored-by: Guilherme Fontes <48162143+gui-baeta@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2025-11-11 10:46:15 +01:00
Henrik Friedrichsen
56520c2d8d chore(toolchain): update (#1730)
[create-pull-request] automated change

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-06 17:33:47 +00:00
dependabot[bot]
f7c8262a3c chore(deps): bump the cargo group with 4 updates (#1722)
Bumps the cargo group with 4 updates: [libc](https://github.com/rust-lang/libc), [regex](https://github.com/rust-lang/regex), [toml](https://github.com/toml-rs/toml) and [unicode-width](https://github.com/unicode-rs/unicode-width).


Updates `libc` from 0.2.176 to 0.2.177
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.177/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.176...0.2.177)

Updates `regex` from 1.11.3 to 1.12.1
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.3...1.12.1)

Updates `toml` from 0.9.7 to 0.9.8
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.9.7...toml-v0.9.8)

Updates `unicode-width` from 0.2.1 to 0.2.2
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.177
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: regex
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.9.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: unicode-width
  dependency-version: 0.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-15 11:12:18 +02:00
Thomas Frans
79d45b96f3 fix: prevent crash when song has no artist (#1720)
When loading this playlist
(https://open.spotify.com/playlist/2onE4ObADgp1NuBzciYF0Q), ncspot would
crash. The exact cause is not clear, but it seems to be caused by the
songs not being available and therefore not having a valid artist.
Therefore ensure we have a default value for artists in case one isn't
available.
2025-10-12 22:10:07 +02:00
Henrik Friedrichsen
6dcdd8dba8 chore(toolchain): update (#1712)
* [create-pull-request] automated change

* Remove unused enums

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-29 22:35:59 +02:00
dependabot[bot]
e712c17735 chore(deps): bump the cargo group across 1 directory with 6 updates
Bumps the cargo group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.47` | `4.5.48` |
| [libc](https://github.com/rust-lang/libc) | `0.2.175` | `0.2.176` |
| [regex](https://github.com/rust-lang/regex) | `1.11.2` | `1.11.3` |
| [serde](https://github.com/serde-rs/serde) | `1.0.223` | `1.0.228` |
| [toml](https://github.com/toml-rs/toml) | `0.9.5` | `0.9.7` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.57` | `4.5.58` |



Updates `clap` from 4.5.47 to 4.5.48
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.47...clap_complete-v4.5.48)

Updates `libc` from 0.2.175 to 0.2.176
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.176/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.175...0.2.176)

Updates `regex` from 1.11.2 to 1.11.3
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.2...1.11.3)

Updates `serde` from 1.0.223 to 1.0.228
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.223...v1.0.228)

Updates `toml` from 0.9.5 to 0.9.7
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.9.5...toml-v0.9.7)

Updates `clap_complete` from 4.5.57 to 4.5.58
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.57...clap_complete-v4.5.58)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.48
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: libc
  dependency-version: 0.2.176
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: regex
  dependency-version: 1.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: serde
  dependency-version: 1.0.228
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.9.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.58
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 11:07:50 +02:00
dependabot[bot]
e63fd4bad7 chore(deps): bump the cargo group with 4 updates
Bumps the cargo group with 4 updates: [chrono](https://github.com/chronotope/chrono), [zbus](https://github.com/dbus2/zbus), [serde](https://github.com/serde-rs/serde) and [serde_json](https://github.com/serde-rs/json).


Updates `chrono` from 0.4.41 to 0.4.42
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.41...v0.4.42)

Updates `zbus` from 5.10.0 to 5.11.0
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.10.0...zbus-5.11.0)

Updates `serde` from 1.0.219 to 1.0.223
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.223)

Updates `serde_json` from 1.0.143 to 1.0.145
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.143...v1.0.145)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.42
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: zbus
  dependency-version: 5.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: serde
  dependency-version: 1.0.223
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: serde_json
  dependency-version: 1.0.145
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 08:46:59 +01:00
anangryraven
8e3e107bdf fix: do not crash when shift > queue len (#1705)
note this preserves behaviour of shifting by negative numbers in either direction

changelog also updated accordingly
2025-09-12 20:55:59 +01:00
dependabot[bot]
6799c188be chore(deps): bump the cargo group with 2 updates
Bumps the cargo group with 2 updates: [clap](https://github.com/clap-rs/clap) and [log](https://github.com/rust-lang/log).


Updates `clap` from 4.5.46 to 4.5.47
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.46...clap_complete-v4.5.47)

Updates `log` from 0.4.27 to 0.4.28
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.27...0.4.28)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.47
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: log
  dependency-version: 0.4.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 10:03:04 +02:00
dependabot[bot]
4e36c27dda chore(deps): bump the cargo group with 4 updates (#1696)
* chore(deps): bump the cargo group with 4 updates

Bumps the cargo group with 4 updates: [librespot-core](https://github.com/librespot-org/librespot), [librespot-oauth](https://github.com/librespot-org/librespot), [librespot-playback](https://github.com/librespot-org/librespot) and [librespot-protocol](https://github.com/librespot-org/librespot).


Updates `librespot-core` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/librespot-org/librespot/releases)
- [Changelog](https://github.com/librespot-org/librespot/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/librespot-org/librespot/compare/v0.7.0...v0.7.1)

Updates `librespot-oauth` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/librespot-org/librespot/releases)
- [Changelog](https://github.com/librespot-org/librespot/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/librespot-org/librespot/compare/v0.7.0...v0.7.1)

Updates `librespot-playback` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/librespot-org/librespot/releases)
- [Changelog](https://github.com/librespot-org/librespot/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/librespot-org/librespot/compare/v0.7.0...v0.7.1)

Updates `librespot-protocol` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/librespot-org/librespot/releases)
- [Changelog](https://github.com/librespot-org/librespot/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/librespot-org/librespot/compare/v0.7.0...v0.7.1)

---
updated-dependencies:
- dependency-name: librespot-core
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: librespot-oauth
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: librespot-playback
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: librespot-protocol
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update librespot-oauth

* Update librespot-protocol

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2025-09-01 15:39:33 +02:00
Henrik Friedrichsen
2d4507dfc9 fix: Playlist retrieval if list has podcasts (#1691)
* fix: Playlist retrieval if list has podcasts

Fixes #1689

* fix: Gracefully handle unknown playable types
2025-08-28 06:16:17 +02:00
Henrik Friedrichsen
fdd05d4f3f fix: Changelog link for 1.3.1 2025-08-25 16:10:00 +02:00
Henrik Friedrichsen
904ae40768 chore: Bump version to 1.3.1 2025-08-25 16:05:25 +02:00
Henrik Friedrichsen
20a1d661cf chore: cargo update 2025-08-25 16:04:28 +02:00
Tomas Guinzburg
e5e4c97431 fix(deps): bump librespot to 0.7.0 (#1687)
* fix(deps): bump librespot to 0.7.0

* Bumps librespot to 0.7.0
* Changes worker authentication to use login5
* Solves minor API changes
* Adds alsa-lib to nix shell

* fix(ci): add libasound2 build dependency

* docs: updates changelog

* fix: Don't build with Rodio backend by default

Allow users to explicitly specify Librespot audio backend. This way we can also
drop the ALSA dependencies again.

---------

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2025-08-25 15:47:39 +02:00
dependabot[bot]
195b9fa260 chore(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:22:46 +02:00
dependabot[bot]
6b7da71979 chore(deps): bump the cargo group across 1 directory with 5 updates
Bumps the cargo group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.42` | `4.5.45` |
| [libc](https://github.com/rust-lang/libc) | `0.2.174` | `0.2.175` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.22` | `0.12.23` |
| [toml](https://github.com/toml-rs/toml) | `0.9.4` | `0.9.5` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.55` | `4.5.57` |



Updates `clap` from 4.5.42 to 4.5.45
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.42...clap_complete-v4.5.45)

Updates `libc` from 0.2.174 to 0.2.175
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.175/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.174...0.2.175)

Updates `reqwest` from 0.12.22 to 0.12.23
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.22...v0.12.23)

Updates `toml` from 0.9.4 to 0.9.5
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.9.4...toml-v0.9.5)

Updates `clap_complete` from 4.5.55 to 4.5.57
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.55...clap_complete-v4.5.57)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.45
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: libc
  dependency-version: 0.2.175
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: reqwest
  dependency-version: 0.12.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.9.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.57
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 22:10:03 +02:00
Henrik Friedrichsen
16a6a15ba2 chore: cargo fmt 2025-08-15 22:09:46 +02:00
Henrik Friedrichsen
d62e935d18 refactor: Add elided lifetime to result
See also:
- https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint
2025-08-15 22:09:46 +02:00
Henrik Friedrichsen
1f2c85f544 refactor: collapse nested if let 2025-08-15 22:09:46 +02:00
github-actions[bot]
72c96df79e [create-pull-request] automated change 2025-08-15 22:09:46 +02:00
dependabot[bot]
750e8acbe4 chore(deps): bump the cargo group across 1 directory with 10 updates
Bumps the cargo group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.41` | `4.5.42` |
| [zbus](https://github.com/dbus2/zbus) | `5.8.0` | `5.9.0` |
| [rand](https://github.com/rust-random/rand) | `0.9.1` | `0.9.2` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.140` | `1.0.142` |
| [strum](https://github.com/Peternator7/strum) | `0.27.1` | `0.27.2` |
| [strum_macros](https://github.com/Peternator7/strum) | `0.27.1` | `0.27.2` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.46.1` | `1.47.1` |
| [tokio-util](https://github.com/tokio-rs/tokio) | `0.7.15` | `0.7.16` |
| [toml](https://github.com/toml-rs/toml) | `0.9.2` | `0.9.4` |
| [clap_mangen](https://github.com/clap-rs/clap) | `0.2.28` | `0.2.29` |



Updates `clap` from 4.5.41 to 4.5.42
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.41...clap_complete-v4.5.42)

Updates `zbus` from 5.8.0 to 5.9.0
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.8.0...zbus-5.9.0)

Updates `rand` from 0.9.1 to 0.9.2
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.9.1...rand_core-0.9.2)

Updates `serde_json` from 1.0.140 to 1.0.142
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.140...v1.0.142)

Updates `strum` from 0.27.1 to 0.27.2
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/compare/v0.27.1...v0.27.2)

Updates `strum_macros` from 0.27.1 to 0.27.2
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/compare/v0.27.1...v0.27.2)

Updates `tokio` from 1.46.1 to 1.47.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.1)

Updates `tokio-util` from 0.7.15 to 0.7.16
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.15...tokio-util-0.7.16)

Updates `toml` from 0.9.2 to 0.9.4
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.9.2...toml-v0.9.4)

Updates `clap_mangen` from 0.2.28 to 0.2.29
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.28...clap_mangen-v0.2.29)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.42
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: zbus
  dependency-version: 5.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: rand
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: serde_json
  dependency-version: 1.0.142
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: strum
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: strum_macros
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: tokio
  dependency-version: 1.47.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: tokio-util
  dependency-version: 0.7.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_mangen
  dependency-version: 0.2.29
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-03 18:13:54 +02:00
dependabot[bot]
1eb3469bed chore(deps): bump the cargo group with 5 updates
---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.41
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: zbus
  dependency-version: 5.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: clap_mangen
  dependency-version: 0.2.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.55
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 19:48:47 +02:00
Henrik Friedrichsen
5d8ea1933f chore: Set up direnv 2025-07-08 10:50:57 +02:00
Henrik Friedrichsen
fbd3a574a3 chore: Release prep for 1.3.0 2025-07-08 10:20:15 +02:00
dependabot[bot]
715701af8f chore(deps): bump the cargo group with 3 updates (#1664)
* chore(deps): bump the cargo group with 3 updates

---
updated-dependencies:
- dependency-name: reqwest
  dependency-version: 0.12.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: tokio
  dependency-version: 1.46.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: rspotify
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>

* doc: Update CHANGELOG

Latest rspotify fixes problem with unknown playable types: ramsayleung/rspotify#531

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2025-07-07 11:14:48 +02:00
Elias Assaf
128ca7cb2e feat(auth): Automatically find free port
* feat: add auth_port configuration option

Signed-off-by: Elias Assaf <elyas51000@gmail.com>

* feat(auth): Automatically find free port

---------

Signed-off-by: Elias Assaf <elyas51000@gmail.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2025-07-04 13:56:54 +02:00
Henrik Friedrichsen
b843c7e721 chore: cargo clippy --fix
Reformat format strings
2025-07-03 22:27:25 +02:00
github-actions[bot]
ca94c00bca [create-pull-request] automated change 2025-07-03 22:27:25 +02:00
dependabot[bot]
fe639023ed chore(deps): bump the cargo group across 1 directory with 2 updates (#1661)
Bumps the cargo group with 2 updates in the / directory: [arboard](https://github.com/1Password/arboard) and [libc](https://github.com/rust-lang/libc).


Updates `arboard` from 3.5.0 to 3.6.0
- [Release notes](https://github.com/1Password/arboard/releases)
- [Changelog](https://github.com/1Password/arboard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/1Password/arboard/compare/v3.5.0...v3.6.0)

Updates `libc` from 0.2.173 to 0.2.174
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.174/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.173...0.2.174)

---
updated-dependencies:
- dependency-name: arboard
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: libc
  dependency-version: 0.2.174
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 14:43:15 +02:00
dependabot[bot]
bba6092eec chore(deps): bump the cargo group with 6 updates (#1658)
Bumps the cargo group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.39` | `4.5.40` |
| [libc](https://github.com/rust-lang/libc) | `0.2.172` | `0.2.173` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.19` | `0.12.20` |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | `0.2.0` | `0.2.1` |
| [clap_mangen](https://github.com/clap-rs/clap) | `0.2.26` | `0.2.27` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.52` | `4.5.54` |


Updates `clap` from 4.5.39 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.39...clap_complete-v4.5.40)

Updates `libc` from 0.2.172 to 0.2.173
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.173/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.172...0.2.173)

Updates `reqwest` from 0.12.19 to 0.12.20
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.19...v0.12.20)

Updates `unicode-width` from 0.2.0 to 0.2.1
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.2.0...v0.2.1)

Updates `clap_mangen` from 0.2.26 to 0.2.27
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.26...clap_mangen-v0.2.27)

Updates `clap_complete` from 4.5.52 to 4.5.54
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.52...clap_complete-v4.5.54)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.40
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: libc
  dependency-version: 0.2.173
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: reqwest
  dependency-version: 0.12.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: unicode-width
  dependency-version: 0.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_mangen
  dependency-version: 0.2.27
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.54
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 15:09:45 +02:00
Henrik Friedrichsen
6ffaf3bd22 fix: Do not crash due to unavailable tracks in queue
* fix: Do not crash due to unavailable tracks in queue

Fixes #1616

* fix: Also use checked multiplication to prevent overflow
2025-06-08 22:55:55 +02:00
Henrik Friedrichsen
46eb9dc1dd fix: Switch command line fg/bg colors 2025-06-08 22:29:32 +02:00
dependabot[bot]
19b442f2ba chore(deps): bump the cargo group across 1 directory with 4 updates (#1654)
Bumps the cargo group with 4 updates in the / directory: [clap](https://github.com/clap-rs/clap), [reqwest](https://github.com/seanmonstar/reqwest), [toml](https://github.com/toml-rs/toml) and [clap_complete](https://github.com/clap-rs/clap).


Updates `clap` from 4.5.38 to 4.5.39
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.38...clap_complete-v4.5.39)

Updates `reqwest` from 0.12.15 to 0.12.19
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.15...v0.12.19)

Updates `toml` from 0.8.22 to 0.8.23
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.22...toml-v0.8.23)

Updates `clap_complete` from 4.5.50 to 4.5.52
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.50...clap_complete-v4.5.52)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.39
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: reqwest
  dependency-version: 0.12.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: toml
  dependency-version: 0.8.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.52
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-06 20:52:40 +02:00
Henrik Friedrichsen
88c48977c2 docs: Update documentation links 2025-06-01 12:56:43 +02:00
dependabot[bot]
605d60ed19 chore(deps): bump the cargo group with 2 updates (#1646)
Bumps the cargo group with 2 updates: [zbus](https://github.com/dbus2/zbus) and [tokio](https://github.com/tokio-rs/tokio).


Updates `zbus` from 5.7.0 to 5.7.1
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.7.0...zbus-5.7.1)

Updates `tokio` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1)

---
updated-dependencies:
- dependency-name: zbus
  dependency-version: 5.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: tokio
  dependency-version: 1.45.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 19:02:38 +02:00
Mario
6dc129e483 fix(queue): Don't freeze on item double click
* fix ui freezing in queue when clicking on selected item

* update changelog

* fix clippy error
2025-05-22 21:15:55 +02:00
dependabot[bot]
33ccf944e9 chore(deps): bump zbus from 5.6.0 to 5.7.0 in the cargo group
Bumps the cargo group with 1 update: [zbus](https://github.com/dbus2/zbus).


Updates `zbus` from 5.6.0 to 5.7.0
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.6.0...zbus-5.7.0)

---
updated-dependencies:
- dependency-name: zbus
  dependency-version: 5.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:32:57 +02:00
Henrik Friedrichsen
c294857002 fix: cargo clippy --fix 2025-05-17 17:18:15 +02:00
github-actions[bot]
7d25f971dc [create-pull-request] automated change 2025-05-17 16:58:02 +02:00
dependabot[bot]
9357bc4b41 chore(deps): bump the cargo group with 4 updates
Bumps the cargo group with 4 updates: [clap](https://github.com/clap-rs/clap), [tokio](https://github.com/tokio-rs/tokio), [signal-hook](https://github.com/vorner/signal-hook) and [clap_complete](https://github.com/clap-rs/clap).


Updates `clap` from 4.5.37 to 4.5.38
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.37...clap_complete-v4.5.38)

Updates `tokio` from 1.44.2 to 1.45.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.0)

Updates `signal-hook` from 0.3.17 to 0.3.18
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.17...v0.3.18)

Updates `clap_complete` from 4.5.48 to 4.5.50
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.48...clap_complete-v4.5.50)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.38
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: tokio
  dependency-version: 1.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: signal-hook
  dependency-version: 0.3.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.50
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 20:21:50 +02:00
joe
86112941eb Prevent event loop starvation by unplayable tracks 2025-05-13 18:47:40 +02:00
Thomas Frans
39ac8b8f09 chore: remove unused rustfmt.toml file
This configuration file is empty and therefore doesn't do anything. It
makes sense to remove it to keep the files and directories in the root
of the project as minimal as possible. This makes it easier for new
contributors to get a quick overview of the project. The more files
there are in the root of a project, the harder it gets to tell what's
important.
2025-05-10 14:57:00 +02:00