Bettehem
f7450321da
Add track_format config option ( #800 )
...
* Added track_name_first config option to allow choosing if artists' names should be shown before or after the track name.
* Added active_fields config option, which allows configuration of which columns are visible in Queue/Library view.
This also removes the need for a separate track_name_first and album_column option.
* Fixed README
* Made custom tracklist formatting more flexible.
Updated readme with new instructions.
Reformatted impl member order to match the definitions in traits.rs.
* Added track_name_first config option to allow choosing if artists' names should be shown before or after the track name.
* Added active_fields config option, which allows configuration of which columns are visible in Queue/Library view.
This also removes the need for a separate track_name_first and album_column option.
* Fixed README
* Made custom tracklist formatting more flexible.
Updated readme with new instructions.
Reformatted impl member order to match the definitions in traits.rs.
* Fetch formatting config from library config
Instead of the lazy static mutex
* Moved custom format function to Playable impl as it's a better location to handle both Tracks and Episodes
* Rename from `tracklist_formatting` to `track_format`
Also shorten `format_{left|center|right}` to `{left|center|right}`
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2022-05-28 14:13:37 +02:00
Henrik Friedrichsen
0e50466a5e
Bump version to 0.10.0
2022-05-24 20:03:46 +02:00
Henrik Friedrichsen
00636977d4
Update to librespot 0.4.1
...
Fixes compilation of Rodio backend
2022-05-24 08:56:13 +02:00
Henrik Friedrichsen
c41294cb8d
Update to librespot 0.4.0
...
Changes: https://github.com/librespot-org/librespot/compare/v0.3.1..v0.4.0
2022-05-22 17:15:02 +02:00
Henrik Friedrichsen
8fad4009d2
Update dependencies
2022-05-22 16:28:37 +02:00
dependabot[bot]
0f7f02dfe7
Bump clap from 3.1.17 to 3.1.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.17 to 3.1.18.
- [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.1.17...v3.1.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-11 22:17:42 +02:00
Henrik Friedrichsen
cef6eb43b0
Add option to customize library tabs
...
New option is called `library_tabs`. By default all tabs are enabled.
Fixes #798
2022-05-10 22:59:49 +02:00
dependabot[bot]
f931624a5b
Bump clap from 3.1.15 to 3.1.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.15 to 3.1.17.
- [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.1.15...v3.1.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 23:42:37 +02:00
dependabot[bot]
f6f9777f64
Bump tokio from 1.18.1 to 1.18.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.1...tokio-1.18.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 23:42:14 +02:00
Henrik Friedrichsen
08811b5cc6
Update dependencies
2022-05-05 22:04:09 +02:00
Henrik Friedrichsen
0ccc0ddb35
Bump version to 0.9.8
2022-04-30 22:43:01 +02:00
Henrik Friedrichsen
b08c29f830
Dependency updates
2022-04-30 22:36:52 +02:00
dependabot[bot]
27374ae9dd
Bump cursive from 0.17.0 to 0.18.0
...
Bumps [cursive](https://github.com/gyscos/cursive ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/gyscos/cursive/releases )
- [Changelog](https://github.com/gyscos/cursive/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gyscos/cursive/compare/cursive-v0.17.0...cursive-v0.18.0 )
---
updated-dependencies:
- dependency-name: cursive
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-30 22:32:59 +02:00
dependabot[bot]
7036b11b00
Bump tokio from 1.17.0 to 1.18.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-28 10:03:39 +02:00
Bettehem
dfecb759a0
Added playback_state config option ( #783 )
...
* Added playback_state config option.
It can be used to pre-define a certain playback state for the player.
* Changed playback_state to use enums and removed redundant check for the "Playing" state.
2022-04-28 10:03:17 +02:00
Henrik Friedrichsen
0bbb4932e5
Clean up clippy warnings
2022-04-27 22:41:04 +02:00
Henrik Friedrichsen
d1a44a613f
Fix: do not crash DBus on invalid Spotify URIs
...
Fixes #795
2022-04-27 22:38:15 +02:00
Henrik Friedrichsen
52e2a53839
Fix: process command bindings in play track menu
2022-04-25 22:52:49 +02:00
dependabot[bot]
95004c8c63
Bump clap from 3.1.11 to 3.1.12
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.11 to 3.1.12.
- [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.1.11...v3.1.12 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-25 22:23:54 +02:00
dependabot[bot]
018ecb9d99
Bump clap from 3.1.10 to 3.1.11
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.10 to 3.1.11.
- [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.1.10...v3.1.11 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-24 01:05:41 +02:00
Bettehem
b1f3984917
Added option to play track from context menu dialog ( #790 )
...
* Added Play Track option to a track's context menu. Works with arrow keys but j and k don't yet work.
Fixes #786
2022-04-22 06:09:10 +02:00
dependabot[bot]
73d1fdced7
Bump clap from 3.1.9 to 3.1.10
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.9 to 3.1.10.
- [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.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-21 18:10:09 +02:00
dependabot[bot]
f8efe92bcb
Bump libc from 0.2.123 to 0.2.124
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.123 to 0.2.124.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.123...0.2.124 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-19 09:13:40 +02:00
dependabot[bot]
e2fe4fa219
Bump libc from 0.2.121 to 0.2.123
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.121 to 0.2.123.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.121...0.2.123 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-18 17:12:10 +02:00
dependabot[bot]
8429eea06b
Bump fern from 0.6.0 to 0.6.1
...
Bumps [fern](https://github.com/daboross/fern ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/daboross/fern/releases )
- [Changelog](https://github.com/daboross/fern/blob/main/CHANGELOG.md )
- [Commits](https://github.com/daboross/fern/compare/fern-0.6.0...fern-0.6.1 )
---
updated-dependencies:
- dependency-name: fern
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-18 17:12:04 +02:00
dependabot[bot]
5f13658c7a
Bump clap from 3.1.8 to 3.1.9
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.8 to 3.1.9.
- [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.1.8...v3.1.9 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-18 17:11:56 +02:00
dependabot[bot]
54a966f134
Bump toml from 0.5.8 to 0.5.9
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.8...0.5.9 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-18 17:11:50 +02:00
Ronak Buch
f981b64687
Only download cover image when flag enabled ( #780 )
...
* Only download cover image when flag enabled
* fixup! Only download cover image when flag enabled
2022-04-18 17:10:56 +02:00
dependabot[bot]
3d08f494f2
Bump clap from 3.1.7 to 3.1.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.7 to 3.1.8.
- [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.1.7...v3.1.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-04 22:38:59 +02:00
dependabot[bot]
2e9c67aad5
Bump clap from 3.1.6 to 3.1.7
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.6 to 3.1.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.1.6...v3.1.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-04-01 17:08:55 +02:00
dependabot[bot]
c373a5b345
Bump rspotify from 0.11.4 to 0.11.5
...
Bumps [rspotify](https://github.com/ramsayleung/rspotify ) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/ramsayleung/rspotify/releases )
- [Changelog](https://github.com/ramsayleung/rspotify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ramsayleung/rspotify/compare/v0.11.4...v0.11.5 )
---
updated-dependencies:
- dependency-name: rspotify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-30 10:35:33 +02:00
dependabot[bot]
9a35e34822
Bump notify-rust from 4.5.7 to 4.5.8
...
Bumps [notify-rust](https://github.com/hoodie/notify-rust ) from 4.5.7 to 4.5.8.
- [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 )
---
updated-dependencies:
- dependency-name: notify-rust
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-28 22:40:19 +02:00
Henrik Friedrichsen
4e18756150
Remove webbrowser crate
...
Fixes #218
2022-03-26 23:27:01 +01:00
Henrik Friedrichsen
f168434941
Disable compat feature in futures
...
It's not needed anymore.
2022-03-26 23:25:19 +01:00
Henrik Friedrichsen
9623229e0e
Dependency updates
2022-03-23 22:01:10 +01:00
Henrik Friedrichsen
5f792a04c9
Bump version to 0.9.7
2022-03-23 22:00:11 +01:00
Henrik Friedrichsen
ac1cebdc3a
Use Rodio backend for macOS builds
...
Gets rid of the dynamically linked PortAudio dependency
2022-03-23 21:51:21 +01:00
dependabot[bot]
351de30f03
Bump log from 0.4.14 to 0.4.16
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [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/commits )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-23 18:13:43 +01:00
Henrik Friedrichsen
ee6d26baf3
Fix: only reuse notification on XDG platforms
...
Fixes compilation on Windows
2022-03-22 22:17:00 +01:00
Henrik Friedrichsen
1a7b5f90da
Reuse previous notification id
...
According to XDG specs, passing the previous notification ID will update it
instead of displaying a new notification.
Fixes #760
2022-03-22 22:02:37 +01:00
Henrik Friedrichsen
90dd1a03d2
Set notification app name to ncspot
...
In hopes of fixing #760
2022-03-22 00:15:04 +01:00
dependabot[bot]
479b962912
Bump notify-rust from 4.5.6 to 4.5.7
...
Bumps [notify-rust](https://github.com/hoodie/notify-rust ) from 4.5.6 to 4.5.7.
- [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 )
---
updated-dependencies:
- dependency-name: notify-rust
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 14:46:09 +01:00
dependabot[bot]
4778f9d4f3
Bump libc from 0.2.120 to 0.2.121
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.120 to 0.2.121.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.120...0.2.121 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 13:41:55 +01:00
dependabot[bot]
367d1155fd
Bump crossbeam-channel from 0.5.3 to 0.5.4
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.3 to 0.5.4.
- [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.3...crossbeam-channel-0.5.4 )
---
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-03-21 13:41:42 +01:00
dependabot[bot]
a2089767c1
Bump wl-clipboard-rs from 0.5.0 to 0.6.0
...
Bumps [wl-clipboard-rs](https://github.com/YaLTeR/wl-clipboard-rs ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/YaLTeR/wl-clipboard-rs/releases )
- [Changelog](https://github.com/YaLTeR/wl-clipboard-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/YaLTeR/wl-clipboard-rs/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: wl-clipboard-rs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 13:41:29 +01:00
dependabot[bot]
60af56426c
Bump crossbeam-channel from 0.5.2 to 0.5.3
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.2 to 0.5.3.
- [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.2...crossbeam-channel-0.5.3 )
---
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-03-16 17:41:13 +01:00
dependabot[bot]
9e0ac94457
Bump reqwest from 0.11.9 to 0.11.10
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.9 to 0.11.10.
- [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.9...v0.11.10 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 17:41:06 +01:00
dependabot[bot]
d694ae6559
Bump libc from 0.2.119 to 0.2.120
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.119 to 0.2.120.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.119...0.2.120 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-16 17:40:55 +01:00
dependabot[bot]
2bde880e30
Bump wl-clipboard-rs from 0.4.1 to 0.5.0
...
Bumps [wl-clipboard-rs](https://github.com/YaLTeR/wl-clipboard-rs ) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/YaLTeR/wl-clipboard-rs/releases )
- [Changelog](https://github.com/YaLTeR/wl-clipboard-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/YaLTeR/wl-clipboard-rs/compare/v0.4.1...v0.5.0 )
---
updated-dependencies:
- dependency-name: wl-clipboard-rs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-14 08:48:46 +01:00
Henrik Friedrichsen
61b1797527
Consume move playing in queue view
...
Fixes #759
2022-03-12 00:00:50 +01:00