Conky now supports MOC player

So, I found myself tweaking my Conky rc file today.  I’ve been using mocp for playing music becuase it’s a really lightweight, versatile and can run detached from the console.  I really wanted to see my currently playing music info on my desktop in Conky, but Conky’s documentation shows no mention of any support for moc and thier are no mention of variables to use for the config.

So, in doing some googling, I found a website that has a patch for moc support and also mentions that it’s been in Conky since September 28th!  I guess they haven’t updated the documentation yet.

Here’s a list of the new variables you can use in your conkyrc file to add moc support.

  • $moc_state: Current state of MOC; playing, stopped etc.

  • $moc_file: File name of the current MOC song.

  • $moc_title: Title of the current MOC song.

  • $moc_artist: Artist of the current MOC song.

  • $moc_song: The current song name being played in MOC.

  • $moc_album: Album of the current MOC song.

  • $moc_totaltime: Total length of the current MOC song.

  • $moc_timeleft: Time left in the current MOC song

  • $moc_curtime: Current time of the current MOC song.

  • $moc_bitrate: Bitrate in the current MOC song.

  • $moc_rate: Rate of the current MOC song.

 Share!

 
comments powered by Disqus