Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

从App直接分享音乐不解析 #1660

Closed
Gianthard-cyh opened this issue Nov 7, 2021 · 1 comment
Closed

从App直接分享音乐不解析 #1660

Gianthard-cyh opened this issue Nov 7, 2021 · 1 comment
Labels
N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 x:question 标签: 需要更多信息
Milestone

Comments

@Gianthard-cyh
Copy link

如题,QQ机器人在接收音乐分享消息时,若是直接从音乐App(QQ音乐,网易云)分享的音乐,不能被解析为MusicShare类型消息。
image

但是若是此时发送者在手机上长按从App分享的音乐卡片,选择“转发”,转发给机器人,此时能够正常解析

无相关日志

复现

  1. 使用音乐App打开某一首歌,选择“分享”,分享到机器人QQ
  2. fetchmessage查看机器人消息队列
  3. 长按该消息转发给机器人
  4. fetchmessage查看机器人消息队列

版本及相关选项选择

  • mirai-core: 2.8.0-RC
  • bot-protocol: ANDROID_PHONE
  • mirai-api-http:2.3.3

网络日志

�[0m2021-11-07 16:55:13 V/Net 3553298986: Send: StatSvc.register(offline)�[0m
�[0m2021-11-07 16:55:25 V/Net 3553298986: Loading server list from cache.�[0m
�[92m2021-11-07 16:55:25 I/Net 3553298986: Server list: 111.33.189.81:14000, 180.109.192.45:14000, 120.232.18.28:443, 157.255.13.190:80, msfwifi.3g.qq.com:8080, 183.47.99.24:8080, 220.196.132.240:14000, 42.81.192.232:80.�[0m
�[92m2021-11-07 16:55:26 I/Net 3553298986: ECDH key is valid.�[0m
�[0m2021-11-07 16:55:26 V/Net 3553298986: Send: wtlogin.exchange_emp�[0m
�[0m2021-11-07 16:55:26 V/Net 3553298986: Recv: wtlogin.exchange_emp�[0m
�[0m2021-11-07 16:55:26 V/Net 3553298986: Send: StatSvc.register(online)�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Syncing friend message history...�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Loading BdhSession from cache file�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Server time updated, serverTime: 1636275327, diff: 0ms=0.0s�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: StatSvc.register�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Start loading stranger list...�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: StatSvc.GetDevLoginInfo(StatSvc.GetDevLoginInfo)�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: OidbSvc.0x5d2_0(OidbSvc.0x5d2_0)�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Start loading friend list...�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: OidbSvc.0x496(OidbSvc.0x496)�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList)�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: OidbSvc.0x5d2_0�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Successfully loaded stranger list: 0 in total�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: No OtherClient online.�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: StatSvc.GetDevLoginInfo�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Start loading group list...�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: OidbSvc.0x496�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: friendlist.GetTroopListReqV2(friendlist.GetTroopListReqV2)�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Syncing friend message history: Success.�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Loading friend list: 4/4�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Successfully loaded friend list: 4 in total�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: friendlist.getFriendGroupList�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: friendlist.GetTroopListReqV2�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)�[0m
�[0m2021-11-07 16:55:27 V/Net 3553298986: Recv: friendlist.GetTroopMemberListReq�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Successfully loaded group list: 1 in total.�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Scheduled refresh login session in 19d 23h 55min 0.0s.�[0m
�[92m2021-11-07 16:55:27 I/Net 3553298986: Scheduled key refresh in 23h 55min 0.0s.�[0m
�[0m2021-11-07 16:55:30 V/Net 3553298986: Saving bdh session to cache�[0m
�[0m2021-11-07 16:55:30 V/Net 3553298986: Send: ConfigPushSvc.PushResp(ConfigPushSvc.PushResp)�[0m
�[0m2021-11-07 16:55:30 V/Net 3553298986: Recv: ConfigPushSvc.PushReq�[0m
�[0m2021-11-07 16:55:47 V/Net 3553298986: Send: StatSvc.register(offline)�[0m

补充信息

@Gianthard-cyh Gianthard-cyh added the x:question 标签: 需要更多信息 label Nov 7, 2021
@Him188
Copy link
Member

Him188 commented Nov 7, 2021

以前写 music share 就是直接从网易云音乐分享过来的,看起来又改了

@Him188 Him188 added N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 labels Nov 7, 2021
@Him188 Him188 added this to the Backlog milestone Nov 7, 2021
@Karlatemp Karlatemp modified the milestones: Backlog, 2.9.0-M1 Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 x:question 标签: 需要更多信息
Projects
None yet
Development

No branches or pull requests

3 participants