You are not logged in.

#2641 2026-03-20 17:54:01

loutch
Member
Registered: 2015-12-12
Posts: 1,037

Re: Show us your conky

Hello

KWf1EKbE_t.png

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Online

#2642 2026-03-21 11:16:19

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,144

Re: Show us your conky

Now that's nice!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2643 Yesterday 02:54:20

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,133

Re: Show us your conky

@loutch

I followed your participation in the discussion about sacad  (Smart Automatic Cover Art Downloader) on another forum.
SACAD is a multi platform command line tool to download album covers without manual intervention, ideal for integration in scripts, audio players, etc.
Since version 3.0, this tool has been completely rewritten in Rust.
https://github.com/desbma/sacad

I didn't try to install it when I was making the radiotray-ng  script because it has a lot of dependencies.
However, I now see that I only need the  sacad  file for integration.

The file can be downloaded here:
https://workupload.com/file/EfujBh3Kc7X

1) Right-click on  ~/Downloads/sacad.tar.xz  >  Extract Here

2) Copy the  ~/Downloads/sacad   file and paste it into  ~/.conky/RadioTray_NG   folder

3) Right click on the  radiotray_ng  script > Copy > Paste

4) Rename the copy to  radiotray-ng-sacad

5) open the file  ~/.conky/RadioTray_NG/radiotray-ng-sacad  and find the lines:

  echo $test1 > $HOME/.conky/RadioTray_NG/album_cover
  echo $test2 >> $HOME/.conky/RadioTray_NG/album_cover

6) Delete everything below to the end

7) Then add (it should look like this): 

  echo $test1 > $HOME/.conky/RadioTray_NG/album_cover
  echo $test2 >> $HOME/.conky/RadioTray_NG/album_cover
  
  
  if [[ "$test1" == "" && "$test2" == ""  ]]; then
 
     cp $HOME/.conky/RadioTray_NG/headphone.png $HOME/.conky/RadioTray_NG/album_art.png
   
  else

    artist=$(sed -n '1p' $HOME/.conky/RadioTray_NG/album_cover | tr '[A-Z]' '[a-z]')
  
    title=$(sed -n '2p' $HOME/.conky/RadioTray_NG/album_cover | tr '[A-Z]' '[a-z]')
    
    cover=$($HOME/.conky/RadioTray_NG/sacad "$artist" "$title" 300 $HOME/.conky/RadioTray_NG/album_art.jpg &> /dev/null)
        
    echo $cover
        
       convert $HOME/.conky/RadioTray_NG/album_art.jpg $HOME/.conky/RadioTray_NG/album_art.png  
  
  fi
          
#### Disable conky when you turn off Radiotray-NG
  
  sleep 2
  
  test3=$(pacmd list-sink-inputs | grep 'radiotray-ng')
  
  if [[ "$test3" == "" ]]; then
  
     > $HOME/.conky/RadioTray_NG/album_cover
  
     radiotray_conky=$(pgrep -a conky | awk '/RadioTray_NG/{print $1}')
  
     kill -SIGKILL $radiotray_conky
     
     cp $HOME/.conky/RadioTray_NG/headphone.png $HOME/.conky/RadioTray_NG/album_art.png
     
     > $HOME/.conky/RadioTray_NG/image  
    
  fi

Done.

This is my RadioTray_NG conky (I just changed the script to radiotray-ng-sacad).

#${texeci 8 bash $HOME/.conky/RadioTray_NG/radiotray-ng}
${texeci 8 bash $HOME/.conky/RadioTray_NG/radiotray-ng-sacad}
#${texeci 8 bash $HOME/.conky/RadioTray_NG/radiotray-ng-swiss-pop}
#${texeci 20 bash $HOME/.conky/RadioTray_NG/radiotray-ng-getmeradio}
${image $HOME/.conky/RadioTray_NG/album_art.png -p 0,0 -s 128x128}

