-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Describe the bug (BUG 描述)
安卓系统播放歌曲一半时关闭APP,重新打开后之前的歌曲无法播放,但其他歌曲播放正常,只有在关闭APP前没有播放完成的歌曲无法播放,歌曲时间显示为0:00
To Reproduce (复现步骤)
Steps to reproduce the behavior:
- 打开APP播放歌曲
- 退出APP或结束APP进程
- 重新打开APP时直接点播放按钮无响应,歌曲时间显示为0:00
- 搜索其他歌曲播放正常,再返回刚才的歌曲仍然无法播放
Expected behavior (期望行为)
退出APP后重新打开时正常播放歌曲
Platform and Device Info (操作系统及设备信息)
- OS: 小米10 Pro,安卓12
- Browser 音流 1.2.9
Music Server Type (音乐服务器类型)
Linux Navidrome 0.52.5 amd64
Additional context (额外信息)
使用nginx 1.22.1作为反向代理,配置proxy_pass http://127.0.0.1:4533
通过分析nginx日志发现nginx没有收到歌曲下载请求,以下是正常播放歌曲时nginx access.log中的日志:
[24/May/2024:08:42:59 +0800] "GET /api/song/1b0303aec690eee93dd2e1bb4dbb4731 HTTP/1.1" 200 627 "-" "Dart/3.3 (dart:io)"
[24/May/2024:08:42:59 +0800] "GET /rest/stream?u=admin&t=b1***d6&s=cea962&f=json&v=1.15.0&c=Stream+Music&id=1b0303aec690eee93dd2e1bb4dbb4731&format=raw&maxBitRate=0 HTTP/1.1" 206 214 "-" "libmpv"
以下是无法播放歌曲时nginx access.log中的日志:
[24/May/2024:08:43:14 +0800] "GET /api/song/eb96c738fedccca100f7a91434613a5e HTTP/1.1" 200 640 "-" "Dart/3.3 (dart:io)"
对比发现APP在无法播放歌曲时没有请求/rest/stream路径
