View Single Post
  #5   (View Single Post)  
Old 11th November 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

To further elucidate, your initial code posted was interactive -- requiring user input during execution. Specifying everything (all titles, artists, tracks...) on the command-line would be cumbersome & scale very poorly.

If you have lots of files to process, you might want to consider making the application more batch-oriented as opposed to interactive. To do this, you might want to look at figuring out a file format which would then be parsed by your code. All information could be manually written to a text file which is then read & processed by program logic. The file would include all information needed to tag tracks. Processing different tracks would then mean that only this one text file would need to be modified.

Since I suspect this application is simply educational in nature, you might consider mixing command-line input with interactive prompts for specific values -- track names, artist names, etc. In this fashion, filenames could be specified at the command-line explicitly and/or via wildcards, & then the program logic would then ask for more information for each specified track.

Just a thought. There are lots of ways of doing the processing desired.

Last edited by ocicat; 11th November 2011 at 11:46 PM.
Reply With Quote