P.S.
I mostly listen to old, little-known blues masters and it's hard to find album covers from that era.
Although SACAD uses five different sources, I think the old radiotray-ng script works a little better in my case.
It takes time to check in more detail.

EDIT
Now I see that you already installed  sacad.
You can replace the line:

    cover=$($HOME/.conky/RadioTray_NG/sacad "$artist" "$title" 300 $HOME/.conky/RadioTray_NG/album_art.jpg &> /dev/null)

With:

    cover=$(sacad "$artist" "$title" 300 $HOME/.conky/RadioTray_NG/album_art.jpg &> /dev/null)

I moved the  sacad  file to  /usr/local/bin.

Last edited by marens (Yesterday 18:50:40)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2644 Today 15:02:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,133

Re: Show us your conky

^ The output of SACAD sometimes contains many warnings and errors because it searches five different sources.
In the version above, I prevented them from showing if you run conky from the terminal.

They are now redirected to the sacad.log  file.

Why?

The radio works differently from the player (e.g. Audacious) and sometimes we get ads.
By analyzing the data from the sacad.log  file, I can see when this happens and now the not_available.png  image reappears instead of the album art.

This is what the part of the radiotray-ng-sacad  script looks like from the line 'cover' to the section '#### Disable conky when...'

    cover=$(sacad "$artist" "$title" 300 $HOME/.conky/RadioTray_NG/album_art.jpg &> $HOME/.conky/RadioTray_NG/sacad.log)
        
    echo $cover
            
    check=$(cat $HOME/.conky/RadioTray_NG/sacad.log)

    if [[ $check =~ "No cover to download" ]]; then
  
       cp $HOME/.conky/RadioTray_NG/not_available.png $HOME/.conky/RadioTray_NG/album_art.png
    
     else
        
       convert $HOME/.conky/RadioTray_NG/album_art.jpg $HOME/.conky/RadioTray_NG/album_art.png  
  
    fi  
  
  fi

          
#### Disable conky when you turn off Radiotray-NG

The radiotray-ng-sacad  script now works perfectly if you listen to classic Pop/Rock/Metal/Country... stations.

If you like old, little-known blues masters (like me) or the 'oldies' genre, the radiotray-ng  script works better.
Although SACAD searches five different sources, album art is often missing.

The source I use has a large archive of such things and sometimes I myself am surprised by what it can find.

Anyway, enjoy the good music that you like.  smile


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2645 Today 19:07:38

loutch
Member
Registered: 2015-12-12
Posts: 1,037

Re: Show us your conky

Hi guys,

It must be about twenty years since my Conky Oblivion stopped responding to mouse clicks.
Now that my click_audacious is working, I’ve started modifying Met30’s Conkys in version 1.10 and it’s working well.
Here I’ve made a bit of a start on desk1.
Well, as my version of Conky doesn’t support mouse clicks, I now need 2 Conkys + the search script.
Here are a few screenshots with the Conkys I’ve migrated.
1 Just the wallpaper
2 The first Conkys launched
3 The second Conkys launched with a click

twKBS281_t.png

hxF9RbYG_t.png

8v5TwVFR_t.png

Well, the weather isn't great, but just to have something in Conky

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Online

#2646 Today 20:26:20

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,133

Re: Show us your conky

Tonight the radiotray-ng-sacad  script was successfully tested.

I was listening to the station Classic Rock Hard Radio.

After about an hour and a half (or more), this is the result:

album-art1.png  album-art2.png  album-art3.png  album-art4.png  album-art5.png

The image headphone.png  appears when conky is started:

headphone.png

It only happened a few times that the script couldn't find the right album cover, but the image not_available.png  appeared:

not-available.png

The sacad.log  file works great.

Warnings and errors can be tracked if there are any.
It's interesting that sometimes there are many warnings (or errors) but SACAD uses five different sources and mostly finds the right album cover.

If not, my script has a solution.  smile


If people would know how little brain is ruling the world, they would die of fear.

Offline

Board footer

Powered by FluxBB