I would like to create an export list of my music albums. My goal is to format the list like this: [album name] / [file format] / [bit depth] / [sample rate] / [album size]
Here is the script I have created so far:
$filename(Albums.txt,utf-8)$loop(%album%,1)%album% / $lower(%_extension%) / %_bitspersample%/$div(%_samplerate%,1000) / %_total_size%
$loopend()
It works okay, but I run into issues because my library includes regular MP3s (320 kbps) as well as high-resolution albums (e.g., DSD at 11.3 MHz).
I figure I need some $if conditions to handle these different formats properly, but my scripting skills aren't quite there yet. Could anyone help me tweak the script to handle both MP3 bitrates and high-res sample rates correctly?
Thanks in advance!