73 Commits

Author SHA1 Message Date
Tal
6b157dd457 feat: remember volume 2024-10-06 18:52:11 +02:00
Tal
901bf0e871
feat: support for mpris (#14)
* feat: initial support for mpris

* feat: overhaul app flow, making audio server control main thread instead of the ui thread

* fix: remove useless extra thread

* fix: last touches

* fix: call interface with minimalist flag

* fix: fix oversight when silencing alsa
2024-10-06 17:46:47 +02:00
talwat
0ef844a3f2 feat: improve slightly media key support 2024-10-04 00:09:39 +02:00
Tal
706ba97428 feat: add wip support for media keys 2024-10-03 23:19:00 +02:00
Tal
b85d8c0be2 feat: improve UI flexibility if resizing is implemented 2024-10-03 18:05:22 +02:00
Samsu
49e7191369
feat: fine grained volume adjustment (#8) 2024-10-03 14:27:27 +02:00
Tal
6b85a83749 fix: only run the hack on linux targets 2024-10-02 22:58:41 +02:00
Tal
c2baa53ded fix: finally fix the alsa warnings with libc's freopen 2024-10-02 22:56:01 +02:00
Tal
5d2e6c6d23 fix: switch to using stdout 2024-10-02 22:07:02 +02:00
Brendan Mesters
86f3f56edb
feat: add volume control & display (#4)
* feat: added volume control

I added a simple volume control to the program, using native
functionality in `rodio::sink`.

This logic has also been linked through to the UI so that users will be
aware of this fucntionality (bound to the '-' and '+' keys) and adding a
volume readout to the UI as well.

* feat: add volume bindings which work without shift

A small issue I noticed I had was that I had to press shift to hit '+',
I now bound the volume up fucntionality to '+' and '=' and the volume
down functionality to '-' and '_', to make both undependant of shift
(assuming most default western keyboard layouts)

* feat: support arrow keys

* feat: add temporarily appearing audio bar

* fix: polish input controls

---------

Co-authored-by: talwat <83217276+talwat@users.noreply.github.com>
2024-10-02 21:20:16 +02:00
talwat
fd2d37d635 fix: fix issue #1 as well as several others
fix: split downloader into a seperate struct for readability
fix: use `lazy_static` to reduce MSRV
fix: reduce frame delta
2024-10-01 19:28:46 +02:00
talwat
67625e9ae3 chore: increase timeout 2024-09-28 02:01:54 +02:00
talwat
f38e1a8a76 feat: make lowfi more resilient to network issues 2024-09-28 01:59:46 +02:00
Tal
4ee86ec4f2 fix: add exemptions for contractions when formatting song names 2024-09-28 00:50:44 +02:00
Tal
65f7574765 chore: fix some more lints and make the code more compact 2024-09-27 14:58:59 +02:00
Tal
8110b8418a docs: added lots of new internal documentation 2024-09-27 14:21:49 +02:00
Tal
93a668bae0 feat: make decoding lazy & improve song name formatting 2024-09-26 21:00:03 +02:00
talwat
233b552343 feat: extend scrape command options 2024-09-25 23:54:55 +02:00
Tal
2102564d04 feat: add duration to tracks when possible 2024-09-25 22:32:16 +02:00
talwat
681889a268 feat: start work on frontend 2024-09-25 18:11:54 +02:00
talwat
e0d13792e2 feat: improve inevitable communication between frontend & backend 2024-09-25 14:39:26 +02:00
talwat
6e457241d2 fix: make sure quits work properly 2024-09-24 23:25:58 +02:00
talwat
1d5af7dc3e feat: improve buffering so that filling the queue happens in the background 2024-09-24 10:32:42 +02:00