Sign inSign up

fengmuxi/embyserver

By fengmuxi

•Updated 7 months ago

emby开心版,verification镜像为检验站镜像

Image
0

3.1K

fengmuxi/embyserver repository overview

⁠embyserver

verification版本镜像是一个用于本地联调和测试的安全 mock 服务。

它不会使用真实厂商域名,也不会复刻原始线上授权校验地址;只提供结构相近的测试接口,便于你在开发环境中验证客户端请求和响应处理逻辑。

⁠接口

  • GET/POST/OPTIONS /healthz
  • GET/POST/OPTIONS /admin/service/registration/validateDevice
  • GET/POST/OPTIONS /admin/service/registration/status
  • GET/POST/OPTIONS /admin/service/registration/validate

⁠Docker 运行

docker run --rm -p 18989:18989 fengmuxi/embyserver:verification

⁠Docker Compose 运行

services:
  emby-verification:
    image: docker.1ms.run/fengmuxi/embyserver:verification
    container_name: emby-verification
    ports:
      - "18989:18989"
    environment:
      PORT: "18989"
    restart: unless-stopped

⁠示例请求

curl http://localhost:18989/healthz
curl http://localhost:18989/admin/service/registration/validateDevice
curl http://localhost:18989/admin/service/registration/status
curl http://localhost:18989/admin/service/registration/validate
curl -X POST http://localhost:18989/admin/service/registration/validate

⁠返回示例

GET/POST/OPTIONS /admin/service/registration/validateDevice

{
  "cacheExpirationDays": 365,
  "message": "Device Valid",
  "resultCode": "GOOD"
}

GET/POST/OPTIONS /admin/service/registration/status

{
  "deviceStatus": "0",
  "planType": "Lifetime",
  "subscriptions": {}
}

GET/POST/OPTIONS /admin/service/registration/validate

{
  "featId": "MBSupporter",
  "registered": true,
  "expDate": "2099-01-01",
  "key": 114514
}

refresh镜像为emby定时扫描指定库项目

⁠Docker Compose 运行

services:
  emby-refresh:
    image: docker.1ms.run/fengmuxi/embyserver:refresh
    container_name: emby-refresh
    restart: unless-stopped
    environment:
      TZ: Asia/Shanghai
    ports:
      - "8000:8000"
    volumes:
      - ./data:/app/data

Tag summary

Content type

Image

Digest

sha256:9d0478ffe…

Size

55.5 MB

Last updated

7 months ago

docker pull fengmuxi/embyserver:refresh