Results 1 to 3 of 3
I recently switched over to Clementine for my mp3 player. I like it a lot, but so far I haven't been able to figure out a way to pull current ...
- 10-22-2010 #1Just Joined!
- Join Date
- May 2004
- Posts
- 8
Conky + Clementine?
I recently switched over to Clementine for my mp3 player. I like it a lot, but so far I haven't been able to figure out a way to pull current track information into conky from it.
Anyone else figured something out?
- 10-27-2010 #2Just Joined!
- Join Date
- May 2004
- Posts
- 8
Well, even though no one responded, I thought I'd post the script I got to work with Clementine incase anyone else ever comes across this.
This will output "song title - artist" into conky when you execi it.Code:#!/bin/bash TRACK=`qdbus org.mpris.clementine /TrackList \ org.freedesktop.MediaPlayer.GetCurrentTrack` qdbus org.mpris.clementine /TrackList \ org.freedesktop.MediaPlayer.GetMetadata $TRACK \ | sort -r | egrep "^(title:|artist:)" | sed -e "s/^.*: //g" \ | sed -e ':a;N;$!ba;s/\n/ - /g' | head -c 45
- 12-15-2010 #3Just Joined!
- Join Date
- Dec 2010
- Posts
- 1
Search the Ubuntu Forums for Conky Clementine and you will find the details and installation of a complete Conky Clementine python script
I would post the URL for you but I have to have 15 posts before I can do it...
Also on the page you locate there, you will find a link in my sig line for a complete install


Reply With Quote

