Commit Graph

565 Commits

Author SHA1 Message Date
Henrik Friedrichsen
eb149683a0 Create issue templates 2021-03-06 00:14:03 +01:00
Henrik Friedrichsen
ff6788a2a9 Clear search term when ESC is pressed
fixes #384
2021-03-06 00:00:19 +01:00
Henrik Friedrichsen
d6db7a54d6 Remove plain-text credential store
librespot stores a more secure token that is valid for a while, rely on this
instead.

On the flip side this requires users to re-enter their login data when their
token has expired.

If the token validity is too short we will have to come up with another
approach, e.g. OS keyrings.

fixes #447
2021-03-05 23:47:12 +01:00
Henrik Friedrichsen
f2bcfcaa60 fix: more resilient playlist track deletion
Introduction of the sort command with #328 broke the deletion of playlist items,
because sorted track indices got out of sync with their actual index within the
playlist at the Spotify backend.

The new approach is not perfect, as it doesn't update the list index of items
after deletion, but by supplying the playlist snapshot id the backend is able to
apply the requested changes.

This should still be improved in the future, though.
2021-03-05 23:34:29 +01:00
Henrik Friedrichsen
466b4cd18e Refactor pagination code into separate file 2021-03-05 21:54:29 +01:00
Henrik Friedrichsen
ca8f1a8545 Persist sorting orders for playlists
Closes #436
2021-03-05 21:54:29 +01:00
Henrik Friedrichsen
b1c0ed6fae cargo update 2021-03-05 21:54:29 +01:00
Qluxzz
3d11b2c333 Fix spelling mistake 2021-03-05 21:54:15 +01:00
dependabot-preview[bot]
6e2b108284 Bump libc from 0.2.86 to 0.2.87
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.86 to 0.2.87.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.86...0.2.87)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 20:28:33 +01:00
dependabot-preview[bot]
ac761410f9 Bump serde_json from 1.0.62 to 1.0.64
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.62 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.64)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 20:28:28 +01:00
dependabot-preview[bot]
2738e30285 Bump notify-rust from 4.2.2 to 4.3.0
Bumps [notify-rust](https://github.com/hoodie/notify-rust) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/hoodie/notify-rust/releases)
- [Changelog](https://github.com/hoodie/notify-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hoodie/notify-rust/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 20:28:05 +01:00
Henrik Friedrichsen
4834a7aa44 Use debug build for backtrace logs 2021-03-02 17:18:15 +01:00
Henrik Friedrichsen
0f1227b7c7 Mention stderr file logging 2021-03-02 17:16:03 +01:00
Henrik Friedrichsen
b436e40851 Fix display of PlayNext command
fixes #445
2021-02-27 13:23:30 +01:00
KoffeinFlummi
df87ff9bdd Implement cover drawing as optional feature 2021-02-27 13:14:49 +01:00
algon
dfb60ee4be Improve album loading in artist view (#446)
* Load all albums in artist view

* Fetch multiple albums at a time
2021-02-25 21:24:10 +01:00
Henrik Friedrichsen
db894d7ce8 Add config values to override shuffle/repeat state 2021-02-25 21:07:12 +01:00
dependabot-preview[bot]
9357437759 Bump futures from 0.3.12 to 0.3.13
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 20:46:41 +01:00
Henrik Friedrichsen
92d1978340 Save track queue when closing and restore at start 2021-02-22 22:14:34 +01:00
Henrik Friedrichsen
a880ffd1f6 Persist volume and shuffle/repeat state 2021-02-22 22:14:34 +01:00
r4v3n6101
610a6190b2 LoopStatus is now editable from MPRIS 2021-02-22 22:14:15 +01:00
Henrik Friedrichsen
2af8e549cd update librespot to 0.1.6 (et al) 2021-02-22 13:39:27 +01:00
dependabot-preview[bot]
dabbcfda8a Bump dbus from 0.9.1 to 0.9.2
Bumps [dbus](https://github.com/diwic/dbus-rs) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/diwic/dbus-rs/releases)
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.1...dbus-v0.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 13:30:13 +01:00
Matthew Meinzer
195e9bc17a Updated Readme to include pause
Had trouble ctrl+f'ing for the pause hotkey so thought it might be helpful to add that word to the Readme
2021-02-21 18:20:19 +01:00
dependabot-preview[bot]
0114d6184c Bump serde_json from 1.0.61 to 1.0.62
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-12 15:36:29 +01:00
dependabot-preview[bot]
f7aabc3a80 Bump libc from 0.2.85 to 0.2.86
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.85 to 0.2.86.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.85...0.2.86)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-12 15:36:23 +01:00
Henrik Friedrichsen
f49e241e10 fix: correct positioning of search match highlight 2021-02-06 00:48:26 +01:00
Henrik Friedrichsen
14b7299bf3 bump version to 0.4.0 2021-02-03 09:59:51 +01:00
Henrik Friedrichsen
3268cefbc6 cargo update 2021-02-03 09:56:55 +01:00
Henrik Friedrichsen
7f5856dfb6 open search results in search screen
fixes #413
2021-02-02 20:54:18 +01:00
dependabot-preview[bot]
f23ae58788 Bump libc from 0.2.83 to 0.2.84
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.83 to 0.2.84.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 14:52:58 +01:00
Henrik Friedrichsen
337ac156a0 cargo update 2021-01-28 11:02:33 +01:00
Henrik Friedrichsen
6f0d06a088 update dependencies 2021-01-25 10:01:44 +01:00
Henrik Friedrichsen
c1a0387383 Revert "pin syn to 1.0.57"
This reverts commit 884b0c562b.
2021-01-25 09:59:35 +01:00
Klaus Umbach
58c0d22d41 Add simple debian-packaging with cargo-deb 2021-01-24 00:26:34 +01:00
André Andersson
ab60556644 Fix removing listview item even if not succesfully deleted (#404)
* Fix deleting listview item if not deleted

* Refactor
2021-01-23 22:42:42 +01:00
André Andersson
5b40fc6ddc Don't handle FinishedTrack as Stopped (#403)
* Don't handle FinishedTrack as Stopped

* consider `FinishedTrack` as still playing

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2021-01-20 20:54:45 +01:00
Qluxzz
bca84658fb Fix not handling changed event 2021-01-20 20:49:09 +01:00
André Andersson
92335594bc Restart queue if pressing play when stopped (#399)
* Restart queue if pressing play when stopped

* Remove FinishedTrack from match

* Formatting
2021-01-19 21:47:41 +01:00
Alexandre Bury
cfb91493a5 Update to cursive 0.16 2021-01-19 21:47:18 +01:00
dependabot-preview[bot]
0abfab84bc Bump futures from 0.3.11 to 0.3.12
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.11...0.3.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 09:04:29 +01:00
André Andersson
ed0c62a888 Add support for open.spotify.com links (#392)
* No longer necessary

* Add support for open.spotify.com links

* Reuse struct for insert command

* Formatting
2021-01-17 20:12:07 +01:00
André Andersson
206a7d88a5 Return to search when viewing search results 2021-01-16 22:50:12 +01:00
André Andersson
d9d6d684ea Fix multiple tracks in queue being shown as playing (#396)
* Fix multiple items being shown as playing

* Refactor
2021-01-16 21:40:59 +01:00
Henrik Friedrichsen
6e0f00824a Improve CI/CD pipeline
- Separate checks/release builds
- Add cargo fmt back
- Upload release builds as assets

Fixes #393
2021-01-16 12:35:56 +01:00
dependabot-preview[bot]
ed99829569 Bump futures from 0.3.10 to 0.3.11
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.10...0.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 21:55:54 +01:00
Henrik Friedrichsen
a55059f948 update dependencies 2021-01-13 18:24:53 +01:00
Henrik Friedrichsen
ae03bed649 bump version to 0.3.0 2021-01-13 18:23:24 +01:00
Henrik Friedrichsen
884b0c562b pin syn to 1.0.57
fixes #385
2021-01-13 10:34:59 +01:00
dependabot-preview[bot]
6b8100a497 Bump regex from 1.4.2 to 1.4.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.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.4.2...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-12 10:17:27 +01:00