Compare commits
3 commits
f3e57a6f4c
...
b14f034a50
Author | SHA1 | Date | |
---|---|---|---|
b14f034a50 | |||
c3b9e3fb72 | |||
6088dde2da |
4 changed files with 16 additions and 16 deletions
24
.drone.yml
24
.drone.yml
|
@ -40,19 +40,19 @@ steps:
|
|||
- apk add --no-cache tar gzip zip
|
||||
|
||||
# x86_64-unknown-linux-gnu
|
||||
- mkdir empede-x86_64-unknown-linux-gnu
|
||||
- cp -r target/release/empede static/ README.md empede-x86_64-unknown-linux-gnu
|
||||
- tar czf empede-x86_64-unknown-linux-gnu.tar.gz empede-x86_64-unknown-linux-gnu/
|
||||
- mkdir empede-x86_64-unknown-linux-gnu-${DRONE_TAG}
|
||||
- cp -r target/release/empede static/ README.md empede-x86_64-unknown-linux-gnu-${DRONE_TAG}/
|
||||
- tar czf empede-x86_64-unknown-linux-gnu-${DRONE_TAG}.tar.gz empede-x86_64-unknown-linux-gnu-${DRONE_TAG}/
|
||||
|
||||
# aarch64-unknown-linux-gnu
|
||||
- mkdir empede-aarch64-unknown-linux-gnu
|
||||
- cp -r target/aarch64-unknown-linux-gnu/release/empede static/ README.md empede-aarch64-unknown-linux-gnu
|
||||
- tar czf empede-aarch64-unknown-linux-gnu.tar.gz empede-aarch64-unknown-linux-gnu/
|
||||
- mkdir empede-aarch64-unknown-linux-gnu-${DRONE_TAG}
|
||||
- cp -r target/aarch64-unknown-linux-gnu/release/empede static/ README.md empede-aarch64-unknown-linux-gnu-${DRONE_TAG}/
|
||||
- tar czf empede-aarch64-unknown-linux-gnu-${DRONE_TAG}.tar.gz empede-aarch64-unknown-linux-gnu-${DRONE_TAG}/
|
||||
|
||||
# x86_64-pc-windows-gnu
|
||||
- mkdir empede-x86_64-pc-windows-gnu
|
||||
- cp -r target/x86_64-pc-windows-gnu/release/empede.exe static/ README.md empede-x86_64-pc-windows-gnu
|
||||
- zip -r empede-x86_64-pc-windows-gnu.zip empede-x86_64-pc-windows-gnu/
|
||||
- mkdir empede-x86_64-pc-windows-gnu-${DRONE_TAG}
|
||||
- cp -r target/x86_64-pc-windows-gnu/release/empede.exe static/ README.md empede-x86_64-pc-windows-gnu-${DRONE_TAG}/
|
||||
- zip -r empede-x86_64-pc-windows-gnu-${DRONE_TAG}.zip empede-x86_64-pc-windows-gnu-${DRONE_TAG}/
|
||||
depends_on:
|
||||
- build-aarch64-unknown-linux-gnu
|
||||
- build-x86_64-unknown-linux-gnu
|
||||
|
@ -67,9 +67,9 @@ steps:
|
|||
from_secret: GITEA_TOKEN
|
||||
base_url: https://git.sijman.nl
|
||||
files:
|
||||
- empede-aarch64-unknown-linux-gnu.tar.gz
|
||||
- empede-x86_64-unknown-linux-gnu.tar.gz
|
||||
- empede-x86_64-pc-windows-gnu.zip
|
||||
- empede-aarch64-unknown-linux-gnu-${DRONE_TAG}.tar.gz
|
||||
- empede-x86_64-unknown-linux-gnu-${DRONE_TAG}.tar.gz
|
||||
- empede-x86_64-pc-windows-gnu-${DRONE_TAG}.zip
|
||||
depends_on:
|
||||
- package
|
||||
when:
|
||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -657,7 +657,7 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
|||
|
||||
[[package]]
|
||||
name = "empede"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"askama",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "empede"
|
||||
description = "A web client for MPD"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
{% match entry %}
|
||||
{% when mpd::Entry::Song with { name, path, artist } %}
|
||||
<li
|
||||
hx-post="/queue?path={{path}}"
|
||||
hx-post="/queue?path={{ path|urlencode }}"
|
||||
hx-trigger="click,keyup[key=='Enter']"
|
||||
hx-swap="none"
|
||||
role="button"
|
||||
|
@ -40,7 +40,7 @@
|
|||
>
|
||||
<span class="material-symbols-outlined" title="Song">music_note</span>
|
||||
<div class="albumart">
|
||||
<img src="/art?path={{path}}" onerror="this.style.visibility = 'hidden'">
|
||||
<img src="/art?path={{ path|urlencode }}" onerror="this.style.visibility = 'hidden'">
|
||||
</div>
|
||||
<div class="song">
|
||||
<div class="song__name">{{ name }}</div>
|
||||
|
|
Loading…
Reference in a new issue