← Back to team overview

cairo-dock-team team mailing list archive

[Bug 1052162] Re: MusicPlayer: the cover is not added when songs change

 

> after looking in the dbus log, I am not seeing any trackids.
Yes, it seems the trackid is always the same (you can also use d-feet to quickly and easily check DBus messages).

According to the MPRIS2 specifications, the 'trackid' is required and should be linked to an unique track: 
 > If there is a current track, this must have a "mpris:trackid" entry (of D-Bus type "o") at the very least, which contains a D-Bus path that uniquely identifies this track. 
  http://specifications.freedesktop.org/mpris-spec/latest/Player_Node.html#Property:Metadata
  http://specifications.freedesktop.org/mpris-spec/latest/Player_Node.html#Simple-Type:Track_Id

Can you report this bug to Audacious devs? It seems they don't use
Launchpad: http://redmine.audacious-media-
player.org/projects/audacious/issues

Thank you :) (and feel free to report/patch any other bugs or ideas ;) )

PS: @ fabounet: should we also check if the artist/album/title have
changed to avoid this kind of problem even if this bug is not due to the
dock?

** Changed in: cairo-dock-plug-ins
       Status: New => Invalid

** Changed in: cairo-dock-plug-ins
     Assignee: (unassigned) => Matthieu Baerts (matttbe)

** Also affects: audacious (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/1052162

Title:
  MusicPlayer: the cover is not added when songs change

Status in Cairo-Dock: Plug-ins:
  Invalid
Status in “audacious” package in Ubuntu:
  New

Bug description:
  I've been working with the source trying to get a feel for the
  project. I "partially" fixed one of my issues, the music player not
  updating the cover when songs change. I got the icon to update
  whenever a new cover is not found, but still haven't gotten the tool
  tip text to update.

  static gboolean _on_got_cover (CDSharedMemory *pSharedMemory)
  {
  	CD_APPLET_ENTER;
  	if (pSharedMemory->bSuccess)
  	{
   		...
   	}
    else 
  // I added the 3 following lines
    {
   		cd_musicplayer_apply_status_surface (myData.iPlayingStatus);
    }
  ...
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1052162/+subscriptions


Follow ups

References