Commit Graph

191 Commits

Author SHA1 Message Date
Henrik Friedrichsen
f6d674d9be unsigned subtraction overflow fix 2019-04-09 22:49:10 +02:00
Henrik Friedrichsen
69e6c77753 implement pagination interface for listview 2019-04-09 22:48:42 +02:00
Henrik Friedrichsen
95370b23c0 simplified overflow-safe subtraction 2019-04-09 22:00:54 +02:00
Henrik Friedrichsen
534ccc904f respect currently playing track when shifting queue entries 2019-04-07 14:14:56 +02:00
Henrik Friedrichsen
b72f560e5a implement moving of tracks in queue 2019-04-05 00:27:20 +02:00
Henrik Friedrichsen
14c909862f implement parsing of modifier+key combinations 2019-04-05 00:19:39 +02:00
Henrik Friedrichsen
990ba1fa29 fix: drop reference to main after usage to avoid double mut borrow
fixes a crash that occured when manually entering commands
2019-04-04 23:35:29 +02:00
Henrik Friedrichsen
326d89bdb3 Merge branch 'osm-develop' into develop 2019-04-04 21:39:33 +02:00
Henrik Friedrichsen
f755ea11c6 bump version of webbrowser dependency for bsd support 2019-04-04 21:38:35 +02:00
Henrik Friedrichsen
983285d015 bump version of webbrowser dependency for bsd support 2019-04-04 21:37:38 +02:00
Oscar Linderholm
65eb6c905a Only allow owner read/write to credentials.toml 2019-04-04 21:15:55 +02:00
Henrik Friedrichsen
c6668aa160 allow failures on beta 2019-04-03 14:36:33 +02:00
Henrik Friedrichsen
0da6cd08c7 fix: prevent usize overflow when moving down in listview 2019-04-03 14:16:36 +02:00
Henrik Friedrichsen
1c26c7bcee cargo fmt/clippy all the things + make them mandatory in CI 2019-04-03 14:13:40 +02:00
Henrik Friedrichsen
25fbdb8bde force UI refresh after results are downloaded 2019-04-03 14:05:09 +02:00
KoffeinFlummi
6971c8d431 Refresh token in main thread before search 2019-04-02 08:31:17 +02:00
KoffeinFlummi
d223aae9c7 Add album and artist searching 2019-04-02 08:31:17 +02:00
KoffeinFlummi
c42c144ccf Use seperate threads for search 2019-04-02 08:30:42 +02:00
KoffeinFlummi
3c7b3e3618 Add tabview, add playlists to search 2019-04-02 08:30:42 +02:00
KoffeinFlummi
d2dc2f0ecc Tweak progress bar style 2019-04-02 08:30:16 +02:00
KoffeinFlummi
626ee79654 Pass focus cmd through, fix search keybinding 2019-04-02 08:30:15 +02:00
KoffeinFlummi
3f57111b7e Handle keybindings immediately 2019-04-02 08:30:15 +02:00
Henrik Friedrichsen
3d446ab942 enable librespot cache for audio data 2019-03-31 16:28:43 +02:00
Henrik Friedrichsen
fdb1d01d9a fix crash when adding list to randomized empty queue
with an empty queue the index calculation results in a negative value for
unsigned type usize.
2019-03-30 23:23:16 +01:00
Henrik Friedrichsen
90ffd94c61 add missing whitespace to shuffle mode indicator 2019-03-30 23:20:23 +01:00
Henrik Friedrichsen
378afc40a8 login process is now done interactively
manual config editing is not required anymore
2019-03-30 23:10:54 +01:00
Henrik Friedrichsen
c649adebdf minor wording changes, mainly to make the dialog smaller in width 2019-03-30 22:40:42 +01:00
Henrik Friedrichsen
d500466e2e use webbrowser crate which is already a dependency in rspotify 2019-03-30 22:40:42 +01:00
Michael Edwards
d78e71871a Credentials helper if config not present or unparseable
Fixes #1
2019-03-30 22:40:42 +01:00
Michael Edwards
58f34b9288 Attempt to remove files on config path before creating folders 2019-03-30 22:40:42 +01:00
Michael Edwards
dc88f7e3ee Statusbar only needs nerdfont config 2019-03-30 22:40:42 +01:00
Henrik Friedrichsen
d7848ec333 code formatting + minor refactorings 2019-03-28 05:42:47 +01:00
KoffeinFlummi
486bc7617e Refactor command handling 2019-03-28 03:05:25 +01:00
Henrik Friedrichsen
83a394790f implement deletion of playlists
closes #11
2019-03-26 22:24:20 +01:00
Henrik Friedrichsen
0e3c9fc504 use constants for listview IDs and search edit 2019-03-26 21:28:25 +01:00
Henrik Friedrichsen
5c6aa593d8 restore old EditView behaviour in search
closes #49
2019-03-26 21:07:34 +01:00
Henrik Friedrichsen
4f8342da83 refactorial spring cleaning (cargo fmt + clippy) 2019-03-26 20:51:39 +01:00
Henrik Friedrichsen
2eea519e82 refactor for more generic usage of config path helpers 2019-03-26 19:12:07 +01:00
Henrik Friedrichsen
3892ac07d0 move config to separate folder
this requires the previous config file to be deleted, as it has the same name of
the folder.
2019-03-26 19:05:02 +01:00
Henrik
cb753ea073 add gitter badge + document new player controls 2019-03-25 21:51:24 +01:00
Henrik
e5bf4b7bc0 Merge pull request #47 from KoffeinFlummi/seek-shuffle-repeat
Add seeking, shuffle and repeat
2019-03-25 21:24:48 +01:00
KoffeinFlummi
9cf1e9945e Only regenerate random order if shuffle is enabled 2019-03-25 20:07:38 +01:00
KoffeinFlummi
2b75e985ad Properly clear cmdline when deleting last char 2019-03-25 18:32:51 +01:00
KoffeinFlummi
45062bd89e Add shuffle and repeat 2019-03-25 18:32:51 +01:00
KoffeinFlummi
e6a7d8a693 Add seeking 2019-03-25 18:32:51 +01:00
KoffeinFlummi
992be7c502 Reintroduce pulseaudio backend
Rodio seems to have issues with some PulseAudio setups, so keep this
option around.
2019-03-25 18:32:51 +01:00
Henrik
6f96e35b24 rodio requires libasound2-dev 2019-03-25 09:54:12 +01:00
Henrik
8527e8a341 Merge pull request #46 from sajattack/develop
allow use of cursive/termion-backend
2019-03-25 09:41:13 +01:00
Henrik
17148e87ee Merge pull request #45 from medwards/patch-1
Include new build requirement
2019-03-25 09:39:53 +01:00
Paul Sajna
fab5b278c6 allow use of cursive/termion-backend 2019-03-24 20:32:07 -07:00