Commit Graph

92 Commits

Author SHA1 Message Date
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
Henrik Friedrichsen
25fbdb8bde force UI refresh after results are downloaded 2019-04-03 14:05:09 +02:00
KoffeinFlummi
6971c8d431 Refresh token in main thread before search 2019-04-02 08:31:17 +02:00
KoffeinFlummi
d223aae9c7 Add album and artist searching 2019-04-02 08:31:17 +02:00
KoffeinFlummi
c42c144ccf Use seperate threads for search 2019-04-02 08:30:42 +02:00
KoffeinFlummi
3c7b3e3618 Add tabview, add playlists to search 2019-04-02 08:30:42 +02:00
KoffeinFlummi
d2dc2f0ecc Tweak progress bar style 2019-04-02 08:30:16 +02:00
KoffeinFlummi
626ee79654 Pass focus cmd through, fix search keybinding 2019-04-02 08:30:15 +02:00
Henrik Friedrichsen
90ffd94c61 add missing whitespace to shuffle mode indicator 2019-03-30 23:20:23 +01:00
Michael Edwards
dc88f7e3ee Statusbar only needs nerdfont config 2019-03-30 22:40:42 +01:00
Henrik Friedrichsen
d7848ec333 code formatting + minor refactorings 2019-03-28 05:42:47 +01:00
KoffeinFlummi
486bc7617e Refactor command handling 2019-03-28 03:05:25 +01:00
Henrik Friedrichsen
83a394790f implement deletion of playlists
closes #11
2019-03-26 22:24:20 +01:00
Henrik Friedrichsen
0e3c9fc504 use constants for listview IDs and search edit 2019-03-26 21:28:25 +01:00
Henrik Friedrichsen
5c6aa593d8 restore old EditView behaviour in search
closes #49
2019-03-26 21:07:34 +01:00
Henrik Friedrichsen
4f8342da83 refactorial spring cleaning (cargo fmt + clippy) 2019-03-26 20:51:39 +01:00
KoffeinFlummi
45062bd89e Add shuffle and repeat 2019-03-25 18:32:51 +01:00
KoffeinFlummi
e6a7d8a693 Add seeking 2019-03-25 18:32:51 +01:00
Henrik Friedrichsen
79246957df also highlight currently playing track if selected 2019-03-24 19:11:36 +01:00
Henrik Friedrichsen
e0f7b5c156 implement functionality to save queues to playlists 2019-03-24 16:33:39 +01:00
Henrik Friedrichsen
212edcb18c implement modal view wrapper
this wrapper swallows all events that were not processed by the child view. it
can be used for modal dialogs.
2019-03-24 16:30:48 +01:00
Henrik Friedrichsen
2a7770177b bugfix: make sure len is in bounds of usize 2019-03-24 01:02:08 +01:00
Henrik Friedrichsen
7e17b127ac Merge branch 'KoffeinFlummi-theming' into develop 2019-03-22 16:05:43 +01:00
KoffeinFlummi
69b79f5d63 Add configurable theme 2019-03-22 01:08:29 +01:00
KoffeinFlummi
b7dcfb54fa Draw background for entire highlit row 2019-03-22 01:07:34 +01:00
Henrik Friedrichsen
2b45778196 handle rate limiting imposed by spotify web api
closes #29
2019-03-20 23:12:58 +01:00
Henrik Friedrichsen
2e8fbae89e cargo fmt 2019-03-20 23:10:37 +01:00
KoffeinFlummi
b7e0e87e44 Add scroll bar to ListView, remove ScrollView 2019-03-20 22:32:45 +01:00
Henrik Friedrichsen
e0d1d456f4 select first item in listviews initially 2019-03-17 23:03:35 +01:00
Henrik Friedrichsen
9842b89457 remove obsolete events and callbacks 2019-03-17 22:14:59 +01:00
Henrik Friedrichsen
32b1c4f583 the spelling focused is much more common 2019-03-17 19:38:06 +01:00
Henrik Friedrichsen
c74b5786f2 make TAB switch between search field and list view 2019-03-17 18:53:45 +01:00