Tdesktop: Media key support for music playback?

Created on 5 Oct 2017  路  11Comments  路  Source: telegramdesktop/tdesktop

Dear all,

Just an idea:

What are your thoughts on adding media key support for Telegram Desktop for people to pause and resume audio file playback by pressing their media keys on their keyboard?

Tested it on Ubuntu 17.10 but it's not recognized.

image

enhancement linux

Most helpful comment

I also think MPRIS is very useful
to control music using media keys

please add this feature

All 11 comments

They work on macOS and (iirc) on Windows, btw

Cool! So we (just) need to add Linux MPRIS support. Anyone an idea how to
proceed?

If I understand correctly, firstly there is a need for DBus support (as MPRIS works on top of DBus). Probably a compilation env var to add conditional support for DBus when compiling for Linux systems? Or it can have the support available on all platforms but decide to use MPRIS on runtime?

I also think MPRIS is very useful
to control music using media keys

please add this feature

any progress on this issue?
I would like to help with it

Hey there!

This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Still relevant on 2.4.4

any progress on this issue?

I made a try to add mpris support some time ago, but the specification requires a lot of properties, signals and methods to be implemented, not to say that the specification requires emitting PropertiesChanged which is not integrated with QtDBus. Looking to the facts that tdesktop code is really hard to understand and that I'm not interested in this feature, I stopped the work. If anyone wants to continue, there are my commits: https://github.com/ilya-fedin/tdesktop/tree/mpris.

same bug?

No, I think this ticket could be renamed to "Add MPRIS support" to eliminate confusion

Was this page helpful?
0 / 5 - 0 ratings