Commit Graph

499 Commits

Author SHA1 Message Date
dependabot-preview[bot]
98278becb1 Bump dbus from 0.9.0 to 0.9.1
Bumps [dbus](https://github.com/diwic/dbus-rs) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/diwic/dbus-rs/releases)
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.0...dbus-v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-06 09:57:40 +01:00
algon
cb72870fc2 Enable mouse scrolling in TabViews (#363)
* Forward events from a TabView to the selected Tab

* Forward mouse events to the front screen instead of the focused screen
2021-01-05 18:37:00 +01:00
dependabot-preview[bot]
ef6726f6f9 Bump rand from 0.8.0 to 0.8.1
Bumps [rand](https://github.com/rust-random/rand) from 0.8.0 to 0.8.1.
- [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.0...0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-05 18:36:47 +01:00
Henrik Friedrichsen
63e65c32c9 update dependencies
rand 0.8.0 now accepts ranges
2021-01-03 23:24:45 +01:00
Henrik Friedrichsen
9639115f48 show confirmation dialog before deleting queue
fixes #227
2021-01-03 23:13:53 +01:00
Henrik Friedrichsen
3c66379cc6 fix search command and update docs
fixes #353
2021-01-02 22:18:41 +01:00
Henrik Friedrichsen
919a245649 set title for "similar tracks" view 2021-01-02 21:46:09 +01:00
Henrik Friedrichsen
3874dc42f8 cargo clippy 2021-01-02 21:30:52 +01:00
dependabot-preview[bot]
9069be8565 Bump serde_json from 1.0.60 to 1.0.61
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 23:18:20 +01:00
dependabot-preview[bot]
72c151ecb1 Bump toml from 0.5.7 to 0.5.8
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.7...0.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 23:32:21 +01:00
Henrik Friedrichsen
5671f1e5a4 fix: do not announce unplayable tracks via mpris
fixes #349
2020-12-19 00:28:39 +01:00
Henrik Friedrichsen
5ce396f0c9 bump version to 0.2.6 2020-12-16 13:11:59 +01:00
Henrik Friedrichsen
2064621e9d update reqwest to 0.10.10 (and others)
should fix crashes on platforms where tcp_keepalive is not
allowed (e.g. openbsd)

see also:
- https://github.com/seanmonstar/reqwest/pull/1113
- https://github.com/seanmonstar/reqwest/issues/1098
2020-12-16 13:09:50 +01:00
Felix Van der Jeugt
02b66b6cdd Allow primary selection for sharing
Adds a feature flag to use the primary selection instead of the
clipboard. Only works on Linux.
2020-12-15 22:31:35 +01:00
Henrik Friedrichsen
3ab32a7c51 bump version to 0.2.5 2020-12-13 22:01:05 +01:00
Henrik Friedrichsen
1795709ada update dependencies 2020-12-13 22:00:23 +01:00
Henrik Friedrichsen
54e48a7dc6 cargo clippy 2020-12-13 21:58:58 +01:00
JojiiOfficial
5fefe9eec3 Add hjkl controls for AddToPlaylistMenu (#335)
* Add hjkl controls for AddToPlaylistMenu

* turn off autojump in contextmenu for vim bindings

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-12-13 20:41:22 +01:00
dependabot-preview[bot]
b28f215e41 Bump serde from 1.0.117 to 1.0.118
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 18:43:47 +01:00
dependabot-preview[bot]
d9cb878c8f Bump tokio-core from 0.1.17 to 0.1.18
Bumps [tokio-core](https://github.com/tokio-rs/tokio-core) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/tokio-rs/tokio-core/releases)
- [Commits](https://github.com/tokio-rs/tokio-core/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 18:43:47 +01:00
dependabot-preview[bot]
c844c41d51 Bump libc from 0.2.80 to 0.2.81
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.80 to 0.2.81.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.80...0.2.81)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 04:50:13 +00:00
dependabot-preview[bot]
0e335c4010 Bump serde_json from 1.0.59 to 1.0.60
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.60)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 15:53:38 +01:00
Ronak Buch
04261c3614 Fix documentation of default backend
aebf475 changed it to PulseAudio.
2020-12-04 15:53:20 +01:00
André Andersson
bdc1ed8fc8 Save/unsave track from context menu 2020-11-26 21:40:38 +01:00
dependabot-preview[bot]
fb66946e95 Bump strum_macros from 0.19.4 to 0.20.1
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.19.4 to 0.20.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)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 11:19:10 +01:00
dependabot-preview[bot]
eb62faf8fa Bump strum from 0.19.5 to 0.20.0
Bumps [strum](https://github.com/Peternator7/strum) from 0.19.5 to 0.20.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-preview[bot] <support@dependabot.com>
2020-11-23 11:17:44 +01:00
André Andersson
d1211e6901 Only show playlists where the user is allowed to add tracks when trying to add tracks (#329)
* Only show playlists where the user is allowed to add tracks

* Expose user_id from library and use it to reduce api calls
2020-11-22 19:26:20 +01:00
André Andersson
68d2bbd64f Add support for sorting playlist tracks (#328)
* Add support for sorting playlists

* Update string

* formatting
2020-11-22 17:02:33 +01:00
Henrik Friedrichsen
d8417664fd show connection message instead of blank screen 2020-11-21 15:52:39 +01:00
Henrik Friedrichsen
09febf7187 cargo update + format + clippy 2020-11-21 15:42:17 +01:00
Benjamin Brownlee
d728cd2bb4 fix mpris get volume; added mpris set volume (#325) 2020-11-21 15:34:22 +01:00
r4v3n6101
5e1c31eefb Change to correct trackid 2020-11-17 20:43:02 +01:00
Henrik Friedrichsen
880fbb3f6e fix: don't try to play tracks without spotify id
Can happen when a playlist is queued that contains tracks removed from the
Spotify catalogue.

fixes #321
2020-11-16 22:21:27 +01:00
Bettehem
e0cfc40639 Spotify URL handling improvements (#320)
* Fixed regex for handling links via ctrl+v shortcut.
Fixed the whole url getting passed to get data on each link type instead of only the id.
Fixed MPRIS OpenUri function not handling an user&id in the link correctly.
2020-11-15 19:17:15 +01:00
Bettehem
9baed7ae98 Added possibility to turn on/off shuffle using MPRIS (#318)
* Added possibility to turn shuffle on/off via MPRIS

* Simplified code to use unwrap_or instead of a match.
Changed the default value to be retrieved from spotify.

* only set shuffle setting if parameter was passed

* fix: fetch shuffle state with every MPRIS query

And not just once during DBus/MPRIS setup. Also, redraw UI when shuffle
state has changed.

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-11-14 21:50:13 +01:00
dependabot-preview[bot]
db521d47ed Bump futures from 0.3.7 to 0.3.8 (#316)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.7 to 0.3.8.
- [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.7...0.3.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-10 20:18:50 +01:00
Bettehem
a8861fc1aa Spotify URL support for MPRIS OpenUri function (#314)
* Added OpenUri D-BUS MPRIS support.
Removed "user:" from URIType check because Spotify doesn't always provide it.

* Added tags to .gitignore

* Changed mpris metadata to actually return the track's url instead of the Spotify URI so that it matches the functionality of the official Spotify client.

* Changed mpris:trackid and xesam:url to not use static naming so it can support podcasts.

* Changed xesam:url to default to an empty string instead of "0"

* Added possibility to start playing Shows and Episodes via MPRIS.
Added possibility to search for Podcast Episodes.

* Fixed mpris:trackid not returning the id in the correct format.
MPRIS OpenUri function now supports Spotify url links.

* return result directly instead of mut string

* handle artist URLs/URIs

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-11-10 20:18:22 +01:00
dependabot-preview[bot]
0c1297d749 Bump regex from 1.4.1 to 1.4.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.1 to 1.4.2.
- [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.1...1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 13:48:54 +01:00
Max Isom
9a19032b33 Add Homebrew instructions
ncspot is [now available via Homebrew](https://github.com/Homebrew/homebrew-core/pull/63554)!
2020-10-28 14:16:14 +01:00
Matheus Cardoso
7c61fe8b29 add doc about possibility to add track to playlist (#306)
* add doc about possibility to add track to playlist

* Update README.md

mention "similar tracks" feature as well

Co-authored-by: cardosaum <cardosaum@pm.me>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-10-27 08:52:41 +01:00
Henrik Friedrichsen
61e9db0a21 bump version to 0.2.4 2020-10-26 21:41:12 +01:00
dependabot-preview[bot]
c7fe964a4b Bump libc from 0.2.79 to 0.2.80 (#304)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.79 to 0.2.80.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.79...0.2.80)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 10:12:53 +01:00
dependabot-preview[bot]
15d3ba1da4 Bump futures from 0.3.6 to 0.3.7 (#305)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.6 to 0.3.7.
- [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.6...0.3.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-26 10:12:42 +01:00
Bolli
d88ea93a94 feat: create new empty playlist via command (#272)
* feat: create new empty playlist via command

- type :newplaylist <name> to create a new playlist

fixes #242

* use full argument string for playlist name

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-10-25 17:57:49 +01:00
Henrik Friedrichsen
5fb4eb7af2 fix: update playlist changes in local store
Move playlist change logic out of the library while we're at it and notify
the library of changes instead.

fixes #302
2020-10-25 00:09:23 +02:00
JojiiOfficial
6587efdfd2 Add dialog for adding duplicate tracks to a playlist (#299)
* Add dialog for adding duplicate tracks to a playlist

* use local playlist store to check for duplicates

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-10-24 20:41:55 +02:00
dependabot-preview[bot]
e698d51e59 Bump dbus from 0.8.4 to 0.9.0 (#296)
* Bump dbus from 0.8.4 to 0.9.0

Bumps [dbus](https://github.com/diwic/dbus-rs) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/diwic/dbus-rs/releases)
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.8.4...dbus-v0.9.0)

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

* migrate to dbus/dbus-tree 0.9.0

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-10-24 00:03:19 +02:00
Saul Chavez Sanchez
c9d02507ac Increase/Decrease volume by 5 (#298)
* Increase/Decrease volume by 5

* Fixed static value

* use fallback value in case parsing fails

fixes #282

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
2020-10-22 20:21:49 +02:00
dependabot-preview[bot]
da915ab563 Bump fern from 0.5.9 to 0.6.0
Bumps [fern](https://github.com/daboross/fern) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/daboross/fern/releases)
- [Changelog](https://github.com/daboross/fern/blob/master/CHANGELOG.md)
- [Commits](https://github.com/daboross/fern/compare/fern-0.5.9...fern-0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 10:53:44 +02:00
dependabot-preview[bot]
db82f716f2 Bump serde_json from 1.0.58 to 1.0.59
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 10:53:33 +02:00