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

关于 find standby song 逻辑的优化提议 #434

Closed
BruceZhang1993 opened this issue Dec 14, 2020 · 1 comment
Closed

关于 find standby song 逻辑的优化提议 #434

BruceZhang1993 opened this issue Dec 14, 2020 · 1 comment
Labels
FEP feeluown enhancement proposal

Comments

@BruceZhang1993
Copy link
Member

  • 作者:@BruceZhang1993
  • 创建时间:2020-12-14
  • 最近更新:2020-12-14 19:00
  • 最新状态:
    • 2020-12-14 - 提出优化建议

简介与背景

目前的无法播放歌曲的 find standby 逻辑为使用 歌曲名+歌手名 拼接调用 provider 搜索接口实现,在一些情况下可能会更容易搜到翻唱歌曲而不是原曲(比如标题为 歌曲名(Cover: 歌手名) -- 翻唱歌手名),这个情况在一些 provider 搜索比较垃圾的情况下容易出现。

方案概述

  • 初步方案

调整 find standby 逻辑为按照歌曲名搜索后,按照歌曲名和歌手名排序,歌曲名和歌手名排序需要一个合适的排序权重

  • 进阶方案

给 provider 提供能力可以自定义 find standby 逻辑,provider 接收一个 SongModel 返回一个 List[SongModel] 的 standby 歌曲列表

@BruceZhang1993 BruceZhang1993 added the FEP feeluown enhancement proposal label Dec 14, 2020
@cosven
Copy link
Member

cosven commented Nov 21, 2021

目前已经基本按照这种方案实现 ~

@cosven cosven closed this as completed Nov 21, 2021
新版媒体资源管理 automation moved this from To do to Done Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEP feeluown enhancement proposal
Development

No branches or pull requests

2 participants