Skip to content

Discussion: info.keyword - artist name first or song name first? #347

@cnbeining

Description

@cnbeining

In https://github.com/UnblockNeteaseMusic/server/blob/enhanced/src/provider/find.js#L36-L39 :

		info.keyword =
			info.name +
			' - ' +
			limit(info.artists.map((artist) => artist.name)).join(' / ');

Seems that Bilibili does not like the result -

Song - Artist, 猎户星座 - 朴树: https://api.bilibili.com/audio/music-service-c/s?search_type=music&page=1&pagesize=30&keyword=%E7%8C%8E%E6%88%B7%E6%98%9F%E5%BA%A7%20-%20%E6%9C%B4%E6%A0%91

is NOT returning the actual song as the first result, while

Artist - Song, 朴树 - 猎户星座: https://api.bilibili.com/audio/music-service-c/s?search_type=music&page=1&pagesize=30&keyword=%E6%9C%B4%E6%A0%91%20-%20%E7%8C%8E%E6%88%B7%E6%98%9F%E5%BA%A7

is returning a more preferred result.

Food for thought: does it make sense to change the sequence of info.keyword for all sources?

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions