Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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?

  2. #2
    Just 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.

    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
    This will output "song title - artist" into conky when you execi it.

  3. #3
    Just Joined! VastOne's Avatar
    Join Date
    Dec 2010
    Posts
    2
    Quote Originally Posted by GrdLock View Post
    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?
    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

  4. $spacer_open
    $spacer_close

Posting Permissions

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