Results 1 to 2 of 2

Thread: MPRIS, how to access sound menu information (now playing track, artist and album)

  1. #1
    Join Date
    Feb 2012
    Beans
    1

    MPRIS, how to access sound menu information (now playing track, artist and album)

    Hello!

    I would like to access the information (current track, artist and album) which is provided by the music players and displayed in the sound menu at the top (where you can also pause and jump to the next or previous track), from a self-written script or program.

    I've searched a lot for this but only found threads about removing a player from that menu or whether it is possible to have a player listed there.
    Well, I also found sites explaining how to get your own app to register for the sound menu and I know it has to use MPRIS (Media Player Remote Interfacing Specification) which "aims to provide a common programmatic API for controlling media players" and uses D-Bus, however that didn't really help me finding out how to receive that information instead of sending it.

    Is that possible?

    Thank you!

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,634
    Distro
    Ubuntu

    Re: MPRIS, how to access sound menu information (now playing track, artist and album)

    Thread moved to Programming Talk.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •