Henrik Friedrichsen
e5d51d63a3
Fix: don't show error if user moves over list edge
...
Ignore this error, as it's common user behavior and an error is distracting.
2022-01-14 19:01:56 +01:00
dependabot[bot]
211ce66cbd
Bump clap from 3.0.6 to 3.0.7
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.6 to 3.0.7.
- [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/v3.0.6...v3.0.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-13 21:10:03 +01:00
Henrik Friedrichsen
adf8da2fc5
Move from ScrollBase to scroll module
...
`ScrollBase` is deprecated
2022-01-13 21:09:26 +01:00
Henrik Friedrichsen
06c6ea316e
Migrate to cursive 0.17
2022-01-11 20:42:50 +01:00
dependabot[bot]
adcdf5d18c
Bump clap from 3.0.5 to 3.0.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.5 to 3.0.6.
- [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/v3.0.5...v3.0.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-11 10:37:21 +01:00
dependabot[bot]
eea673511f
Bump reqwest from 0.11.8 to 0.11.9
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.8 to 0.11.9.
- [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.8...v0.11.9 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-11 10:27:17 +01:00
dependabot[bot]
d6d16541ae
Bump crossbeam-channel from 0.5.1 to 0.5.2
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.1...crossbeam-channel-0.5.2 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-10 09:25:36 +01:00
Henrik Friedrichsen
68b3b9b510
Fix warnings
2022-01-09 21:39:14 +01:00
dependabot[bot]
75a7aed4b1
Bump clap from 3.0.4 to 3.0.5
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.4 to 3.0.5.
- [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/v3.0.4...v3.0.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-06 10:22:43 +01:00
dependabot[bot]
65a350ad04
Bump clap from 3.0.1 to 3.0.4
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.1 to 3.0.4.
- [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-v3.0.1...v3.0.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-05 09:29:58 +01:00
cyqsimon
ba36f98367
seek spits out correct error when used with no args
2022-01-04 09:21:43 +01:00
Henrik Friedrichsen
8a4208b943
Update dependencies
2022-01-04 09:20:36 +01:00
Henrik Friedrichsen
e178837b28
Fix release build name and win32 feature ( #691 )
...
* Fix typos in release artifacts
Fixes #690
* Fix `win32` feature flag for `pancurses`
Previously, the `win32` feature was enabled for pancurses 0.17.x, which was additionally pulled in
as an extra dependency even though it wasn't used.
With this change, cargo should enable the `win32` feature in the `pancurses` instance used by `cursive`.
Fixes #690
2022-01-02 20:09:09 +01:00
Henrik Friedrichsen
94328e4ca3
Bump version to 0.9.4
2022-01-01 21:46:53 +01:00
Henrik Friedrichsen
739aac3e77
Update dependencies
2022-01-01 21:45:55 +01:00
Csaba Varró
f0a2cd79ff
Remove panics in the update_token flow ( #688 )
...
It caused a crash when the token failed to update
2022-01-01 21:43:12 +01:00
dependabot[bot]
4d1388e5bd
Bump clap from 2.34.0 to 3.0.0 ( #689 )
...
* Bump clap from 2.34.0 to 3.0.0
Bumps [clap](https://github.com/clap-rs/clap ) from 2.34.0 to 3.0.0.
- [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/v2.34.0...clap_complete-v3.0.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Adapt to clap v3 changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2022-01-01 21:04:02 +01:00
cyqsimon
9771c36c7b
More detailed error message in case of command parse error ( #684 )
...
* Refactored `command::parse`
* Removed unnecessary duplication in error msg
* Renamed `NotEnoughArgs` -> `InsufficientArgs`
* Inaccurate var name
* Ditch wordy error prefix
* Use `split_whitespace` instead of regex
* Cleanup unused regex import
* `insert` cmd fails fast
* Refactor: use `and_then` instead of `unwrap`
* Updated `Command::to_string`
* Added `Command::basename`
* Better err msg when running cmd in unsupported view, fully closes #597
* Sort `match` branches by their order in the enum
2022-01-01 20:48:34 +01:00
Henrik Friedrichsen
075ecd0e24
Set terminal title to ncspot
...
Fixes #685
2021-12-31 16:18:48 +01:00
cyqsimon
17867685ab
Improved README ( #683 )
...
* auto generate table of contents
* cspell check
* Added `single` alias to repeat mode `track`
* Updated command documentation
* Reformat command table
Removed the "alias" column since it takes up too much space.
2021-12-27 16:34:56 +01:00
Henrik Friedrichsen
fc0514d4aa
Add rustfmt config
2021-12-27 09:32:16 +01:00
cyqsimon
e0ec759730
Improved seek command to allow more units ( #682 )
...
* `seek` command accepts fancy duration
* Use default formatting
* Better var naming
* Documented `seek` command
2021-12-27 09:28:49 +01:00
dependabot[bot]
0947a074d9
Bump futures from 0.3.18 to 0.3.19
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.18 to 0.3.19.
- [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.18...0.3.19 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-21 13:32:20 +01:00
dependabot[bot]
c8809cfd12
Bump reqwest from 0.11.7 to 0.11.8
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.7 to 0.11.8.
- [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.7...v0.11.8 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-21 13:32:14 +01:00
Henrik Friedrichsen
487bc0dba0
Add builds for armhf
...
Fixes #659
2021-12-19 18:24:05 +01:00
Henrik Friedrichsen
b46d07c702
Add builds for arm64
...
`armhf` would require some more work as it has no tier1 support yet
Fixes #659
2021-12-18 15:54:34 +01:00
Henrik Friedrichsen
299c470cf9
Add exec command
...
Fixes #673
2021-12-17 20:57:52 +01:00
dependabot[bot]
8deaedce54
Bump serde from 1.0.131 to 1.0.132
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-17 10:12:20 +01:00
dependabot[bot]
e91139f56c
Bump tokio from 1.14.0 to 1.15.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.14.0...tokio-1.15.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-12-16 21:17:15 +01:00
dependabot[bot]
e7e3223b10
Bump serde_json from 1.0.72 to 1.0.73
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73 )
---
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-12-14 05:26:15 +01:00
Henrik Friedrichsen
4f7af0ef58
Bump version to 0.9.3
2021-12-10 12:20:23 +01:00
Henrik Friedrichsen
eb3e6fc113
Update dependencies
2021-12-10 12:18:46 +01:00
dependabot[bot]
41c032181d
Bump serde from 1.0.130 to 1.0.131
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-09 13:48:24 +01:00
Bettehem
3324094974
Added Wayland clipboard support. ( #666 )
...
* Fixed MPRIS OpenUri function not respecting ncspot's shuffle setting.
* Added support for Wayland clipboard.
* Formatted code properly using cargo fmt.
* Added is_wayland() function to check if using Wayland.
* Added wayland_clipboard feature flag.
It can be used to enable Wayland clipboard support.
Changed is_wayland() function to check wayland related environment
variables at runtime and not compile time.
2021-12-09 11:55:44 +01:00
Henrik Friedrichsen
beec2867f0
Run CI on Linux/macOS/Windows
2021-12-08 21:49:51 +01:00
Henrik Friedrichsen
240a0a7c41
Fix: Play multiples of Track and Playable
...
With the migration to rspotify 0.11.x playlists were changed to be a list of `Playable`
instead of `Track` items, so that playlists can contain podcast episodes.
This needs to be considered when collecting all tracks for playback in `ListView`.
Should help with #667
2021-12-08 21:32:36 +01:00
Henrik Friedrichsen
dc977d758e
Fix serialization of jump commands
2021-12-07 21:36:36 +01:00
Felix
3d43081df3
Added jumpnext and jumpprevious as commands
2021-12-07 16:35:52 +01:00
Martin Bjeldbak Madsen
172849107f
Fix link to custom keybindings section
2021-12-06 11:13:17 +01:00
Martin Bjeldbak Madsen
2964b55ff8
Fix link to theming section in configuration table
2021-12-06 11:13:17 +01:00
Bettehem
3808adced6
Fixed MPRIS OpenUri function not respecting ncspot's shuffle setting.
2021-12-01 21:17:39 +01:00
Henrik Friedrichsen
2551cd9528
Update dependencies
2021-11-30 20:44:55 +01:00
Henrik Friedrichsen
bd749530a8
Bump version to 0.9.2
2021-11-30 20:44:29 +01:00
Henrik Friedrichsen
550fa6acf4
Add cache_version flag to saved state
...
Can be used to determine whether the cache file format has been broken after an update.
If so, the cache will be discarded and recreated.
2021-11-30 20:43:58 +01:00
Henrik Friedrichsen
b826552a1c
Fix: Save track ID instead of URI
...
fixes #661
2021-11-30 20:16:41 +01:00
Henrik Friedrichsen
dbd8ca93bb
Move images to images/ folder
2021-11-29 23:10:35 +01:00
Henrik Friedrichsen
4a400ad83e
Remove unused failure dependency
2021-11-29 22:45:30 +01:00
Henrik Friedrichsen
ebc49117b0
Update rspotify to 0.11.3 (et al)
...
Also allows us to revert the previously applied fix where the market parameter had to be removed.
2021-11-29 22:43:06 +01:00
Henrik Friedrichsen
ec46143d62
Attach architecture to binary filenames
2021-11-29 22:34:00 +01:00
dependabot[bot]
70d6592702
Bump serde_json from 1.0.71 to 1.0.72
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
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-11-29 09:26:00 +01:00