thedmd / pianobar-windows-build

Build environment for publiding pianobar under Windows
12 stars 8 forks source link

Feature request: notification with tracknames and artwork? #4

Open legolasdimir opened 3 years ago

legolasdimir commented 3 years ago

Is it possible to add support for the notifications that show next to the volume like Spotify and many other media players have? Can that info be gotten from the pandora api?

thedmd commented 3 years ago

Good thing is artwork is available. Bad thing is this media controls are not easily available from pianobar.

Long story short adding this will require some non trivial amount work. I will see what can be done, because there is more than one way to approach the problem.

I cannot promise an ETA.

legolasdimir commented 3 years ago

I really appreciate your looking into it for me. I do want it yes. My request was partially out of desire for the feature but also out of curiosity. I wasn't aware of how much work it may or may not take. Is it just difficult to tie into those features?

On Sat, Aug 14, 2021, 9:51 AM Michał Cichoń @.***> wrote:

Good thing is artwork is available. Bad thing is this media controls are not easily available from pianobar.

Long story short adding this will require some non trivial amount work. I will see what can be done, because there is more than one way to approach the problem.

I cannot promise an ETA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thedmd/pianobar-windows-build/issues/4#issuecomment-898910767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFC3L3LJTJY3EDPTOWPDDSLT42GHTANCNFSM5CEBEKOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

thedmd commented 3 years ago

Main problem is that pianobar is WinXP compatible standalone app. Controls for the media are available since Windows 8.1 and require app to use UWP model. Fortunate thing is pianobar has a way to allow external programs to be notified and I will try to get this part of the code ported as well. So far never had need for it, so there is a good opportunity to look into that.

With that ready, there could be small UWP app next to pianobar that will act as a proxy between media controls and the player.