Commit Graph

50 Commits

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