You are not logged in.
Pages: 1
I happed to catch the problem Sonata was having with the lyrics and addressed that. But now I think it is having issues fetching cover art. No matter what album/artist I search, I keep getting "No cover art found" when looking for remote images.
Could someone at least confirm that they too are experiencing this? I think there might be an issue with the Amazon AWS account/service Sonata is using to fetch the information. First, before I dive into the code and hack at it, I would like to figure out if this is an issue with my setup or the program itself.
Offline
Welcome to the forum, johnmendel!
What setup did you do ? Which version do you use ? What sound system do you use ? Can similar functionality work in other application ?
Offline
I'm having a similar issue. I'm running mpd as daemon with latest repo version and alsa.
Offline
Hi,
I'm experiencing the same issue with the latest versions of mpd (0.15.1-1) and sonata (1.6-1) . I found this on the mailing list: https://lists.berlios.de/pipermail/sona … 01140.html but I didn't try it yet.
Good luck
Last edited by digitaleex (2009-08-29 20:45:42)
Archlinux x86 | dwm
Offline
I found this on the mailing list: https://lists.berlios.de/pipermail/sona … 01140.html but I didn't try it yet.
Nice find. However, since we are using sonata from pacman and not aur, our version is out of sync with the svn. That patch on the mailing list is for the latest svn revision. Fetching the artwork is tightly embeded within artwork.py for sonata 1.6-1, and a simple filename switch and replacement isn't going to do it. I am going to edit my artwork.py some to try and use rhapsody for covers instead. If I make any progress, I'll post it here.
Offline
Of course, the simpler solution would be to install the sonata-svn package from aur, and then apply the patch from the above mailing list post.
Offline
I emailed the maintainer of the package. Using version 1.6.2, I was able to come up with a solution using that patch from the email. Hopefully the package can be updated to 1.6.2 instead of 1.6.1.
The solution is more than a one-liner like the lyrics fix, so it would be a much cleaner patch if the package was brought up to date; instead of first having to patch 1.6.1 for all the differences it has from 1.6.2, then applying the fix. When the maintainer gets back to me I will tell more.
If you are in dire need of a fix now, you can download 1.6.2 off the main sonata page, and I can post the changes required here. You can then run sonata out of your home directory, as it only a python package with a runnable script.
Offline
Thank you Alexander for updating the package.
Now that sonata is up to the latest, the following patch should work.
I take no responsibility for borking. Double check the patch and make backups to be triple sure.
For those of you not familiar with patches and diffs, the following worked for me:
cd /usr/lib/python2.6/site-packages
# Back up the package just in case
sudo cp -R sonata sonata-backup
cd sonata
sudo cp /path/to/patch/file rhapsody.patch
sudo patch -p1 < rhapsody.patch
# try starting sonata. if you can fetch remote artwork, it worked!
# remove the backup if everything is good
cd ..
rm -r sonata-backup
Offline
I followed your instructions and it didn't work.
This is the output of the patch
beat@darkstar: sonata $ sudo patch -p1 < rhapsody.patch
patching file artwork.py
Hunk #1 FAILED at 9.
Hunk #2 FAILED at 526.
2 out of 2 hunks FAILED -- saving rejects to file artwork.py.rej
patching file main.py
Hunk #1 FAILED at 59.
Hunk #2 FAILED at 231.
2 out of 2 hunks FAILED -- saving rejects to file main.py.rej
patching file pluginsystem.py
Hunk #1 FAILED at 87.
1 out of 1 hunk FAILED -- saving rejects to file pluginsystem.py.rej
patching file rhapsodycovers.py
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 229:
Offline
I will take a look at this when I get home. I am not a patch expert, so I might have made a mistake. I am just wondering if you are using the latest Sonata. It should be version 1.6.2-1. If it isn't, make sure to update it with pacman before applying this patch. Otherwise, if you could post the versions of sonata and patch that you are using, that would be great. Also, if you could consolidate those reject files into one pastebin, and post the link, that might help too.
Until we get to the bottom of this, either restore Sonata using the backup directory, or do a hard reinstall of it if you forgot.
Offline
I'm using the latest version that's on the repository.
beat@darkstar: ~ $ sonata --version
Version: Sonata 1.6.2
Website: http://sonata.berlios.de/
Offline
I can confirm this. The problem is that file pastebin gives you is in dos mode, and we want it in unix. The line endings of every line are off by one character which we cannot see, so the diff fails. A quick solution is to open the patch file in vim and do ":set fileformat=unix" and save the file. The patch should be successful. The long term solution is for me to find a new place for the patch. I think I will just use a code block in the post.
Offline
It worked, thanks a lot
Offline
After the third try the patch was readable (be cursed pastebin).
But the search for covers still doesn't work even with aplied patch.
Sonata 1.6.2
Last edited by Barghest (2009-09-09 13:24:15)
Offline
This worked great, thank you sir! This was bugging me for a while
Offline
Patched, but I still can't get it for half of my music. I can't even do the SEARCH. I put in the artist and it just says "No cover art found".
And in the midst of such perfection,
I can't help but feel diseased.
Offline
This has been fixed in sonata-git in aur.
At least it's working for me now.
Offline
Pages: 1