Open christopher-dG opened 3 years ago
Upon reading the code a bit I can see where the metadata is generated, and it's done solely on the video title. As far as I can tell, the channel name isn't tracked anywhere, so a fix won't be super trivial at least.
https://github.com/mps-youtube/mps-youtube/blob/4c6ee0f8f4643fc1308e637b622d0337bf9bce1b/mps_youtube/player.py#L147 https://github.com/mps-youtube/mps-youtube/blob/4c6ee0f8f4643fc1308e637b622d0337bf9bce1b/mps_youtube/util.py#L510
Issue / Suggestion
It would be nice if, even perhaps as a fallback, the YouTube channel name could be used as the artist for MPRIS metadata. Especially useful for when you're watching/listening to a video that is not music. I'd be happy to work on this myself if someone can point me in the right direction!
Your Environment
Arch Linux, installed with
mps-youtube-git
.Music player:
mpv