Commit Graph

272 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
Henrik Friedrichsen
298091c301 update dependencies 2019-06-08 18:48:04 +02:00
Henrik
e03536b2a7 Merge pull request #76 from Herbstein/commander
Move to enum-based commands
2019-05-22 17:34:14 +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
4a760ac128 reword libxcb dependency 2019-05-15 13:21:30 +02:00
Henrik Friedrichsen
1e475b953a check Cargo.lock into repository
fixes #68
2019-05-13 08:54:14 +02:00
Henrik Friedrichsen
99521f3a8f set readme filename 2019-05-13 08:51:57 +02:00
Henrik Friedrichsen
68a2a633f2 match previous mpris action with that of "<" binding
fixes #71
2019-05-11 19:48:22 +02:00
Henrik Friedrichsen
ee95386e9d add xorg-dev/libxcb dependencies to README
fixes #72
2019-05-11 19:44:06 +02:00
Henrik Friedrichsen
9e81903d43 fix build instructions for portaudio
when disabling all default features, the pancurses backend get's dropped as
well, effectively breaking the build.

fixes #70
2019-05-11 19:36:28 +02:00
Henrik Friedrichsen
4a6ffbfc08 remove leftover winapi dependency 2019-05-11 18:41:13 +02:00
Henrik
5eff818faa Merge pull request #67 from Herbstein/share
Add sharing functionality
2019-05-10 22:56:34 +02:00
Rasmus Larsen
6daabb0b0d Update share functionality in README 2019-05-10 21:36:45 +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
6ffaa8e8a0 Update README with information about new keybind 2019-05-08 01:29:03 +02:00
Rasmus Larsen
de1dea5c68 Add a keybind and shortcut to share the currently playing song 2019-05-07 23:39:15 +02:00
Rasmus Larsen
c5a0a73077 Ignore files created by IDEA-based IDEs 2019-05-07 23:37:27 +02:00
Henrik Friedrichsen
f5e30169b3 Merge branch 'minor-stuff' of git://github.com/KoffeinFlummi/ncspot into develop 2019-04-28 17:03:59 +02:00
KoffeinFlummi
cf18a5ca42 Use official rspotify repo 2019-04-28 15:36:00 +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
362c62b19d Merge pull request #63 from osm/develop
Add ALSA backend and fix typo in README.md
2019-04-24 22:31:13 +02:00
Oscar Linderholm
df83d97dee Fix Rudio typo in README.md 2019-04-24 21:33:58 +02:00
Oscar Linderholm
b27e904363 Add ALSA backend 2019-04-24 21:33:31 +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