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

Submit more available information when listening with mpv-mpris #100

Open
MinmoTech opened this issue Jan 20, 2023 · 0 comments
Open

Submit more available information when listening with mpv-mpris #100

MinmoTech opened this issue Jan 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@MinmoTech
Copy link

MinmoTech commented Jan 20, 2023

Checking playerctl when using mpv to listen to songs on youtube provides the following information:

playerctl -a metadata

mpv   mpris:length              232501000
mpv   xesam:contentCreated      2019-03-29T00:00:00
mpv   xesam:artist              一二三
mpv   mpris:artUrl              https://i1.ytimg.com/vi/KuB_8UAZfc4/hqdefault.jpg
mpv   mpris:trackid             '/0'
mpv   xesam:title               しゃしゃてん / 一二三 feat.音街ウナ
mpv   xesam:url                 https://www.youtube.com/watch?v=KuB_8UAZfc4
mpv   mpris:length              232841000

Currently the xesam:url part in particular is not being submitted (supported as origin_url).

Other fields that could be submitted would be the duration as duration_ms and if you would be interested in parsing the url field submitting the music_service would also be an option.

@InputUsername InputUsername added the enhancement New feature or request label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants