Commit Graph

674 Commits

Author SHA1 Message Date
Henrik Friedrichsen
6b8e1d33dc Code cleanups 2021-08-15 15:05:49 +02:00
Henrik Friedrichsen
19d87f6b8f Only fetch the full track if necessary
Previously the full track data would be fetched every time although the `Track`
object could already be based on a `FullTrack` object. This should reduce the
query count somewhat.
2021-08-15 14:52:16 +02:00
dependabot[bot]
c06254f501 Bump tokio from 1.9.0 to 1.10.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.9.0...tokio-1.10.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 13:11:24 +02:00
Rashil Gandhi
7622292ffa Add Windows release builds 2021-08-10 09:54:58 +02:00
dependabot[bot]
50c34301c6 Bump serde from 1.0.126 to 1.0.127
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 11:33:53 +02:00
dependabot[bot]
dce15a069a Bump serde_json from 1.0.64 to 1.0.66
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-31 21:46:00 +02:00
Henrik Friedrichsen
8ea0f74e80 Bump version to 0.8.1 2021-07-27 23:05:35 +02:00
Henrik Friedrichsen
eb8d9ad294 Fix notify/cover platform config 2021-07-27 23:04:00 +02:00
Henrik Friedrichsen
51e8fc74cf Bump version to 0.8.0 2021-07-27 22:32:47 +02:00
Henrik Friedrichsen
c79f75b6a9 Update dependencies 2021-07-27 22:32:37 +02:00
Henrik Friedrichsen
8f8ac006ff Create FUNDING.yml 2021-07-27 02:20:58 +02:00
Henrik Friedrichsen
d731fe7188 Make command_key configurable
Fixes #487
2021-07-27 01:35:21 +02:00
Henrik Friedrichsen
ad3383657d Fix: Show album art when playing 'similar tracks'
`SimplifiedTrack` objects don't contain a `cover_url`.
So fetch the whole track details in MPRIS handler to make sure the `cover_url`
is set.

Fixes #354
2021-07-26 21:37:53 +02:00
Henrik Friedrichsen
6bd83ce9c8 Don't panic if user quits login process
Fixes #479
2021-07-26 18:50:08 +02:00
dependabot[bot]
245bb22aea Bump futures from 0.3.15 to 0.3.16
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.15 to 0.3.16.
- [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.15...0.3.16)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 14:54:36 +02:00
dependabot[bot]
e9aeee15e3 Bump tokio from 1.8.2 to 1.9.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.2...tokio-1.9.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 21:50:40 +02:00
Henrik Friedrichsen
2a82826e7a Add commandline flag for custom config filename
Related to #565
2021-07-22 17:17:57 +02:00
dependabot[bot]
1ed972190e Bump tokio from 1.8.1 to 1.8.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.1...tokio-1.8.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 11:16:37 +02:00
nc
2edc22f251 add album cover to notification 2021-07-16 10:27:37 +02:00
Henrik Friedrichsen
9eb99cc8be cargo clippy 2021-07-11 01:38:57 +02:00
Henrik Friedrichsen
46a8f01bac Fix: Handle commands in select artist modal
Fixes #560
2021-07-11 01:29:11 +02:00
dependabot[bot]
c0240d8fcf Bump tokio-stream from 0.1.6 to 0.1.7
Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.6...tokio-stream-0.1.7)

