Commit Graph

203 Commits

Author SHA1 Message Date
Henrik Friedrichsen
f4c640ca2b fix: sort playlists in the same order spotify sends them out 2019-06-24 22:13:52 +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
Henrik Friedrichsen
96a0e9f9d6 add type coercion helper to ListItem objects 2019-06-09 23:57:47 +02:00
Henrik Friedrichsen
b59e9b38e6 add CommandResult for modal views 2019-06-09 23:55:12 +02:00
Rasmus Larsen
db7a09c87b Command parser 2019-05-21 18:11:54 +02:00
Rasmus Larsen
5500b34887 Remove dead code 2019-05-21 16:34:50 +02:00
Rasmus Larsen
4343343ee7 Implement silent default non-behaviour of a few commands 2019-05-21 16:05:12 +02:00
Rasmus Larsen
1e0d9ea952 Handle default command behavior 2019-05-21 16:01:56 +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
Henrik Friedrichsen
4b4a027c3c add basepath cmdline flag
this allows a basepath to be set via commandline where ncspot will place
configuration and cache files.

fixes #65
2019-05-16 23:58:05 +02:00
Henrik Friedrichsen
68a2a633f2 match previous mpris action with that of "<" binding
fixes #71
2019-05-11 19:48:22 +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
9ec80ac668 Remove unused imports 2019-05-10 13:07:12 +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
90c1930c39 Fix playlist share url generation 2019-05-10 11:06:46 +02:00
Rasmus Larsen
4897d97931 Move URL handling to relevant structs and share selected song 2019-05-09 16:04:07 +02:00
Rasmus Larsen
a145d73072 Move keybind to 2019-05-08 18:45:10 +02:00
Rasmus Larsen
de1dea5c68 Add a keybind and shortcut to share the currently playing song 2019-05-07 23:39:15 +02:00
KoffeinFlummi
386ac8b896 cargo fmt 2019-04-28 11:59:12 +02:00
KoffeinFlummi
a98a4645f6 Make library the default view 2019-04-28 11:56:59 +02:00
KoffeinFlummi
c96d666481 Clear queue on play command 2019-04-28 11:56:47 +02:00
KoffeinFlummi
dce2f76f6e Rewind to start on previous cmd 2019-04-28 11:43:15 +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
fd3dbd0a6a Prevent single-key unsaving of created playlists 2019-04-28 11:04:59 +02:00
KoffeinFlummi
eed3edfa59 Differentiate between followed and created playlists
Fix #56
2019-04-28 11:04:51 +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
f320b953d6 Implement following playlists 2019-04-19 23:50:36 +02:00
KoffeinFlummi
e68ba60179 Optimize/parallelize library initialization 2019-04-19 22:50:12 +02:00
KoffeinFlummi
3044715362 Lock library until initialization is done 2019-04-19 22:49:30 +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
Henrik Friedrichsen
0de6ad2dfe adapt to new rspotify structures
these changes are necessary to handle playlists with local tracks properly
2019-04-17 18:25:00 +02:00
KoffeinFlummi
d8f3365867 Don't remove artists added via tracks 2019-04-16 20:30:04 +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
KoffeinFlummi
dd69a8c6f2 Fix keybinding parsing for Mod+Char 2019-04-16 19:45:06 +02:00