Henrik Friedrichsen
2a1c34d334
add Fedora package names for compilation
...
fixes #180
2020-04-26 13:46:44 +02:00
Henrik Friedrichsen
51189c4d95
run apt update before installing dependencies
2020-04-23 21:58:01 +02:00
Henrik Friedrichsen
fcf86fc611
patch librespot-protocol until a new version is published
...
fixes #179
2020-04-23 20:43:56 +02:00
Henrik Friedrichsen
4e7af1c920
add command/binding to jump to currently playing track
...
fixes #181
2020-04-18 21:57:41 +02:00
Henrik Friedrichsen
510f1ff6ad
add new themable color for selected + playing track
...
fixes #166
2020-04-09 23:50:56 +02:00
Henrik Friedrichsen
b5566351b5
use cached credentials from librespot
...
attempt at fixing #160
2020-04-08 21:07:20 +02:00
Felix Stupp
e4a600ced5
README: Added doc for intial / save state
...
Feature introduced by #127
2020-04-07 16:29:07 +02:00
Henrik Friedrichsen
85bd4eda8a
fix: allow only one instance of help view on view stack
...
fixes #171
2020-04-02 21:22:12 +02:00
Henrik Friedrichsen
705a54c08c
reformat + remove redundant closure
2020-04-02 21:21:51 +02:00
Marcin Sobczyk
07be9dc48d
Command::Move: Add support for extreme moves
...
This patch adds a 'MoveAmount' enum that permits movements by integer
values or to abstract extremes which loosely translate to "top" for up
direction, "bottom" for down direction, etc. The goal behind the effort
is to add support for buttons like "Home" and "End".
The new enum has a 'Default' impl that yields a value of integer
movement by 1 field. This replaces the previous 'Option' wrap, that
in fact served the same purpose, with the value of '1' scattered
around different places in code.
Along with the enum, new commands have been defined to make use of it:
- "move top"
- "move bottom"
- "move leftmost"
- "move rightmost"
2020-03-31 10:49:08 +02:00
Henrik Friedrichsen
1b0ac4d5cc
migrate to futures 0.3
2020-03-28 23:31:27 +01:00
Henrik Friedrichsen
c6b85f7d9b
only stop playback if the last item was deleted AND playing
...
fixes #159
2020-03-22 09:06:08 +01:00
Henrik Friedrichsen
7ca405068d
switch badges to github actions
...
cargo badges does not support github actions yet:
https://github.com/rust-lang/crates.io/pull/1838
2020-03-21 18:36:47 +01:00
Henrik Friedrichsen
ce31ebc25b
perform CI via github actions
2020-03-21 18:26:02 +01:00
Henrik Friedrichsen
47b33c1975
remove travis ci
2020-03-21 17:57:45 +01:00
Henrik Friedrichsen
082675a5d7
push help view to stack instead of making it a separate screen
...
fixes #157
2020-03-21 15:51:35 +01:00
dann-merlin
9e68ed0ba6
Actually set volume when reading in from config
2020-03-18 20:45:14 +01:00
Henrik Friedrichsen
dccb36d8e7
update to rust edition 2018 + bump version
2020-03-15 11:06:24 +01:00
Henrik Friedrichsen
662e8e4304
update dependencies (incl. failure to)
...
closes #149
2020-03-09 10:46:00 +01:00
Henrik Friedrichsen
eac5884627
make TAB or ESC toggle between search input
...
closes #132
2020-03-05 11:47:06 +01:00
dann-merlin
45858df8a3
Volume configurable range 0-100
2020-03-03 18:05:03 +01:00
dann-merlin
56a178dcfd
Added configuration option for initial shuffle, repeat, volume
2020-03-03 18:05:03 +01:00
Panagiotis Vasilopoulos
404ba65faf
removed unnecessary parentheses
2020-02-29 17:15:10 +01:00
Henrik Friedrichsen
d2915316da
various non-functional code cleanups
2020-02-21 23:33:08 +01:00
Henrik Friedrichsen
7d9a81fa0a
fix travis ci build on macos
...
see also:
https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/10
2020-02-21 23:13:11 +01:00
Tobias Langendorf
363e71242a
Shuffle: Start with random track if not selecting track directly
...
Starting a playlist, album or artist with shuffle enabled always
starts on the first track in it and then plays the rest of the
queue shuffled.
This changes it so unless a track is picked directly, playback
will start on a random track of the selection.
2020-02-21 18:42:31 +01:00
Alan Pope
f292b939b3
Add snap build info
...
Hello! I added ncspot to the snap store - see https://snapcraft.io/ncspot - which has automated builds for i386, amd64, arm64, ppc64el and s390x (know anyone with an IBM mainframe who wants to listen to Spotify on it? :D )
This merge simply adds the build status as you have for repology. Sorry it doesn't line up. I'll start a conversation with repology to see if they can support snapcraft too.
Thanks for making a great spotify client <3
2020-02-13 13:56:38 +01:00
Henrik Friedrichsen
53183e7bd8
bump version to 0.1.2
2020-02-05 22:54:01 +01:00
Henrik Friedrichsen
3f5652e360
document keybinding configuration
2020-02-05 22:53:11 +01:00
Henrik Friedrichsen
54230bd85b
show commands in help screen in the same syntax they are parsed
2020-02-05 22:48:35 +01:00
Henrik Friedrichsen
cea2cbb33e
remove unused cfg parameters
2020-02-05 22:08:11 +01:00
Henrik Friedrichsen
90d19b1b2d
drop broken proxy setting and rely on ENV['http_proxy'] instead
...
fixes #118
fixes #119
2020-02-05 21:50:46 +01:00
Henrik Friedrichsen
d9356e445e
update rspotify to 0.8
2020-02-05 21:41:16 +01:00
Henrik Friedrichsen
fa960a4eba
add initial help screen + keybinding -> command parsing
...
still needs some more work, i.e. to show commands in help instead of parsed data
structures, but it's a start.
fixes #117
fixes #121
2020-02-02 21:51:40 +01:00
Henrik Friedrichsen
bf2a72ad81
expose keybindings in CommandManager for help view
2020-02-02 20:38:55 +01:00
Henrik Friedrichsen
8924b85390
fix deprecation warnings that occured due to cursive 0.14.0 upgrade
2020-02-02 20:10:21 +01:00
Henrik Friedrichsen
2039878144
update to cursive 0.14.0
2020-02-02 19:55:26 +01:00
Henrik Friedrichsen
e9bf33a3d5
update to librespot 0.1.1 + other dependencies
2020-01-30 19:12:43 +01:00
Henrik Friedrichsen
82b3747ea9
Merge pull request #120 from freijon/master
...
Changed 'seek' keybinding to match ncmpcpp and added fast-seek
2020-01-22 18:46:38 +01:00
Jonas Frei
9916d2c7b8
Changed 'seek' keybinding to match ncmpcpp and added fast-seek
2020-01-21 21:39:06 +01:00
Henrik Friedrichsen
c6f70706fe
ramp volume in logarithmic scale
...
see also:
6c6ba88590/connect/src/spirc.rs (L188)
https://www.dr-lex.be/info-stuff/volumecontrols.html#ideal2
2020-01-16 21:38:52 +01:00
Henrik Friedrichsen
a5da4897de
implement software volume mixing
...
closes #115
2020-01-11 18:11:41 +01:00
Henrik Friedrichsen
bde9db2c38
fix parsing of '+' keybinding
...
since it is also the delimiter for keybindings with modifiers, it needs special
treatment
2020-01-11 18:09:43 +01:00
Henrik Friedrichsen
e8f8b25de7
get version during compile time from cargo metadata
2019-11-30 17:39:34 +01:00
Henrik Friedrichsen
feee204f9c
sort albums in library by artist -> year -> album title
...
fixes #111
2019-11-30 17:32:33 +01:00
Henrik Friedrichsen
85e9e99d87
rebind + change playlist update command to update entire library
2019-11-30 17:13:41 +01:00
Henrik Friedrichsen
3a3fe400d3
add packaging status badge + memory footprint
2019-11-29 22:06:29 +01:00
Henrik Friedrichsen
08294daf0d
bump version to 0.1.1
2019-11-24 16:46:46 +01:00
Henrik Friedrichsen
0695434ca0
fix: recursively create directories instead of failing
...
e.g. when ~/.config does not exist
2019-11-24 16:39:15 +01:00
Henrik Friedrichsen
e697b97d8c
major dependency cleanup
...
- depend on specific librespot crates to remove clutter
- update versions
this should also help building on openbsd, as the unused librespot-connect
depended on the nix crate, which does not build on openbsd.
2019-11-24 16:38:15 +01:00