Commit Graph

123 Commits

Author SHA1 Message Date
Henrik Friedrichsen
6bf1d662dc minor code cleanups 2019-11-02 23:18:34 +01:00
Henrik Friedrichsen
31a8119749 draw pagination indicator if applicable 2019-10-31 12:30:25 +01:00
Henrik Friedrichsen
498724e2a4 fix: trigger UI redraw after fetching artist data in separate thread
fixes #91
2019-09-08 21:11:59 +02:00
Henrik Friedrichsen
7aa70fcb6b fix deprecation warnings caused by old trait object syntax 2019-09-01 01:32:50 +02:00
Henrik Friedrichsen
980f6eb528 move to a separate save/delete binding approach
this is to address accidental deletions of playlists/tracks that some users
faced

closes #75

related #15
2019-08-13 21:59:11 +02:00
Henrik Friedrichsen
3151f31137 fix syntax error previously introduced by rustfmt
fixes #87
2019-08-13 16:54:21 +02:00
Henrik Friedrichsen
308cdb84c4 fix formatting 2019-08-13 11:56:35 +02:00
Henrik Friedrichsen
4067155e96 remove unused mutabilities 2019-08-13 11:50:31 +02:00
Henrik Friedrichsen
f7458b4137 make sharing to clipboard a feature that can be disabled
this is for users that want to eliminate dependences (e.g. libxcb).
the feature is enabled by default and must be explicitly disabled.

fixes #84
2019-08-13 11:49:27 +02:00
Henrik Friedrichsen
c7a09dc5f0 extend ContextMenu by sharing item 2019-06-15 17:26:38 +02:00
Henrik Friedrichsen
d213e8a54c introduce new context menu for simplified controls
as outlined in #75
2019-06-10 00:07:18 +02:00
Rasmus Larsen
db7a09c87b Command parser 2019-05-21 18:11:54 +02:00
Rasmus Larsen
0beaa82a1f Clippy fixes 2019-05-20 22:32:28 +02:00
Rasmus Larsen
1671db14c1 Move to enum-based commands 2019-05-20 22:15:12 +02:00
Rasmus Larsen
cd4bd627da Ensure no 'unknown command' error is thrown when no track is played 2019-05-10 20:20:55 +02:00
Rasmus Larsen
1a075694af Break share command into smaller chunks 2019-05-10 13:06:36 +02:00
Rasmus Larsen
641ddf0113 Remove extra trailing comma and reformat 2019-05-10 12:57:31 +02:00
Rasmus Larsen
224597ae92 Move share command handling completely to ListView 2019-05-10 12:55:22 +02:00
Rasmus Larsen
4897d97931 Move URL handling to relevant structs and share selected song 2019-05-09 16:04:07 +02:00
KoffeinFlummi
386ac8b896 cargo fmt 2019-04-28 11:59:12 +02:00
KoffeinFlummi
c96d666481 Clear queue on play command 2019-04-28 11:56:47 +02:00
KoffeinFlummi
662b718a4c Lazy-load non-library playlists
Fix #62
2019-04-28 11:31:32 +02:00
KoffeinFlummi
82dee638c5 Display saved status in statusbar 2019-04-28 11:04:59 +02:00
KoffeinFlummi
754d6d5c04 Move playlist methods out of library.rs 2019-04-28 10:32:54 +02:00
Henrik Friedrichsen
eb2e8322e5 Merge remote-tracking branch 'origin/feature/new_rspotify' into develop 2019-04-24 21:01:15 +02:00
Henrik Friedrichsen
18c2f6466a fix most of the clippy linter warnings 2019-04-23 22:28:05 +02:00
KoffeinFlummi
35303db5f0 cargo fmt 2019-04-23 01:47:40 +02:00
KoffeinFlummi
eed218d0c3 Implement browsing for albums, artists, playlists 2019-04-23 01:40:00 +02:00
KoffeinFlummi
d750e5a46f Remove superfluous current screen title 2019-04-23 01:39:30 +02:00
Henrik Friedrichsen
82e1e3d1c2 update bindings, indicate that saving a queue can overwrite playlist
closes #60
2019-04-20 14:53:25 +02:00
KoffeinFlummi
1a17860957 cargo fmt 2019-04-20 00:11:43 +02:00
KoffeinFlummi
1e58ca9345 Implement (un)saving tracks, albums; (un)following artists 2019-04-18 15:43:51 +02:00
KoffeinFlummi
4c974a83f7 Use command system for queue saving 2019-04-18 15:43:04 +02:00
KoffeinFlummi
adba809327 Display saved/followed checkmark 2019-04-18 14:04:40 +02:00
KoffeinFlummi
d93302a63f Restore playlist deletion 2019-04-18 13:31:27 +02:00
KoffeinFlummi
cb32f0ca07 Add all tracks to queue when playing 2019-04-16 19:52:44 +02:00
KoffeinFlummi
210c7d9f4e Implement saved tracks, albums, and artists 2019-04-16 19:52:22 +02:00
Henrik Friedrichsen
ea4ea5a853 implement pagination for search results
closes #5

Ideally we should implement some indication in the UI that more search results
can be retrieved by scrolling down further.
2019-04-10 14:30:29 +02:00
Henrik Friedrichsen
f9f4c52139 make use of compiler type derivation 2019-04-10 14:22:35 +02:00
Henrik Friedrichsen
a6f96d86ba refactor search (lots of duplicate code) 2019-04-10 14:04:09 +02:00
Oscar Linderholm
63f2342477 Set focus to search results tab 2019-04-10 14:04:09 +02:00
Oscar Linderholm
9ea78a9e6e Add support for Spotify URI searches 2019-04-10 14:04:09 +02:00
Oscar Linderholm
5981b08458 Refactor the simplified playlist function 2019-04-10 14:04:09 +02:00
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
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