Compare commits

...

3 commits

Author SHA1 Message Date
b14f034a50
Bump version to 0.1.9
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-02 11:58:30 +02:00
c3b9e3fb72
Add version to release archive 2023-05-02 11:40:50 +02:00
6088dde2da
Add some more missing urlencodes 2023-05-02 11:40:18 +02:00
4 changed files with 16 additions and 16 deletions

View file

@ -40,19 +40,19 @@ steps:
- apk add --no-cache tar gzip zip - apk add --no-cache tar gzip zip
# x86_64-unknown-linux-gnu # x86_64-unknown-linux-gnu
- mkdir 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 - cp -r target/release/empede static/ README.md empede-x86_64-unknown-linux-gnu-${DRONE_TAG}/
- tar czf empede-x86_64-unknown-linux-gnu.tar.gz empede-x86_64-unknown-linux-gnu/ - tar czf empede-x86_64-unknown-linux-gnu-${DRONE_TAG}.tar.gz empede-x86_64-unknown-linux-gnu-${DRONE_TAG}/
# aarch64-unknown-linux-gnu # aarch64-unknown-linux-gnu
- mkdir 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 - 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.tar.gz empede-aarch64-unknown-linux-gnu/ - tar czf empede-aarch64-unknown-linux-gnu-${DRONE_TAG}.tar.gz empede-aarch64-unknown-linux-gnu-${DRONE_TAG}/
# x86_64-pc-windows-gnu # x86_64-pc-windows-gnu
- mkdir 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 - 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.zip empede-x86_64-pc-windows-gnu/ - zip -r empede-x86_64-pc-windows-gnu-${DRONE_TAG}.zip empede-x86_64-pc-windows-gnu-${DRONE_TAG}/
depends_on: depends_on:
- build-aarch64-unknown-linux-gnu - build-aarch64-unknown-linux-gnu
- build-x86_64-unknown-linux-gnu - build-x86_64-unknown-linux-gnu
@ -67,9 +67,9 @@ steps:
from_secret: GITEA_TOKEN from_secret: GITEA_TOKEN
base_url: https://git.sijman.nl base_url: https://git.sijman.nl
files: files:
- empede-aarch64-unknown-linux-gnu.tar.gz - empede-aarch64-unknown-linux-gnu-${DRONE_TAG}.tar.gz
- empede-x86_64-unknown-linux-gnu.tar.gz - empede-x86_64-unknown-linux-gnu-${DRONE_TAG}.tar.gz
- empede-x86_64-pc-windows-gnu.zip - empede-x86_64-pc-windows-gnu-${DRONE_TAG}.zip
depends_on: depends_on:
- package - package
when: when:

2
Cargo.lock generated
View file

@ -657,7 +657,7 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
[[package]] [[package]]
name = "empede" name = "empede"
version = "0.1.8" version = "0.1.9"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"askama", "askama",

View file

@ -1,7 +1,7 @@
[package] [package]
name = "empede" name = "empede"
description = "A web client for MPD" description = "A web client for MPD"
version = "0.1.8" version = "0.1.9"
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"

View file

@ -32,7 +32,7 @@
{% match entry %} {% match entry %}
{% when mpd::Entry::Song with { name, path, artist } %} {% when mpd::Entry::Song with { name, path, artist } %}
<li <li
hx-post="/queue?path={{path}}" hx-post="/queue?path={{ path|urlencode }}"
hx-trigger="click,keyup[key=='Enter']" hx-trigger="click,keyup[key=='Enter']"
hx-swap="none" hx-swap="none"
role="button" role="button"
@ -40,7 +40,7 @@
> >
<span class="material-symbols-outlined" title="Song">music_note</span> <span class="material-symbols-outlined" title="Song">music_note</span>
<div class="albumart"> <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>
<div class="song"> <div class="song">
<div class="song__name">{{ name }}</div> <div class="song__name">{{ name }}</div>