2023-10-08 17:33:30 +00:00
|
|
|
set dotenv-load := false
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
docker buildx build --pull --platform linux/amd64 -t "forge.lys.ee/lyssieth/rave:amd64" --load .
|
|
|
|
|
|
2023-10-10 19:06:32 +00:00
|
|
|
mount:
|
2023-10-10 19:31:44 +00:00
|
|
|
bash ./mount-tool.sh mount
|
|
|
|
|
|
|
|
|
|
unmount:
|
|
|
|
|
bash ./mount-tool.sh unmount
|
2023-10-10 19:06:32 +00:00
|
|
|
|
|
|
|
|
run: mount
|
2023-10-14 13:43:37 +00:00
|
|
|
RAVE_STORAGE_DIR=/tmp/media-for-rave RAVE_CACHE_DIR=/tmp/cache-for-rave cargo r
|
2023-10-10 19:06:32 +00:00
|
|
|
|
2023-10-10 19:26:42 +00:00
|
|
|
refresh:
|
2023-10-10 19:06:32 +00:00
|
|
|
sea migrate fresh
|
2023-10-12 16:18:36 +00:00
|
|
|
sea generate entity -o ./entities/src --with-serde both --date-time-crate time --lib
|
|
|
|
|
|
|
|
|
|
scan:
|
|
|
|
|
curl -vv "http://localhost:1234/rest/startScan?c=supersonic&f=xml&s=RTA3MKflcW&t=1058b65692a81c4aac17f5aff879891f&u=admin&v=1.8.0" | xq
|
|
|
|
|
|
|
|
|
|
scanStatus:
|
|
|
|
|
curl -vv "http://localhost:1234/rest/getScanStatus?c=supersonic&f=xml&s=RTA3MKflcW&t=1058b65692a81c4aac17f5aff879891f&u=admin&v=1.8.0" | xq
|
|
|
|
|
|
|
|
|
|
getAlbumList2:
|
|
|
|
|
curl -vv "http://localhost:1234/rest/getAlbumList2?c=supersonic&f=xml&s=RTA3MKflcW&t=1058b65692a81c4aac17f5aff879891f&u=admin&v=1.8.0&type=newest" | xq
|
|
|
|
|
|
|
|
|
|
getAlbum ALBUM:
|
|
|
|
|
curl -vv "http://localhost:1234/rest/getAlbum?c=supersonic&f=xml&s=RTA3MKflcW&t=1058b65692a81c4aac17f5aff879891f&u=admin&v=1.8.0&id={{ ALBUM }}" | xq
|