---
updated-dependencies:
- dependency-name: tokio-stream
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-08 13:46:50 +02:00
dependabot[bot]
eb1bbeb623 Bump tokio from 1.7.1 to 1.8.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.7.1...tokio-1.8.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 09:54:33 +02:00
dependabot[bot]
2f08330d5a Bump reqwest from 0.11.3 to 0.11.4
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.3 to 0.11.4.
- [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.11.3...v0.11.4)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 15:11:18 +02:00
dependabot[bot]
f27cef3b68 Bump tokio from 1.7.0 to 1.7.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.7.0...tokio-1.7.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 20:21:33 +02:00
dependabot[bot]
f5ba277fe1 Bump tokio from 1.6.2 to 1.7.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.6.2...tokio-1.7.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 22:38:07 +02:00
dependabot[bot]
0890f6d1ce Bump rand from 0.8.3 to 0.8.4
Bumps [rand](https://github.com/rust-random/rand) from 0.8.3 to 0.8.4.
- [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/0.8.3...0.8.4)

---
updated-dependencies:
- dependency-name: rand
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 22:38:00 +02:00
dependabot[bot]
787fc517ec Bump tokio from 1.6.1 to 1.6.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.6.1...tokio-1.6.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 11:30:02 +02:00
dependabot[bot]
cb00dc9d98 Bump dbus from 0.9.2 to 0.9.3
Bumps [dbus](https://github.com/diwic/dbus-rs) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/diwic/dbus-rs/releases)
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.2...dbus-v0.9.3)

---
updated-dependencies:
- dependency-name: dbus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 11:29:57 +02:00
Rashil Gandhi
30600326c9 Add Windows instructions 2021-06-12 01:07:15 +02:00
dependabot[bot]
677a8e0668 Bump strum_macros from 0.20.1 to 0.21.1
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.20.1 to 0.21.1.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum_macros
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 12:00:03 +02:00
dependabot[bot]
63b7a9830f Bump strum from 0.20.0 to 0.21.0
Bumps [strum](https://github.com/Peternator7/strum) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 11:49:33 +02:00
Henrik Friedrichsen
855b52f466 Bump version to 0.7.3 2021-05-31 15:50:47 +02:00
Henrik Friedrichsen
bebeba09c3 cargo update 2021-05-31 15:49:34 +02:00
Henrik Friedrichsen
6749b543fa Enable apresolve feature in librespot-core
Fixes #535
2021-05-31 15:43:50 +02:00
dependabot[bot]
c7b2c79251 Bump tokio from 1.6.0 to 1.6.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.6.0...tokio-1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 09:45:07 +02:00
Ronak Buch
952b7f4fe8 fixup! Bump reqwest form 0.9 to 0.11 2021-05-30 01:30:42 +02:00
Ronak Buch
9de86e6294 Fix nerdfont pause/stop glyphs
b42315d accidentally changed both of these to the glyph for play, this
reverts them back to the correct glyphs.
2021-05-30 01:30:22 +02:00
Ronak Buch
1259badd9a Bump reqwest form 0.9 to 0.11 2021-05-28 09:43:28 +02:00
Henrik Friedrichsen
0d405cf221 Print Spotify connection message only once
To avoid the terminal output getting garbled when ncspot is reconnecting
2021-05-24 21:03:25 +02:00
Henrik Friedrichsen
b7ab1202b8 Clear worker channel when worker has died
Should prevent panic in `Spotify::send_worker()`
2021-05-24 19:57:46 +02:00
Henrik Friedrichsen
33810a56ad Bump version to 0.7.2 2021-05-23 15:31:06 +02:00
Henrik Friedrichsen
17c57168d9 Cargo update 2021-05-23 15:31:01 +02:00
Henrik Friedrichsen
0ac789c36e Don't panic when librespot event channel died
Terminate worker instead and attempt to open a new session

Should hopefully help with #536
2021-05-23 15:29:00 +02:00
Henrik Friedrichsen
01d227be79 Move up invalid session check 2021-05-23 15:28:09 +02:00
Henrik Friedrichsen
a2873d2438 Fix cfg borrow with cover feature
Fixes: #534
2021-05-20 17:01:55 +02:00
Henrik Friedrichsen
5dd7e9763f cargo update 2021-05-17 16:42:47 +02:00
Henrik Friedrichsen
88400fada2 Bump version to 0.7.1 2021-05-14 17:54:28 +02:00
dependabot[bot]
fe34a229a4 Bump notify-rust from 4.5.0 to 4.5.1
Bumps [notify-rust](https://github.com/hoodie/notify-rust) from 4.5.0 to 4.5.1.
- [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[bot] <support@github.com>
2021-05-14 17:44:00 +02:00
Henrik Friedrichsen
b42315d113 Add flip_status_indicators setting
Fixes #511
2021-05-14 17:41:19 +02:00