Hey Guys -
About 3-4 times a week, I have a script which downloads 5 mp3 files to a folder. After download, I manually combine these mp3 files into a single file which I move to a new folder . I've been able to automate the download part of it, but am trying to find a way to script the merging of the files.
I've already found a command line utility which will join them - mp3wrap
- which I've tested successfully. Basically, I just need to know how to put it all together. Below are all the variables which would be involved:
Format of file names of all 5 files
Note: The date in the file will always be the same as they date they are downloaded
Command line string which would be used to join the above files using mp3wrap
Format: mp3wrap OUTPUT.mp3 file1.mp3 file2.mp3...
mp3wrap show_128_12-01-2014_combined.mp3 show_128k_12-01-2014_part001of05.mp3 show_128k_12-01-2014_part002of05.mp3 show_128k_12-01-2014_part003of05.mp3 show_128k_12-01-2014_part004of05.mp3 show_128k_12-01-2014_part005of05.mp3
Even putting this into a batch file and running via Windows Tasks would be simple, but the date in the filename changes daily. Therefore, I'd think I'd need to do one of the two things:
Use wildcards for the date in the filename in the script and make sure that they are the only files in the folder (that shows from other dates aren't in the same folder
The files being downloaded will always be downloaded on the same date as what's in the filename. I could instead use some type of variable which will look for files with the current date in the same format. I'd prefer this so I could run it in a folder which included files from other dates, too, but not at all a dealbreaker
I'm trying to create something using AutoIT, but it's a bit above my current level.
Any ideas? Thanks!