Commit Graph

67 Commits

Author SHA1 Message Date
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
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
909ce8c81d cargo fmt 2019-03-03 15:53:54 +01:00
Henrik Friedrichsen
a562f0b7a7 implement custom track button view (closes #2) 2019-03-03 00:16:17 +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
bebc6175cc cargo fmt 2019-02-26 23:32:38 +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
Henrik Friedrichsen
f75c6fbbb8 wrap queue in arc<mutex<>> as it needs to mutable across threads 2019-02-10 21:00:12 +01:00
Henrik Friedrichsen
0b26c5411c initial track queue implementation 2019-02-09 16:05:33 +01:00
Henrik Friedrichsen
b43c7211da format artists in search results 2019-01-06 16:05:48 +01:00
Henrik Friedrichsen
f1ec67db0c cleanups + make search results scrollable 2018-12-23 20:23:10 +01:00
Henrik Friedrichsen
278bb7844f implement track search and playback 2018-12-23 12:44:40 +01:00