6 Commits

Author SHA1 Message Date
30599306f1
treewide: copy to address
This saves the unnecessary extra copy.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 23:37:09 +09:00
526a0371a4
song: zero fields for variants
Once again, helps remove code duplication and be more future-proof in
case any more variants are uncovered.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 20:38:53 +09:00
b5f5626b02
album: extend struct for /api/album/%d/data
This also includes tests against a sample response from the
https://monster-siren.hypergryph.com/api/album/1030/data endpoint.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 19:29:23 +09:00
21871a387c
generic: return content length alongside body
This increases efficiency for bigger response bodies.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 06:06:52 +09:00
bb1164d081
song: enrich metadata from API
This should be the last of the API interactions we need.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-18 04:10:38 +09:00
ea54772c03
song: struct for /api/song/%d
This also includes tests against a sample response from the
https://monster-siren.hypergryph.com/api/song/048794 endpoint.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 07:49:06 +09:00