Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Album Art Downloader XUI (Read 2212007 times) previous topic - next topic
0 Members and 12 Guests are viewing this topic.

Album Art Downloader XUI

Reply #775
Hi Alex,
Quite awhile ago I posted about the fact that I have a "folder.jpg" image in my music folder with the music. However, when I go to scan my library and Group By: Local, it doesn't show up. The line Path to Find File Images is %folder%\%filename% and when I hover over it shows the correct path.

It even has the number (1) next to the Local Files box.

I am running Vista 64bit.

Any ideas?

I'd like to be able to scan to compare my current 310x310 image with 600x600 version that I might be able to replace.

Thank you!

Edit: Got it, I had my search parameters to a low resolution artwork so it wasn't showing up. 

Album Art Downloader XUI

Reply #776
Is there someway to default to folder.jpg instead of Folder.jpg?  Some of us have to deal with case sensitive file systems.

Album Art Downloader XUI

Reply #777
Is there someway to default to folder.jpg instead of Folder.jpg?  Some of us have to deal with case sensitive file systems.
There are two places the default filename can come from. If you are start searches from the file browser, then click the options link there, and in the "Specify path to find images" box, change Folder to folder. If you are starting searches from the command line, or by entering the details in the search window directly, then click the options link in the search window and edit the "Save images to" box.

Hope this helps,

Alex

Album Art Downloader XUI

Reply #778
I'm trying to launch the AlbutArtDownloader through Run Services in foobar on Windows 7 x64, but it does not seem to work for.
I manage to run AAD through CMD, and it accepts parameters, so there doesn't seem to be a problem with AAD itself.
Is anyone with Win7 X64 managing to launch AAD through foobar?
do you mind sharing your Run Services code line?

Album Art Downloader XUI

Reply #779
Does someone know an command line tag editor for windows that can embed album art?

Album Art Downloader XUI

Reply #780
Does someone know an command line tag editor for windows that can embed album art?
Surprisingly, there does not appear to be one. I couldn't find one, anyway. What I did find was TagLib#, which includes as one of it's examples a short command line tool for embedding art in tags. I've compiled it up for you here: SetPictures.zip, but it comes untested and unsupported (except potentially by the TagLib# guys, I guess - it's their code!).

Actually, TagLib# looks like pretty nice tagging library, I might investigate switching to using that instead of MediaInfo for the next version, it's a smaller download and wouldn't need a dedicated 64bit version either...

Alex

Album Art Downloader XUI

Reply #781
Does someone know an command line tag editor for windows that can embed album art?
Surprisingly, there does not appear to be one. I couldn't find one, anyway. What I did find was TagLib#, which includes as one of it's examples a short command line tool for embedding art in tags. I've compiled it up for you here: SetPictures.zip, but it comes untested and unsupported (except potentially by the TagLib# guys, I guess - it's their code!).

Actually, TagLib# looks like pretty nice tagging library, I might investigate switching to using that instead of MediaInfo for the next version, it's a smaller download and wouldn't need a dedicated 64bit version either...

Alex


Thank you.

Album Art Downloader XUI

Reply #782
Initial tests have shown that TagLib# is faster, and does not appear to be any less reliable or be able to read fewer tag formats. As removing the 64bit complication, and reducing the download size are both desirable, I'd quite like to move to using it instead.

Before I do, though, could I ask anyone who has an extensive music collection and a little time to help me test it out? I've put together a test build of AAD which will check the tags using both libraries, and report any discrepancies. If you use the file browser to scan your collection (in ID3 tag mode, of course, not file path pattern matching!) then it will produce a report listing any cases in which the two libraries produced different results. If there are any interesting ones listed there, then I'd appreciate it if you'd let me know - and if it isn't obvious, also let me know which result is better or more accurate!

AlbumArtDownloaderXUI-0.26.2-experimental.zip

Just unzip it over your existing Album Art Downloader program folder. Once you're finished, you can just re-install or unzip 0.26.1 back over it.

Thanks!

Alex

Album Art Downloader XUI

Reply #783
I don't exactly know what would qualify as interesting, but there are some that I personally found interesting:

