


Dim ele,str,fld,res,arr,i,cnt
\' Modification of the script for finding the dates (Added: 27/4/2012)
\' When selecting album node, the script finds the releasedate xml element
\' which is element 5 under the album node. Then use a whitelist with
\' dates eg: %2011%=2011,%2010%=2010,... This will put the year in the
\' custom field of your choice. You can move it into the Year field using
\' another script.
\' The script works as original if you are using track mode or artist mode
Dim elementtype : elementtype = \"tag\" \'added 27/4/2012 for finding dates
Dim childnodeitem : childnodeitem = 0 \'added 27/4/2012 for finding dates
Dim ini : Set ini = SDB.IniFile \'for finding modes
Dim mode : mode = ini.IntValue(\"GenreFinder\",\"RunMode\") \'for finding modes
If mode = 1 Then \'added 27/4/2012 for finding dates
elementtype = \"album\" \'added 27/4/2012 for finding dates
childnodeitem = 5 \'added 27/4/2012 for finding dates
End If \'added 27/4/2012 for finding dates
For Each ele In xml.getElementsByTagName(elementtype) \'modified 27/4/2012
str = FixGenre(ele.ChildNodes.Item(childnodeitem).Text) \'modified 27/4/2012
%1950%=1950,%1951%=1951,%1952%=1952,%1953%=1953,%1954%=1954,%1955%=1955,%1956%=1956,%1957%=1957,%1958%=1958,%1959%=1959,%1960%=1960,%1961%=1961,%1962%=1962,%1963%=1963,%1964%=1964,%1965%=1965,%1966%=1966,%1967%=1967,%1968%=1968,%1969%=1969,%1970%=1970,%1971%=1971,%1972%=1972,%1973%=1973,%1974%=1974,%1975%=1975,%1976%=1976,%1977%=1977,%1978%=1978,%1979%=1979,%1980%=1980,%1981%=1981,%1982%=1982,%1983%=1983,%1984%=1984,%1985%=1985,%1986%=1986,%1987%=1987,%1988%=1988,%1989%=1989,%1990%=1990,%1991%=1991,%1992%=1992,%1993%=1993,%1994%=1994,%1995%=1995,%1996%=1996,%1997%=1997,%1998%=1998,%1999%=1999,%2000%=2000,%2001%=2001,%2002%=2002,%2003%=2003,%2004%=2004,%2005%=2005,%2006%=2006,%2007%=2007,%2008%=2008,%2009%=2009,%2010%=2010,%2011%=2011,%2012%=2012,%2013%=2013,%2014%=2014,%2015%=2015,%2016%=2016,%2017%=2017,%2018%=2018,%2019%=2019,%2020%=2020dsopik wrote:...modification to the script ...in Album mode will put the release date into the field that you have chosen.
fmercadopaez wrote:Hello I just installed the Genre finder 4.9 in media monkey but I cant find were to access the script to che the white and black lists. Under tools I Find the script but it just starts searching for the genre of the selected tracks No window that allows me to configure the lists.
thanks,
Users browsing this forum: No registered users and 14 guests