You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What am I doing wrong? I play around with player.js example, with the addition of error handler so I can see errors in console.
I'm doing this in an electron app if that makes a difference.
I create Player object and get MPRIS notification for unknown track.
I try to change metadata or playbackStatus and it immediately throws EPIPE or write stream after closed errors.
If I don't change properties everything works, but it's kinda useless like that.
The text was updated successfully, but these errors were encountered:
So I did more testing and apparently I missed dbus object path specification.
My player plays internet streams and I was using uris as mpris:trackid's, which contained invalid characters.
And that caused stream to be closed prematurely.
Not really a bug, but it'd be nice if path limitations where mentioned in the readme somewhere.
Anyway, thanks for your time and for this library, saves me a lot of time :)
What am I doing wrong? I play around with player.js example, with the addition of error handler so I can see errors in console.
I'm doing this in an electron app if that makes a difference.
I create Player object and get MPRIS notification for unknown track.
I try to change metadata or playbackStatus and it immediately throws EPIPE or write stream after closed errors.
If I don't change properties everything works, but it's kinda useless like that.
The text was updated successfully, but these errors were encountered: