Randomness
To explain why you have observed this apparent random display of coverart you need to understand what is happening behind the scenes.
The CoverArt Search plugin is the culprit here. It obtains coverart from a number of sources:
- local cache (images in the track folder itself)
- tracks themselves
- lastfm
- musicbrainz
However - it does this in a very "strange" way - it throws requests out to each coverart source provider all at the same time. As each source provider returns a result, it stores the coverart in its database cache located in ~/.cache/rhythmbox/album-art
. Thus what you see is the result of all four searches - you maybe seeing coverart from tracks or you maybe seeing coverart from one of the internet providers. You have no control - its totally random.
To the solution
Out of the box, the only real solution you have is to disconnect the network when using Rhythmbox so to force rhythmbox to use either cached files or from the tracks themselves.
There must be a better way...
Well yes - there is and I know this, because I wrote it.
You need an external plugin called CoverArt Search Providers.
This has the key capability to allow you to choose where you want to download coverart from.
Even better - you can control the order - if you want track based art - just put your choice higher up the order.
If you are not interested in internet based coverart - dont add the internet based coverart providers.
If you are interested in coverart from a wider range of internet providers - well that's built-in - just look at the screenshot.
So have I sold this to you yet?
Lets install this. Its available in my Rhythmbox Plugin PPA as described in the linked question below. Add the PPA and install the package rhythmbox-plugin-coverart-search
i.e.
sudo apt-get install rhythmbox-plugin-coverart-search
If you dont like to install PPA's, you can install directly using the instructions in my GitHub project page, reproduced here to complete the answer:
RB2.96 - 2.99:
sudo apt-get install git gettext python-mako python-mutagen python-requests python-gdbm python-imaging
rm -rf ~/.local/share/rhythmbox/plugins/coverart_search_providers
git clone https://github.com/fossfreedom/coverart-search-providers.git
cd coverart-search-providers
./install.sh
RB 3.0 and later:
sudo apt-get install git gettext python3-mako python3-requests python3-gdbm python3-pil python3-lxml
rm -rf ~/.local/share/rhythmbox/plugins/coverart_search_providers
git clone https://github.com/fossfreedom/coverart-search-providers.git
cd coverart-search-providers
./install.sh --rb3
cleanup coverart database
If you want a clean start to ensure that only the coverart from your tracks is remembered then delete the coverart database
rm -rf ~/.cache/rhythmbox/album-art
Don't worry, next time you restart rhythmbox the database is recreated.
important point for RB2.96 users
Since you are using RB2.96, the Art Display plugin has a hard-coded dependency on the Art Search plugin. You cannot run both Art Search and CoverArt Search Providers at the same time.
To break the link (it doesnt do any harm!) then do the following:
sudo nano /usr/lib/rhythmbox/plugins/artdisplay/artdisplay.plugin
Change the line from Depends=rb;artsearch
to Depends=rb
CTRL+O, and CTRL+X to save.
Alternatively, you can install the artdisplay plugin manually from this GitHub project
Linked Question:
Lets start with rhythmbox
package dependencies. On my 16.04 LTS:
$ apt-cache depends rhythmbox
rhythmbox
Depends: libc6
Depends: libglib2.0-0
Depends: libgstreamer-plugins-base1.0-0
Depends: libgstreamer1.0-0
Depends: libgtk-3-0
Depends: libpeas-1.0-0
Depends: librhythmbox-core9
Depends: libtotem-plparser18
Depends: libx11-6
Depends: python3
Depends: python3
Depends: python3.5
Depends: rhythmbox-data
Depends: dbus
dbus:i386
Depends: gstreamer1.0-plugins-base
Depends: gstreamer1.0-plugins-good
Depends: adwaita-icon-theme
Depends: gstreamer1.0-x
Depends: media-player-info
Depends: gir1.2-rb-3.0
Depends: gir1.2-glib-2.0
Depends: gir1.2-gtk-3.0
Depends: python3-gi
Depends: libpeas-1.0-0-python3loader
Breaks: gvfs
Recommends: yelp
Recommends: avahi-daemon
avahi-daemon:i386
Recommends: notification-daemon
dunst
awn-applet-awn-notification-daemon
cinnamon
gnome-shell
lxqt-notificationd
mate-notification-daemon
notify-osd
plasma-workspace
python-jarabe
xfce4-notifyd
Recommends: gstreamer1.0-pulseaudio
Recommends: gvfs-backends
gvfs-backends:i386
Recommends: rhythmbox-plugins
Recommends: rhythmbox-plugin-zeitgeist
Suggests: gstreamer1.0-plugins-bad
Suggests: <gnome-codec-install>
sessioninstaller
|Suggests: gnome-control-center
Suggests: unity-control-center
Suggests: rhythmbox-plugin-cdrecorder # <--- seems to be CD recording one
So I assume that sudo apt-get install rhythmbox-plugin-cdrecorder
will fix the problem (it uses Brasero as CD/DVD writer).
And make sure that you have enabled Audio CD Recorder in Rhythmbox (go to Tools -> Plugins, checkbox Audio CD Recorder should be checked).
Best Answer
All rhythmbox covers are held in a database format called trivial database.
This database is found in the folder
~/.cache/rhythmbox/album-art
.In theory you can write some code or use tools such as
[tdbdump](http://manpages.ubuntu.com/manpages/precise/man8/tdbdump.8.html)
to interrogate the database, but in practise it is easier just to delete the folder and its contents.Don't worry - it recreates itself when rhythmbox starts and you next add album-art.
If you are using Rhythmbox v2.97 and later you can instead drag-and-drop pictures from Nautilus onto the album-art plugin and it will update your album-art - make sure you are playing your music track first when doing this.
If you are using Rhythmbox v2.96 you cannot use this drag-and-drop technique. However, if you use my rhythmbox plugin coverart-browser, you can similarly drag-and-drop pictures onto your albums.