Code: [Select]
[Artist Name] "Янтарные Слезы"(T#) != "???????? ?????"(MI)        (08 - Отреченное Одиночество.mp3)
[Artist Name] "Witt"(T#) != "Witt / Heppner"(MI)        (04 - Die Flut.flac)
[Artist Name] "Various Artists"(T#) != "Ravage"(MI)        (14 - Ravage - Cold Cold World.mp3)
[Artist Name] "Various Artists"(T#) != "Rob Laufer"(MI)        (19 - Rob Laufer - Towards The Sunrise.mp3)
[Artist Name] "Various Artists"(T#) != "Drowning Pool"(MI)        (08 - No More.mp3)
[Album Name]  "A Guitar Odyssey: a Tribute to"(T#) != "A Guitar Odyssey: a Tribute to Yngwie Malmsteen"(MI)        (Various Artists - A Guitar Odyssey_ A Tribute To Yngwie Malmsteen - 1999 - 11 - Evergrey - Rising Force.mp3)

App version: 0.26.2.0, running on Microsoft Windows NT 5.1.2600 Service Pack 3 (32 bit)
23207 files scanned; 354 discrepancies detected
Time spent reading tags by MediaInfo: 479531,25ms
Time spent reading tags by TagLib#:   332484,375ms

My interpretation of this results is, that...
MI doesn't seem to read russian characters correctly.
T# on the contrary seems to have problems with multivalue-fields. (Witt vs Witt / Heppner)
T# (sometimes?) reads the album artist field, when MI reads the artist field.
Then there are a whole lot of occureances where T# reads a tag and MI doesn't.

If you need the full log I'll happily post it.

Album Art Downloader XUI

Reply #784
I don't exactly know what would qualify as interesting, but there are some that I personally found interesting:
Good choices, those are very interesting! Score one to the TagLib# library on the Cyrillic characters front, then.

Multi-value fields can be handled better; I told TagLib# to just return the first one, but I can make it keep all of them, separated by / instead.

TagLib# reading album artist (when available) in preference to artist was another deliberate choice. I'm open to other opinions as to which would be the more useful field to use, though - if you have one, post it here.

Another score to TagLib# on being able to read some tags that MediaInfo couldn't.

The only cause for concern I have is with "A Guitar Odyssey: a Tribute to Yngwie Malmsteen", which TagLib# managed to mangle as "A Guitar Odyssey: a Tribute to" instead. I can't think of a good reason why, though.

Thanks for the info!

Alex

 

Album Art Downloader XUI

Reply #785
Glad I could be of help.

To set the preference to the album artist field is a good idea, since the covers will normally be listed under the album artist and not under the track artist.

The tags, it does contain are: id3v2|apev2|id3v1, if this is of any help. It might be that T# prefers reading the id3v1 tag vs reading the id3v2. (The id3v1 fields do have a character limit, don't they?)

Album Art Downloader XUI

Reply #786
It might be that T# prefers reading the id3v1 tag vs reading the id3v2.

Good thought, but I just tested it and no, it reads v2 in preference to v1. (Also, it could have fit "Guitar Odyssey: a Tribute to Y" into v1, if it was just auto-clipped).

Album Art Downloader XUI

Reply #787
I just updated the file tags and it's now using only apev2 and id3v1. The album title is read correctly now as it does no more appear in the taglog.
Maybe it wasn't even T# fault, but the file tag's content was faulty. Alas I can't check that anymore.

Album Art Downloader XUI

Reply #788
Alex,

I can definitely vouch for TagLib# - this is the same library I am using for iTSfv.

All the Best,
McoreD

Album Art Downloader XUI

Reply #789
I really like using XUI, but I have this file structure:

Artist / (Year) Album
VA / Album (Year)

this works fine, but:

Artist / (Year) Album / Disc 1
VA / Album (Year) / Disc 2

I can have it ignore the last directory with **, but then it only shows up once in the list of albums instead of twice.  Is my only recourse to use the tags?



Album Art Downloader XUI

Reply #790
Is my only recourse to use the tags?

No, you don't have to use tags. You've got a couple of options here. If all your music is under a single folder, so your structure is something like:

\Music\Artist\(Year) Album
\Music\Artist\(Year) Album\Disc 1

and so on, then you can use a pattern starting from that root, and finishing at the album folder, ignoring anything below it. To specify that it should just look at the folder name, end the pattern with a "." The downside to this is that it won't be looking for music files, so if you have folders containing other sorts of files they'd still be listed as albums.

\Music\%artist%\(*) %album%\.

An alternative this would be to make the Disc folder optional. To do this a bit of regex syntax is required:

\%artist%\(*) %album%\"("Disc *\")?"*

The bits inside the quotes are treated as regex, so has the effect of wrapping the Disc *\ portion of the pattern in ( )?, which means it is optional (may appear 0 or 1 times).

Finally, whichever of these options you choose to go with, we can make it deal with the year being allowed both in front of and behind the album name by making it optional in the same way:

\"("(*) ")?"%album%"(" (*)")?"\

That would, also allow albums with no year portion to appear. If that's not the effect you want, and you'd prefer to only include folders which had the year in them, then let me know and I'll show you a different pattern for that. It could also be restricted to look for 4 digits within the brackets too, if necessary.

Final result then:

\Music\%artist%\"(" (*)")?"%album%"("(*) ")?"\.

or

\%artist%\"("(*) ")?"%album%"(" (*)")?"\"("Disc *\")?"*

according to taste.

Hope this helps!

Alex

Album Art Downloader XUI

Reply #791
...but since the %album% part would be the same for each of the cases where there's a subdirectory:

Bargrooves- Azure (2006)\Disc 1 - Ben Sowton\
Bargrooves- Azure (2006)\Disc 2 - Richard Earnshaw\

If, during the scan, you get two albums with the same %album% (and artist is not defined), then it only appears once in the list of found albums - but what if one of the Disc subdirectories doesn't have art?

Thanks for the response.

C

Album Art Downloader XUI

Reply #792
but what if one of the Disc subdirectories doesn't have art?

Ah, I see what you're getting at now. There's no good solution here, as the file browser is designed to display albums only once, and save only one image per album. There's no way to automatically save one result to two different folders (you'd have to use Save As manually).

If you want each disc to appear as a separate entry in the list, then you'd need to include part of the disc identifier in either the album or artist name, so that it is considered to be a separate album. For example:

\%artist%\%album% (*)\"("Disc %artist%\")?"*

when applied to the paths:
\VA\Bargrooves- Azure (2006)\Disc 1 - Ben Sowton\
\VA\Bargrooves- Azure (2006)\Disc 2 - Richard Earnshaw\

would result in 3 entries in the list, all for the same album name (Bargrooves- Azure), but with artist names "VA", "1 - Ben Sowton", and "2 - Richard Earnshaw". It's not ideal, but it's probably as good as you're going to get. If all your discs are labelled in that form, and the disc names are useful at all, you can do a bit better with:

\%artist%\%album% (*)\"("Disc "\d" - %artist%\")?"*

Which will return artist names of just "Ben Sowton" and "Richard Earnshaw", but would fail to match discs that weren't named using that system.

What you can't have is multiple entries for the same artist and album name - it's designed to consider those to be the same album, and show only once.

Alex

Album Art Downloader XUI

Reply #793
Thx Alex.  Most of the time I only have 'Disc 1' and 'Disc 2' subdirectories, so that makes it less useful, then I'd have to have %artist% set to Disc 1 or Disc 2 in order to split up the albums...anyway, I appreciate your time.  It's still a fantastic program, and I use it constantly.

Album Art Downloader XUI

Reply #794
Album Art Downloader XUI v0.27 Released
Starting with this release, Album Art Downloader no longer depends on MediaInfo. The installer will remove the dll automatically, if upgrading an existing installation. If you are not using the installer, you can just delete it manually, or leave it there - it won't do any harm. The new tag reading library is TagLib#, which should be faster and more accurate.

I have also updated to the latest version of the Boo script compiler (0.91), so scripts can be written taking advantage of the latest language features that makes available.

The Online Update checking feature has been extended to allow download of new scripts, as well as updates to existing one. Once an online update has taken place, if there are scripts available that you do not have installed, a "Get more scripts" link will become available below the sources list. This will bring up a window listing the available scripts, and allowing download and installation. Also in this window is a checkbox to automatically download and install new scripts as they become available, without prompting. That way you will always have all possible scripts installed, if you prefer not to pick and choose.

The Online Update / Get more scripts system can not delete existing scripts, even if they become obsolete. Obsolete scripts will be removed by the installer - for example, the installer currently removed iTunes.boo and RateYourMusic.boo, both of which are now non-functional.

Full list of changes:
  • "Get more scripts" functionality added
  • Removed MediaInfo library, replaced with TagLib#
  • Updated to Boo 0.91
  • Updated installer to NSIS 2.44
  • Installer now removes iTunes.boo and rateyourmusic.boo, if present
  • Script updates now include dependency information
  • Made Save Images To path in search window read-only when launched from the file or foobar browsers, to avoid confusion
  • Script updates now include dependency information (except util.boo, which all depend on)
Download:
AlbumArtDownloaderXUI.exe (Installer. Recommended)
AlbumArtDownloaderXUI.zip (zip archive for those who don't like installers)
.NET Framework 3.5 SP1 (required)

Album Art Downloader XUI

Reply #795
thanks for the new version!

i just have a small request:
the variable %type% shows Unknown when that info isn't available (in Google searches for example).
so could it be possible to add an option to set the field for when the %type% is Unknown? For example: folder

I also prefer to save the Front cover as folder.*, so it also be cool if i could set the Front (from %type%) to folder.

Album Art Downloader XUI

Reply #796
Hi Alex,

New version 0.27 will not run on my XP Pro SP2 machine using .NET 3.5. This is a work machine and has not been updated to .NET 3.5 SP1. Version 0.25 ran fine in compatibility mode, but 0.27 crashes at opening. Is there a work around? If not, is it possible for me to get version 0.25 to install again?

Thanks!

Edit: Found version 0.25 on page 27. Also, missed the ".NET 3.5 SP1 (Required)" on version 0.27.
Surf's Up!
"Columnated Ruins Domino"

Album Art Downloader XUI

Reply #797
Thanks for a most useful tool.

Album Art Downloader XUI

Reply #798
could it be possible to add an option to set the field for when the %type% is Unknown? For example: folder

Sounds like a good idea. I've added a feature request for it.

Version 0.25 ran fine in compatibility mode, but 0.27 crashes at opening.

That's not something I've done deliberately - there's no reason 0.27 shouldn't continue to run in compatibility mode on 3.5. I'll have to look into it. I don't suppose you kept the errorlog.txt?

Thanks for a most useful tool.

Thanks! Always nice to know when my work is appreciated.

Alex

Album Art Downloader XUI

Reply #799
Hi Alex,

No, I did not keep the error log. I can try and install v.0.27 again to produce one. Let me know. The crash window is the typical XP box that pops up that asks whether to report the crash instance or not. While it is up, v0.27 starts up and you can even click on File or Help and see context box dropdowns and such.
Surf's Up!
"Columnated Ruins Domino"