INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: possible to pipe our text of current playing track/artist/album?  (Read 757 times)

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 478
possible to pipe our text of current playing track/artist/album?
« on: September 24, 2018, 02:35:31 am »

Hi

i was wondering since there doesn't seem to be any MPRIS support can one somehow query the server to pipe out text of the current playing track/artist/album?
This could be useful to pipe out to a panel bar plasmoid/widget to show current playing info

best

Z
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71348
  • Where did I put my teeth?
Re: possible to pipe our text of current playing track/artist/album?
« Reply #1 on: September 24, 2018, 06:19:35 am »

On the Devzone page (link at the bottom) take a look at MCWS.
Logged

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: possible to pipe our text of current playing track/artist/album?
« Reply #2 on: September 24, 2018, 07:32:51 am »

Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 478
Re: possible to pipe our text of current playing track/artist/album?
« Reply #3 on: September 24, 2018, 07:42:32 am »

haha :) thats what gave me the idea :D :D

i love you plasma and I love kde which ive been using for past 10 years..BUT..there is a nasty bug in the last few weeks where if im connected to a TB dock (which i am 90% of the day at work and home) kde isnt usable since all cpu cores are at 99%.. :( :(

so until i can figure this out im banned to gnome :D

still would be cool at least im back at kde (and for sure use your plasmoid!) to get a track/artist line on the gnome bar

im not really a programmer, could you give me some hints ;-)

best and thx for the awesome plasmoid!

Z
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5174
  • "Linux Merit Badge" Recipient
Re: possible to pipe our text of current playing track/artist/album?
« Reply #4 on: September 25, 2018, 08:52:49 pm »

Short of real MPRIS support, you can try using system notifications by modifying my old notifier script to use the current MC version numbers:
https://yabb.jriver.com/interact/index.php/topic,99309.msg688480.html#msg688480

I tested and it still worked as of a few months ago.

You could also try building it into a conky display as shown here, which works on a similar principle:
https://yabb.jriver.com/interact/index.php/topic,98285.msg679598.html#msg679598

These are both "rough" solutions, but should work in a basic way.
Logged
Pages: [1]   Go Up