Commit Graph

244 Commits

Author SHA1 Message Date
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
Henrik Friedrichsen
fe3470479c document new bindings 2019-04-23 22:27:40 +02:00
Henrik Friedrichsen
a0a874e942 Merge branch 'KoffeinFlummi-browsing' into develop 2019-04-23 22:02:59 +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
Henrik
463a8bfcca Merge pull request #59 from KoffeinFlummi/library
Implement Library viewing/modification
2019-04-20 10:23:26 +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
KoffeinFlummi
ab0d3eb9e7 Add .log to .gitignore 2019-04-18 13:30:44 +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
Henrik Friedrichsen
0bbba3c57d remove clippy from CI for now, as it's too strict 2019-04-15 22:07:54 +02:00
Henrik Friedrichsen
8738472e87 test login credentials before entering main program
closes #58

this is a bit messy, as librespot panics, when authentication fails. thus, we
test the credentials in a separate thread to handle the panic.

see also: https://github.com/librespot-org/librespot/issues/108
2019-04-15 21:59:19 +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