Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Fixes: #409
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLG1979 committed Aug 5, 2017
1 parent 984f398 commit bd4545a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dbus.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ function PithosRatings(owner, callback) {
function RatingsExtension(owner, callback) {
let proxy = new RatingsExtensionProxy(Gio.DBus.session, owner,
'/org/mpris/MediaPlayer2');
if (proxy.HasRatingsExtension) {
if (owner == 'org.mpris.MediaPlayer2.GnomeMusic') {
callback(false);
}
else if (proxy.HasRatingsExtension) {
callback(proxy);
}
else {
Expand Down

0 comments on commit bd4545a

Please sign in to comment.