Commit Graph

227 Commits

Author SHA1 Message Date
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
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
Oscar Linderholm
5981b08458 Refactor the simplified playlist function 2019-04-10 14:04:09 +02:00
Oscar Linderholm
0f0b2f3e2a Add methods for fetching Spotify URI items 2019-04-10 14:04:09 +02:00
Oscar Linderholm
de1062471f Add Spotify URI resource helpers 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
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