Comments (5)
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.
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.
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.
For example when i use examples/player.js i see this in status bar
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
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.
I'm pretty sure this should work now with the dbus-next update.
from mpris-service.
Related Issues (20)
- Error: The module was compiled against a different Node.js version using NODE_MODULE_VERSION 48. HOT 6
- CanGoPrevious & CanGoNext variable updating but mpris is not HOT 2
- Add CI HOT 5
- mpris-service 2.0 fails because of JSBI.BigInt with Webpack HOT 9
- Sending/Receiving negative numbers HOT 2
- Player implementation status
- Support multiple instances
- DBus connection error handling
- Documentation hosting HOT 1
- Move to dbusjs organization HOT 2
- TypeError: JSBI.BigInt is not a function HOT 6
- Media Keys stop working after closing window HOT 4
- Got error when detecting the player status using other scripts HOT 3
- TypeError: JSBI.BigInt is not a function HOT 4
- Changing property results in EPIPE errors HOT 3
- use latest dbus-next HOT 4
- Typo: `that` instead of `this` HOT 1
- Error while executing `GetAll` on `org.freedesktop.DBus.Properties`
- Can I use this to discover other players? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpris-service.