Results 1 to 6 of 6

Thread: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

  1. #1
    Join Date
    Jun 2014
    Location
    Bonn, Germany
    Posts
    67

    Default Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    Hi all!

    I just now realised I can't launch Gnome Music on my machine. If I do so, I get the following error message:

    Code:
    > gnome-music 
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/gnomemusic/mpris.py", line 72, in on_method_call
        result = getattr(self, method_name)(*args)
      File "/usr/lib/python3.6/site-packages/gnomemusic/mpris.py", line 707, in GetAll
        % interface_name)
    Exception: ('org.mpris.MediaPlayer2.GnomeMusic', 'This object does not implement the org.mpris.MediaPlayer2.ExtensionSetRatings interface')
    Does any one know how to understand this? Is this a bug? Can someone confirm this behaviour?
    Is there any fix I can apply?

    Best regards!
    pbiel

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,819
    Blog Entries
    15

    Default Re: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    Quote Originally Posted by pbiel View Post
    Hi all!

    I just now realised I can't launch Gnome Music on my machine. If I do so, I get the following error message:

    Code:
    > gnome-music 
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/gnomemusic/mpris.py", line 72, in on_method_call
        result = getattr(self, method_name)(*args)
      File "/usr/lib/python3.6/site-packages/gnomemusic/mpris.py", line 707, in GetAll
        % interface_name)
    Exception: ('org.mpris.MediaPlayer2.GnomeMusic', 'This object does not implement the org.mpris.MediaPlayer2.ExtensionSetRatings interface')
    Does any one know how to understand this? Is this a bug? Can someone confirm this behaviour?
    Is there any fix I can apply?

    Best regards!
    pbiel
    Hi
    So you have done a media packages switch? If you create a test user and login as that user and try running gnome-music, does it duplicate?

    I tried here (20170808) and works fine showing/playing mp3 tracks.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2014
    Location
    Bonn, Germany
    Posts
    67

    Default Re: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    It works on an other account … And I realised it also works as long as I do not use the Media Player Indicator Extension for Gnome, which interacts with MPRIS. Makes some sense, so there's probably a bug in Media Player Indicator.
    It's in their bug tracker: https://github.com/JasonLG1979/gnome...yer/issues/409 – however, the dev blames Gnome Music (or openSUSE?) for its behaviour, even though I don't really understand what he refers to.

  4. #4

    Default Re: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    Quote Originally Posted by pbiel View Post
    It works on an other account … And I realised it also works as long as I do not use the Media Player Indicator Extension for Gnome, which interacts with MPRIS. Makes some sense, so there's probably a bug in Media Player Indicator.
    It's in their bug tracker: https://github.com/JasonLG1979/gnome...yer/issues/409 – however, the dev blames Gnome Music (or openSUSE?) for its behaviour, even though I don't really understand what he refers to.

    Dev here.

    To illiterate:

    I'm blaming Gnome Music for throwing an Exception(error) when they are asked for properties of an interface which they do not implement and thus self destructing themselves. As I said in the original bug report, according to the lead author of the MPRIS spec extending the MPRIS interface with custom extensions is perfectly fine as per https://lists.freedesktop.org/archiv...q4/000054.html . So instead of self destructing when they are asked for properties of an interface which they do not implement they should just return an empty array.

  5. #5

    Default Re: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    From https://github.com/GNOME/gnome-music...s.py#L699-L707



    elif interface_name == 'org.freedesktop.DBus.Properties':
    return {}
    elif interface_name == 'org.freedesktop.DBus.Introspectable':
    return {}
    else:
    raise Exception(
    'org.mpris.MediaPlayer2.GnomeMusic',
    'This object does not implement the %s interface'
    % interface_name)


    Should simply be:

    else:
    return {}

  6. #6
    Join Date
    Apr 2017
    Location
    Piemont
    Posts
    274

    Default Re: Gnome Music: org.mpris.MediaPlayer2.ExtensionSetRatings interface not implemented

    Why gnome-music has ever worked well?
    Better to use lollypop
    loyalty returns to those who practice it

Tags for this Thread

Posting Permissions

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