Hi. I recently tried to create .nfos with some homemade template heavily borrowing from existing scripts since scripting isn't my area of expertise
One thing I can't make work and I have no clue why is calculating average bitrate. I stole the "looping add and divide" formula from old scripts found in this forum section, the addition part works, not the division...
ie this is supposed to display the average number :
but all I get is numbers around of above 10000 for standard flac 16-44 or typically 3200 for say a ten tracks album @ 320k (it's sure useless to calculate average for CBR by definition, it's just to show what's calculated)
so either the division function must be called differently or the cnt1 number/divider is stuck to one...
what am I missing ?