PDA

View Full Version : New Functionality - Manually running 'find cover art' ?



socistep
10-29-2009, 03:18 AM
Hi Andrew




As I understand it, if you rip a new CD then it will find artwork for that album in /storage/flac and then search for any other folders without artwork ?




Is there anyway of manually running the cover art element without having to rip a new cd ? the reason I ask is that I have recently done a lot of manual editing on my collection and had a lot of albums which previously had artwork (correct or incorrect) have been moved into new folders e.g.




Previous - /storage/flac/coldplay/X&Y (Special Dutch edition) - with artwork


New - /storate/flac/coldplay/X&Y - no artwork




It would be great to click a button from the GUI (or run command) that would rescan my flac folders and get cover art rather then having to wait to rip a new CD or manually finding the artwork from old folders or the internet.




Apologies if this functionality exists already and I've missed !




Ian

andrew
10-29-2009, 03:46 AM
/opt/vortexbox/getcoverart



Will start the process but your right I should have a GUI button that does this. I'll add one in when I get the chance.

HalfBit
10-29-2009, 10:22 AM
Andrew,


When I run


/opt/vortexbox/getcoverart


I receive many instances of:


Getting cover art for ./xyz123 ...
PHP Notice: Undefined index: Errors in /opt/vortexbox/covergrabber.php on line 97
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
Done getting cover art for ./xyz123 ...


Is there anything I can do about this?

andrew
10-29-2009, 10:28 AM
I have never seen that error. Have you made any changes to the way VortexBox stores music? For example VortexBox stores music - If you have some sort of custom naming convention many of the scripts that are part of VortexBox will not work.

HalfBit
10-29-2009, 01:31 PM
Directory structure could be the problem. I have not looked at how the VBA creates directories.


Here is an example from my execution of /opt/vortexbox/getcoverart :


Skipping ./They Might Be Giants no FLACs


Already have cover art for ./They Might Be Giants/Apollo 18


Already have cover art for ./They Might Be Giants/Flood


Already have cover art for ./They Might Be Giants/John Henry


Here's an example where the album art was found and had no errors:


Getting cover art for ./Various Artists/Theme Time Radio Hour - With Your Host Bob Dylan ...
No cover art found on Amazon
Checking Google Images for Grandpa+Jones Theme+Time+Radio+Hour+-+With+Your+Host+Bob+Dylan...
Found image http://ecx.images-amazon.com/i.....AA240_.jpg (http://ecx.images-amazon.com/images/I/41D3TjXH0oL._SL500_AA240_.jpg)
Done getting cover art for ./Various Artists/Theme Time Radio Hour - With Your Host Bob Dylan



The above image was added on the VBA.


I have been ripping for years, and had a directory structure developed where the higher-level directory is the artist (They Might Be Giants) and directories below the artist directory are the album directory (Apollo 18). I do not use the VBA to rip. I use dBpoweramp externally mostly because it supports a Kodak 50-disk robot and because of the AccurateRip feature which compares the results of a per-song computed CRC with CRCs from many other users' rips. It also checks multiple databases for meta-data and makes good choices.


I would like to retain the directory structure that's in use now, but if it is going to be an ongoing problem for full VBA function, I am willing to change the structure.


Your recommendation?

andrew
10-29-2009, 06:47 PM
The cover art system only works for about 98% of albums. You might just have one that it can't find art for. Also the cover art grabber used the ID3 tags to figure out what art to get. If there is a problem with the ID3 info it won't work. You can always download the art manually.

Arkon12
03-12-2010, 02:41 AM
Hi,




Can I thank you for your sparkling efforts to create VortexBox ! Superb stuff.




Just built an Atom based ITX box. Install was a treat. Previously, we tried a NAS using a QNAP TS101, hopeless and gave up.




So, having transferred GB of .mp3 from a Mac G4 to the VortexBox, which was a breeze and we'd like to run a manual 'get artwork', ran the above command


/opt/vortexbox/getcoverart




However, only the FLAC files are scanned and updated ! Sorry I'm not a Linux basher, how do I tweak the command, please ?




I.

Ron Olsen
03-12-2010, 05:17 AM
Not easy to do -- you'll have to modify /opt/vortexbox/getcoverart and /opt/vortexbox/covergrabber.php, change which directories get searched, and change tag extraction commands from metaflac (which scans FLAC tags) to something that scans mp3 tags. Not just tweaks -- significant code modifications. You'll need shell and php programming skills to do this.


If you want to get cover art for your mp3 albums, I suggest using Bliss:


http://www.blisshq.com/


Great program for finding high-quality cover art for a variety of music formats.

Arkon12
03-15-2010, 05:42 PM
Thanks Ron, we'll give 'bliss' a spin.


On the other hand this is a good excuse to try to get a grip on .php !


As remarked a button would be nice, perhaps if the same button initiated a 're-scan' in SqueezeCenter of all new music, as one finds oneself transfering and consolidating music stored on other machines and media onto the VortexBox.


http://vortexbox.org/wp-content/forum-smileys/sf-smile.gif

Ron Olsen
03-15-2010, 06:15 PM
See this thread: http://vortexbox.org/forum/gen.....ccess-rate (http://vortexbox.org/forum/general/vortexbox-cover-art-success-rate)


for info on installing bliss on a VortexBox. You will have to do the command-line install if you don't have X Windows and a GUI (Gnome or KDE) on your VortexBox.


Alternatively, as discussed in that thread, you can install bliss on a PC (Windows or Linux) and point it to the network share for the VortexBox music library and run bliss there, instead of on the VortexBox. Either way, it's a great program for finding and managing cover art.


I'll look into creating a setup script to install bliss on a VortexBox, and perhaps creating an rpm package for it.


http://www.blisshq.com/

gravelld
03-17-2010, 01:01 AM
Hi Ron. I've been talking to Andrew about this over email and I think he has something basic built already.


Given we do weekly builds I was hoping to include the RPM build into our own build. Otherwise it's going to be a pain for whoever else is updated the RPM to keep up with our releases.

Ron Olsen
03-17-2010, 05:22 AM
That's great, Dan. Hadn't heard anything from you here in a long time, so I didn't know what was going on behind the scenes. Having you package the bliss rpm for VortexBox makes the most sense. Glad you and Andrew are on top of this. Thanks for a great product!

andrew
03-17-2010, 10:35 AM
I have been woring on a Bliss RPM. But I have been working on a lot of other stuff as well vortexbox 1.2, bugs, etc. I'll get back to working on Bliss soon.

gravelld
03-18-2010, 12:39 AM
No worries Andrew!

johnbax
03-21-2010, 07:12 AM
Ron Olsen said:

Alternatively, as discussed in that thread, you can install bliss on a PC (Windows or Linux) and point it to the network share for the VortexBox music library and run bliss there, instead of on the VortexBox.




I can't see any way of doing this. The Bliss settings don't seem to let you point it to a network location for the music library. Or am I missing something?

johnbax
03-21-2010, 07:13 AM
johnbax said:
Ron Olsen said:

Alternatively, as discussed in that thread, you can install bliss on a PC (Windows or Linux) and point it to the network share for the VortexBox music library and run bliss there, instead of on the VortexBox.









I can't see any way of doing this. The Bliss settings don't seem to let you point it to a network location for the music library. Or am I missing something?

VAPhishen
03-21-2010, 07:23 AM
You need to map the network share of your music folder to v: or whatever letter you want, then you will be able to select it.

johnbax
03-21-2010, 07:47 AM
VAPhishen said:You need to map the network share of your music folder to v: or whatever letter you want, then you will be able to select it.


Thanks!