Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 427
    • Issues 427
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #1252

Expose Metadata to firefox's media-control feature

Since version 81 Firefox supports controlling media (https://support.mozilla.org/en-US/kb/control-audio-or-video-playback-your-keyboard?redirectslug=firefox-media-controls&redirectlocale=en-US#firefox:linux:fx82).

Under Linux this exposes the media to mpris.

Playing around with playerctl, this works so far with funkwhale. But the metadata only expose the tab-title (which leads me to guess it doesn't expose them at all and firefox just defaults to using the tab-title).

As an Example how it looks with funkwhale:

$ playerctl metadata
firefox mpris:trackid             '/org/mpris/MediaPlayer2/firefox'                                                      
firefox xesam:title               ♫ Lament for Boromir – Clamavi De Profundis ♫ – Subscribed Channels – EorlBruders Music
firefox xesam:album                                                                                                      
firefox xesam:artist                                                                                                     

And here an example how it looks with youtube:

$ playerctl metadata
firefox mpris:trackid             '/org/mpris/MediaPlayer2/firefox'                               
firefox xesam:title               Chamberpoint Ep.8: Fire and Water                               
firefox xesam:album                                                                               
firefox xesam:artist              Kruggsmash                                                      
firefox mpris:artUrl              file:///home/david/.mozilla/firefox/firefox-mpris/1622971_3.png 

Since we do have all that metadata in funkwhale, it would be nice if they could also be exposed to firefox's media-control, in particular for scripting or usage in widgets etc.

Edited Oct 23, 2020 by EorlBruder
Assignee
Assign to
Time tracking