All,

The above solution patch is formatted to be dropped into the Ubuntu
source package and recompiled into the binary package.  However, since
it's just a Python file, you can just apply it directly to the
/usr/lib/rhythmbox/plugins/artdisplay/MusicBrainzCoverArtSearch.py file
without building a new binary package, using the following commands:

cd /usr/lib/rhythmbox/plugins/artdisplay/
sudo patch -p4 < /full/path/to/solution_file

-----

Medor: Whatever editor you used to copy-paste the diff contents into
your file, it messed up the indentation by replacing all tabs with the
wrong number of spaces.  Python is a whitespace-sensitive language, and
for better or worse, the authors of this file have used tabs to indent,
so we need to fix your indentation.  To fix it, you need to make sure
there is exactly 1 tab before the first line of the fix, and exactly 2
tabs before the second line.  These need to be actual tabs, not spaces,
so you will have to make sure your editor is not set to replace tabs
with spaces.  (If you use Emacs (with a default .emacs configuration
file; I can't vouch for all customizations...), the first line of the
MusicBrainzCoverArtSearch.py file will auto-configure Emac's tab-mode
for this file for you.  I don't know what other editors respect that
line.)

-- 
Rhythmbox MusicBrainz cover art search engine fails to load available cover art
https://bugs.launchpad.net/bugs/492658
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to