tl;dr How do I export “total time” and “total tracks”?
Background: I am creating a DB in Access of my own music. No commercial program really does what I want, and I love to learn new things (I’m a newbie to Access). Each record will be a single album. I am using the Export feature in Mp3tag to create a text file, so I can import my albums into Access.
My music folders are very organized, in the format:
Artist\AlbumName\{all the tracks}
All my tracks are numbered XX/NN, where XX is the track #, and NN is the total tracks.
My plan is to load the folders I want to export in Mp3tag, sort by track# to get all the 01/NN at the top, then Select & Export only the first tracks. That will give me one TXT line per album in the export file.
Q1: How do I get the total track count when the export data is always 01/15 (or whatever total)? I just want the “15”.
Q2: How do I get the total play time of each individual folder? I see %_total_time%, but it returns a single file.
Bonus Q3: Instead of loading a bunch of folders and selecting the first tracks, is there a way to load all the tracks, and tell the export process to only export where track# equals 01?
Many thanks!
Edit to add: Here’s my current export program…
$filename(MusicDB.txt,utf-8)
$loop(%track%)%album%,%artist%,%year%,%track%,%_total_files%,%_total_time%,%comment%,%_folderpath%
$loopend()