Hello, i have a own made muziek program dat makes a muziek.dat file in the order of:
4,21,2008,2,39768,0,K:\Katy Perry\ Katy Perry - I Kissed A Girl.mp3
| | | | | | |
| | | | | | --- Toegevoegd (altijd NUL alleen niet na net toegevoegd te zijn)
| | | | | ------remains zero
| | | | --- Date in UNIX timestamp 39768 == 1970 (seconds since 1-1-1970)
| | | |
| | | --- Language 1=nederlands 2=engels (0=alle others or unknown)
| | |
| | --- Jaar for example '2008'
| |
| --- Genre for example 21 is Pop)
|
--- times played (zero on creation)
Now i tried to make a export script that takes the %genre% from mp3tag and replaces the known genres into coresponding numerical data like Pop = 21, Top 40 = 24, etc
it works sometimes but its not acurate
please can someone help me ? (only need to replase second number, the rest is used by my program)
see attachment
$loop(%_filename_ext%,%album%,%track%)0,$lower($replace($lower(%genre%),
others,0,
other,0,
cabaret,1,
blues,2,
folk,2,
schlagers,3,
carribean,4,
country,5,
chanson,6,
disco,7,
dance,7,
easy listening,8,
feest,9,
golden oldies,10,
bruin cafe,11,
instrumentaal,12,
jazz,13,
accordeon,13,
karaoke,14,
kerst,15,
christmas,15,
xmas,15,
kerstmis,15,
klassiek,16,classic,16,
piratenhits,17,
smartlap,18,
live opname,19,
nederpop,20,
pop,21,
rock Algemeen,22,
r&b,23,
soul,23,
top 40 dossier,24,
top 40,24,
top40,24,
soundtracks,25,
kinder,26,
jeugd,26,
reggae,27,
rock & roll,28,
nationaal,29,
nederlands,29,
nederland,29,
internationaal,30,
sport,31,
musical,32,
classic rock,33,
rock ballads,34,
apres ski,35,
songfestival,36,
grappig,37,
parodie,37,
remix,38,
12 inch,38,
rap,39,
hiphop,39,
love songs,40,
carnaval,41,
zuid-amerikaans,42,
latin,42,
funk,43,
freeStyle,44,
60's,45,
60,45,
70's,46,
70,46,
80's,47,
80,47,
90's,48,
90',48)),%year%,0,0,0,%_path%
$loopend()