media-get icon indicating copy to clipboard operation
media-get copied to clipboard

Feature request: please add audio quality or bitrate in search results.

Open Green-m opened this issue 1 year ago • 2 comments

Is your proposal related to a problem?

For now the search results is something like:

    {
        "Name": "어디에 있을까",
        "Artist": "Hello Gayoung",
        "Album": "단편집 `어디에 있을까`",
        "Duration": 255,
        "Url": "https://y.qq.com/n/ryqq/songDetail/0005H9o83BiHWz",
        "ResourceForbidden": true,
        "Source": "qq",
        "FromMusicPlatform": true,
        "Score": -115.12299999999999
    },

There is no audio quality or bitrate (and the score seems not very useful), I can only know the bitrate after I have finished downloading.

Describe the solution you'd like

Maybe provide some option to get the bitrate or music file size or something more detailed metadata info?

Like the youtube-dl:

# list formats about. the media
youtube-dl -F 'http://www.youtube.com/watch?v=P9pzm5b6FFY'

# download the best
youtube-dl -f best 'http://www.youtube.com/watch?v=P9pzm5b6FFY'

As addition, maybe the feature can be used in your another project https://github.com/foamzou/melody/issues/6

Green-m avatar Jun 25 '23 06:06 Green-m

Thanks for your suggestion. Could you help to implement it? : )

foamzou avatar Jun 25 '23 08:06 foamzou

I would like to do this if I were familar to golang

Green-m avatar Jul 10 '23 01:07 Green-m