Code Monkey home page Code Monkey logo

Comments (5)

fcastilloec avatar fcastilloec commented on May 25, 2024 2

You shouldn't rely on the example because the art URL used is not working anymore and there's an error on the artist metadata.
Try again the example, and replace:

  • 'mpris:artUrl': https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Adele_2016.jpg/800px-Adele_2016.jpg
  • 'xesam:artist': ['Adele']

Notice that the 'xesam:artist' is an array an not a string. Try both of this and the example should work.

from mpris-service.

emersion avatar emersion commented on May 25, 2024 1

Yeah. I'm going to close this as the code has completely changed. Feel free to re-open if you can still reproduce.

from mpris-service.

emersion avatar emersion commented on May 25, 2024

i can't send any metadata

What do you mean?

If possible, provide your source code and describe what happens and what is expected to happen.

from mpris-service.

MarcosPer avatar MarcosPer commented on May 25, 2024

For example when i use examples/player.js i see this in status bar

captura de pantalla de 2017-08-28 12-48-45

Events work great but i don't see any metadata info as title for example. But when i use other player i see metadata correctly so insn't problem of status bar

captura de pantalla de 2017-08-28 12-56-55

I think that is a problem of the way that dbus send metadata, but its only an suspicion but i didn't found any evidence of this.

The info is shown by this gnome extension https://extensions.gnome.org/extension/55/media-player-indicator/

Dbus Version: D-Bus Message Bus Daemon 1.10.6
Node Version: v4.2.6

Updating node to 6.x i get these errors of dbus executing player.js
Failed to encode dictionary
Failed to encode reply value
Failed to encode dictionary
Failed to encode reply value
Failed to encode dictionary
Failed to encode reply value
Failed to encode dictionary
Failed to encode reply value
Failed to encode dictionary
Failed to encode reply value
Now playing: Lolol - Adele - 21

from mpris-service.

acrisci avatar acrisci commented on May 25, 2024

I'm pretty sure this should work now with the dbus-next update.

from mpris-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.