playerctl icon indicating copy to clipboard operation
playerctl copied to clipboard

Feature Request: Add support for the Identity property

Open freundTech opened this issue 4 years ago • 2 comments

Currently whenever playerctl uses the name of a player it used the bus name. MPRIS2 also has a property called Identity on the org.mpris.MediaPlayer2 (Not org.mpris.MediaPlayer2.Player) interface, which gives a human readable name.

It would be nice to have an option to get the identity of a player (For example playerctl identity)

freundTech avatar Mar 06 '20 23:03 freundTech

What about a format variable?

playerctl metadata --format '{{playerIdentity}}'

acrisci avatar Mar 07 '20 02:03 acrisci

Yes. That would also work.

I just thought that because most things have both a command and a format variable and Identity isn't really part of the metadata having a command for it would be more consistent with the rest of the application.

freundTech avatar Mar 07 '20 11:03 freundTech