Commit Graph

61 Commits

Author SHA1 Message Date
Henrik Friedrichsen
91e89c2970 introduce track data class 2019-03-06 00:15:28 +01:00
Henrik Friedrichsen
0f3cc41115 cargo fmt 2019-03-05 23:26:23 +01:00
Henrik Friedrichsen
766b894aa0 minor statusbar style tweaks 2019-03-05 23:26:06 +01:00
Henrik Friedrichsen
ea762dbed3 don't search with empty input 2019-03-05 22:15:07 +01:00
Henrik Friedrichsen
c517158dcb update screenshot 2019-03-05 20:06:01 +01:00
KoffeinFlummi
7a24eca809 Add main layout view and status bar
Fix #4
2019-03-05 19:18:36 +01:00
Henrik
34a03613e4 Merge pull request #16 from andrewhalle/andrewhalle/add-pkgconfig-requirement
add pkg-config as a requirement
2019-03-05 09:56:02 +01:00
Andrew Halle
93fa387a1a add pkg-config as a requirement 2019-03-04 17:09:25 -08:00
Henrik Friedrichsen
6d243eeb3c fix return type 2019-03-04 19:15:13 +01:00
Henrik Friedrichsen
92811a2ce3 use scrollview in linearlayout for playlist items
this approach is more flexible for future additions, e.g. further callbacks such
as playlist deletion.
2019-03-04 19:13:39 +01:00
Felipe Sere
7d948707fe Load playlists only when opening the playlist screen 2019-03-04 17:31:04 +00:00
Henrik
c603096d26 Merge pull request #13 from felipesere/develop
Implement basic playlist that simply queues songs
2019-03-04 18:03:05 +01:00
Felipe Sere
99674a5ac0 Implement basic playlist that simply queues songs 2019-03-04 16:41:04 +00:00
Henrik Friedrichsen
9507add6a4 more refined queue events + playlist delete binding
- move from listview to linearlayout + scrollview
- doesn't redraw the whole view on queue changes anymore
- uses new cursive functions for linearlayout (needs cursive git)

closes #3
2019-03-04 00:56:34 +01:00
Henrik Friedrichsen
38592e3a4c bump env_logger 2019-03-04 00:53:56 +01:00
Henrik Friedrichsen
19ae8fcbfc rename player events 2019-03-04 00:29:48 +01:00
Henrik Friedrichsen
bb8326af88 refer to Self 2019-03-03 23:47:56 +01:00
Henrik Friedrichsen
6a33d3df92 exclude screenshots from package 2019-03-03 21:36:37 +01:00
Henrik Friedrichsen
2622257b2f pin librespot version 2019-03-03 21:10:14 +01:00
Henrik Friedrichsen
b9d069f0dc fix travis-ci badge 2019-03-03 21:02:59 +01:00
Henrik Friedrichsen
99719af38c add badges 2019-03-03 21:01:00 +01:00
Henrik Friedrichsen
f747c1968a Merge branch 'develop' of github.com:hrkfdn/ncspot into develop 2019-03-03 20:58:49 +01:00
Henrik
48254d19c4 Merge pull request #7 from saethlin/develop
don't panic on missing/invalid config file, try to be helpful instead
2019-03-03 20:56:00 +01:00
Henrik Friedrichsen
14565e26b2 add package metadata 2019-03-03 20:47:11 +01:00
Henrik Friedrichsen
47d9baac8b update requirements 2019-03-03 20:31:34 +01:00
Ben Kimock
c23956bcbd don't panic on missing/invalid config file, try to be helpful instead 2019-03-03 13:14:15 -05:00
Henrik Friedrichsen
28c76f7462 describe more keybindings 2019-03-03 16:55:06 +01:00
Henrik Friedrichsen
fb16ca3a73 knowledge disclaimer! 2019-03-03 15:55:45 +01:00
Henrik Friedrichsen
909ce8c81d cargo fmt 2019-03-03 15:53:54 +01:00
Henrik Friedrichsen
335d9cfad2 fix thumbnail URL 2019-03-03 15:47:29 +01:00
Henrik Friedrichsen
036629fe0f add README 2019-03-03 15:46:34 +01:00
Henrik Friedrichsen
b8d60917b4 hardcore client id 2019-03-03 15:46:15 +01:00
Henrik Friedrichsen
e4e57d12af allow build with other audio backends 2019-03-03 15:46:08 +01:00
Henrik Friedrichsen
3ea534782e install libpulse 2019-03-03 01:41:22 +01:00
Henrik Friedrichsen
bcd2563dee add travis.yml for CI 2019-03-03 01:30:27 +01:00
Henrik Friedrichsen
a562f0b7a7 implement custom track button view (closes #2) 2019-03-03 00:16:17 +01:00
Henrik Friedrichsen
0667b9ab65 remove unused status bar bits 2019-03-02 19:50:29 +01:00
Henrik Friedrichsen
c60324af61 cargo fmt 2019-03-02 18:39:58 +01:00
Henrik Friedrichsen
5a1c7dff69 fix some warnings 2019-03-02 18:38:10 +01:00
Henrik Friedrichsen
3d1673a7a4 add global play/pause/stop buttons + necessary state logic 2019-03-02 18:37:56 +01:00
Henrik Friedrichsen
70d68f8854 cargo fmt 2019-02-27 23:12:43 +01:00
Henrik Friedrichsen
d73a3c144e always trigger a cursive event when a queue event is generated 2019-02-27 23:12:09 +01:00
Henrik Friedrichsen
d3c439342a introduce global event sink to trigger updates across threads 2019-02-27 22:50:31 +01:00
Henrik Friedrichsen
f21e3b0bca wrap logview in ScrollView 2019-02-27 22:50:06 +01:00
Henrik Friedrichsen
bebc6175cc cargo fmt 2019-02-26 23:32:38 +01:00
Henrik Friedrichsen
862f835164 remove crossbeam-channel 2019-02-26 23:32:09 +01:00
Henrik Friedrichsen
212132c2c3 take control of cursive event loop, may be useful later 2019-02-26 23:31:47 +01:00
Henrik Friedrichsen
204cb18410 implement preliminary queue view
this approach needs some (re)work, as the UI is not fully sync'd with the data,
yet. it'd probably be better to have an event system triggered by the queue,
that will cause a UI refresh or similar.
2019-02-26 23:30:16 +01:00
Henrik Friedrichsen
ce566b0fb9 request full width for search results 2019-02-26 22:01:59 +01:00
Henrik Friedrichsen
b06b6bc15b rustfmt 2019-02-26 21:34:20 +01:00