auto retrieval of year from freedB

Ok, here's my 2nd question.
Many of my old ripped CD folders lack the year, unfortunately.
Is there a way to auto-fill in the year in all files without changing the rest, by calling up an action or something ?
Thanks for any help,
susiwong

you can take one of the many existing web sources scripts in the forum and edit it to write only the year.
open it with a text editor.

  1. EASY WAY:

write at the end of the script:
set "artist"
set "album"
set "tracks"
...
for every tag you want to keep untouched. important: use "tracks" instead of "track" & "title".

  1. MORE COMPLICATED WAY (but maybe the script runs faster)
    delete everything in the script which is does not belong to the year tag.
    keep only:
    the index part of the script which finds the album in the web.
    the necessary parts to find & write the year.

Thanks, sounds promising.
I've been using web sources before, without getting the modular concept.

Unfortunately I'm not experienced enough to correctly edit the src myself.
Care to help ?

from the freedb2_b.src found here in the forum

Cheers,
susiwong

keep everything above "[ParserScriptAlbum]=..."
replace everything from "[ParserScriptAlbum]=..." to the end with the following code:

[ParserScriptAlbum]=...
# ###################################################################
# A L B U M
# ###################################################################
# Uncomment the following line if you want to write some debug output
#debug "on" "c:\\\\debug_freedb2_B.html" "10"

# Year
findline "DYEAR="
findinline "DYEAR="
outputto "Year"
sayrest

save the .src file under a new name, e.g. freedb2_b_YEAR_ONLY.src to keep the old file if needed.

Thanks again, the script works !

In case anybody's interested :

Really appreciate your help,
cheers,
susiwong