Commit graph

50 commits

Author SHA1 Message Date
fbca4466d0
Move control routes to separate module and DRY them 2023-12-23 10:11:45 +01:00
16e4052890
Add button to shuffle the queue 2023-12-23 09:58:45 +01:00
9c7871ed87
Add repeat button 2023-12-23 09:28:57 +01:00
d566d8792f
Add consume and shuffle buttons 2023-12-23 09:25:57 +01:00
b872019cb0
Reconnect to mpd on unexpected response 2023-12-23 06:54:46 +01:00
f05e17ee3a
Show track numbers 2023-12-23 06:27:23 +01:00
4119956810
Run rustfmt 2023-12-23 06:16:59 +01:00
ef43275561
Reuse the same mpd connection 2023-12-23 06:16:50 +01:00
b8416b29dd
Split routes up into smaller modules 2023-07-13 00:37:36 +02:00
dae598e15c
Use raw strings for mpd commands
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 02:03:06 +02:00
9dfa38225f
Throw error when mpd returns an unexpected response 2023-05-16 02:02:21 +02:00
62651ea80b
Make Mpd::connect use Mpd::command 2023-05-16 02:01:26 +02:00
1cf1429753
Add CommandResult::new and CommandResult::new_binary methods 2023-05-16 02:00:43 +02:00
05dddfde6d
Fix error when no track is playing 2023-05-16 01:59:57 +02:00
26a3381a25
Remove dbg! calls in mpd.rs
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-14 15:52:43 +02:00
138446e040
Format and apply Clippy suggestions 2023-05-14 15:46:43 +02:00
8e7a087e41
Move split_properties to CommandResult
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-14 15:40:51 +02:00
039509a08d
Replace mpdrs with own implementation
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-14 15:31:16 +02:00
751d19f4f3
Call readpicture when albumart doesnt return art
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-13 14:53:12 +02:00
5e1faf887e
Add albumart and readpicture commands to Mpd 2023-05-13 14:52:49 +02:00
cac047d121
Add current Empede version as HTML comment
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-13 14:21:55 +02:00
e713a65f06
Add button to remove song from queue
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-08 16:33:44 +02:00
68a00bfe80
Replace all pub(crate)s with pubs 2023-05-08 11:38:07 +02:00
f610171d7d
Only show filename for untagged songs
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-07 04:06:21 +02:00
c4936dc4ff
Add buttons to play/queue an entire folder
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #2
2023-05-07 01:50:06 +02:00
ef46017ed8
Add support for an MPD password
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 21:10:57 +02:00
5c500e0f30
Revert "Scale images before sending to the browser"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit f095160817.
2023-05-02 15:53:28 +02:00
f095160817
Scale images before sending to the browser
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-02 15:47:41 +02:00
7b9684e4fb
URL encode paths 2023-05-02 11:04:08 +02:00
2298922333
Add drag-and-drop queue reordering 2023-05-02 00:39:28 +02:00
2521de291d
Add a progress bar to the now playing card
Fixes #5
2023-05-01 17:01:51 +02:00
38a47a4a10
Combine play and pause controls into one that changes depending on state
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-01 16:25:07 +02:00
700a5ad1ac
Move MPD idle command to mpd.rs
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-01 16:13:08 +02:00
6dfbc433a1
Allow for setting the bind address
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-28 00:33:13 +02:00
6053b098db
Add button to clear queue 2023-04-27 16:14:46 +02:00
4843be7dc2
Remove unused template parameters in get_index 2023-04-27 16:14:33 +02:00
9138ce4cc9
Move style and favicon to static files 2023-04-27 16:14:31 +02:00
21387e0834
Replace template includes with htmx hx-gets 2023-04-27 16:14:25 +02:00
726268b005
Infer mimetype from album art buffer 2023-04-27 16:14:19 +02:00
b2ff3b60c8
Several changes:
- Add MPD_HOST and MPD_PORT environment variables
- Improve styling
- Move browser to separate template
- Reload directory on database update
2023-04-27 16:14:17 +02:00
2f0c35d6fe
Make UI flicker less 2023-04-26 21:14:14 +02:00
dea979074a
Rename "current" to "player" 2023-04-25 18:59:14 +02:00
85e77d34cb
Migrate to SSE extension, make SSE more robust 2023-04-25 18:46:21 +02:00
33ab0f36a3
Format code 2023-04-25 16:44:21 +02:00
e51c8991ac
Fix SSE 2023-04-25 16:44:05 +02:00
adfddfc9cf
Implement "now playing" card 2023-04-25 16:32:51 +02:00
96a514d3c6
Simplify mpd calls 2023-04-25 16:32:35 +02:00
a4e157dffa
Remove dbg! call in sse function 2023-04-25 04:04:46 +02:00
97a1d7e03c
Show filename for playlists too 2023-04-25 03:48:39 +02:00
e355dee61b
Initial commit 2023-04-25 03:34:04 +02:00