Hey Forum, i'm having issues putting together some new code for a database and would really appreciate your help, after hours of staring at a screen i just cant work it out.
In short what i'd like is for mp3tag to discover track's subfiles (i have been working on DIY stems and have vocals.mp3/drums.mp3/bass.mp3 etc in a folder for each track of an album). Once discovered, said files should be listed after the Tracks title once so i can easily export to a google sheet in which the corresponding field will turn green when filled with a Y(es) or red for a N(o), or the first letter of each stem if that's all that can be achieved.
this is the code i have so far
$loop($if(%albumartist%,%albumartist%,%artist%))%artist%$char(9)$ifgreater(%_total_size_raw%,$loop(%album%,1)$loopend()%_total_size_raw,%_total_size%,1 Album)$loop(%year%)$loop(%album%)
$char(9)$if(%year%,%year%,%date%)$char(9)%album%$char(9)%_total_size%
$loop(%track%,1)$char(9)$num(%track%,2)$char(9)%title%$char(9)%_length%$char(9)%_total_size%$char(9)$char(9)$loop(%title%,10)$if($stricmp(%_filename%,vocals),Vocals,No Vox)$char(9)$if($stricmp(%_filename%,drums),Drums,No Drums)$char(9)$if($stricmp(%_filename%,rhythm),Bass,No Bass)$char(9)$loopend()
$loopend()$loopend()$loopend()
$loopend()
and this is what it looks like
Bloc Party 75.79 MB
2008 Intimacy 75.79 MB
02 Mercury 03:53 39.42 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
07 One Month Off 03:39 36.37 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
CKY 122.43 MB
1999 Volume 1 63.65 MB
01 96 Quite Bitter Beings 03:22 28.38 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
08 Sara's Mask 05:01 35.27 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
2002 Infiltrate Destroy Rebuild 58.78 MB
01 Escape From Hellview 03:42 31.33 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
06 Shock and Terror 03:07 27.45 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
Flymore 415.71 MB
2009 Millenium IV V 415.71 MB
01 Intro 01:44 7.85 MB No Vox Drums No Bass No Vox No Drums No Bass Vocals No Drums No Bass
02 Misunderstanding 04:40 38.64 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
03 Wake Up 04:09 35.63 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
04 All The Time I Bled 03:00 26.88 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
05 My Last Goodbye 04:52 43.46 MB No Vox Drums No Bass No Vox No Drums Bass No Vox No Drums No Bass Vocals No Drums No Bass
as you can see it's currently finding the first stem, and ignoring the others
if i make the line with the stricmp's loop 2 or more times, it finds another stem but still lists all the no finds again
This is sort of what i'm after, i have to get results based on each stem exactly when i call for them otherwise there is no way to get them into those slots every time
I'll leave it there to begin with before i over complicate it, thank you so much for any help, i'm already throwing so much of myself into a big music project and braining this is killing me lol
