music(player): 变速播放 + AB Loop
deploy articulate / build-and-deploy (push) Failing after 1m42s
deploy cube / build-and-deploy (push) Successful in 2m5s
deploy karaoke / build-and-deploy (push) Failing after 2m2s
deploy simpleasm / build-and-deploy (push) Successful in 2m21s
deploy music / build-and-deploy (push) Successful in 4m2s
deploy werewolf / build-and-deploy (push) Failing after 58s

- 变速:底部 1× 圆形按钮循环切 0.5/0.75/1/1.25/1.5;preservesPitch=true(浏览器 native 保音高);localStorage 持久化全局
- AB Loop:A B 两按钮在当前位置打点,🔁 开关;进度条上绿色高亮 A↔B 区段;timeupdate 触发 ≥B 跳回 A;切歌自动清 A/B
This commit is contained in:
Fam Zheng
2026-05-10 21:40:19 +01:00
parent 5674be1cfd
commit cdbf8308d1
81 changed files with 5899 additions and 0 deletions
+82
View File
@@ -0,0 +1,82 @@
apiVersion: v1
kind: Namespace
metadata:
name: cube-werewolf
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: werewolf
namespace: cube-werewolf
labels:
app: werewolf
spec:
replicas: 1
selector:
matchLabels:
app: werewolf
template:
metadata:
labels:
app: werewolf
spec:
imagePullSecrets:
- name: registry-creds
containers:
- name: werewolf
image: registry.famzheng.me/mochi/werewolf:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 1
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 15
resources:
requests:
cpu: 10m
memory: 16Mi
limits:
cpu: 200m
memory: 64Mi
---
apiVersion: v1
kind: Service
metadata:
name: werewolf
namespace: cube-werewolf
spec:
selector:
app: werewolf
ports:
- name: http
port: 80
targetPort: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: werewolf
namespace: cube-werewolf
spec:
ingressClassName: traefik
rules:
- host: werewolf.famzheng.me
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: werewolf
port:
number: 80