45 Commits

Author SHA1 Message Date
Timo Furrer
5eeee8069c
fix: properly trim volume content before stripping percentage sign (#18) 2024-10-08 16:11:50 +02:00
Tal
e47ed1da94 feat: add -d flag 2024-10-07 21:32:57 +02:00
Tal
cc73fa5a37 feat: also clamp volume in mpris 2024-10-07 21:24:22 +02:00
Tal
724afd6fa7 fix: remove accidental debug display 2024-10-07 17:11:09 +02:00
Tal
6f7c2dbcba chore: improve readability of code relating to downloader thread 2024-10-07 17:09:22 +02:00
Timo Furrer
5b546ea2de
fix: trim whitespace from volume contents (#16) 2024-10-07 15:19:50 +02:00
Tal
d9ba0c3b3b fix: make autoplay actually function properly 2024-10-07 15:17:13 +02:00
talwat
c7d46e9872 feat: add --pause flag 2024-10-07 14:39:08 +02:00
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
baa2e095d9 feat: add minimalist flag 2024-10-06 09:36:06 +02:00
talwat
8f805d7119 fix: convert to lowercase so that inflector doesn't hallucinate, again 2024-10-06 00:46:03 +02:00
talwat
d1a56403c2 fix: update contractions 2024-10-05 23:59:50 +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
talwat
a414c5e9f4 chore: move ui components into their own file 2024-10-03 08:40:10 +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
c2909b25ec fix: readd version 2024-10-02 14:30:55 +02:00
talwat
69ce498a05 feat: add --alternate flag 2024-10-02 00:27:18 +02:00
talwat
e599ada5ce fix: silly spelling mistake 2024-10-01 23:42:04 +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
d82f78981f feat: prevent border from being bold 2024-10-01 13:29:09 +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
672b0c5c98 feat: handle ctrl+c 2024-09-28 01:06:39 +02:00
Tal
4ee86ec4f2 fix: add exemptions for contractions when formatting song names 2024-09-28 00:50:44 +02:00
Tal
679e9ff005 chore: get ready for publishing 2024-09-28 00:06:22 +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
Tal
5149723b5c feat: remove play command 2024-09-26 16:13:40 +02:00
Tal
1b2466e1f8 feat: make ui much more asthetically pleasing 2024-09-26 16:03:43 +02:00
talwat
e9857e5c11 feat: adjust ui 2024-09-26 14:33:59 +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
talwat
f0e56ea2aa feat: initial commit 2024-09-23 21:59:07 +02:00