Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
how can you make a list of all titles and artists (artist - title) of mp3-files in a directoy (with sub-directories)
example
-------
Alien Ant Farm - Glow
Alien Ant Farm - Movies
REM - Bad Day
-------

Take a look at my music list and see if this is about what you want.
[link above]
M2
If at first you don't succeed, you're about average.

That looks more like a file list
I need a list of all mp3's
artist - title
Not a list of the files, but you can give me the source of that too because there's something in it that look intresting to me

You would need the DOS app to "open" each and every file toread the contnets to look for the Artist and Title tags, then write out that info to a text file. If you want it alphabetized, it becomes even more difficult.
However, I'm sure there are many freeware tools that will allow you to do just what you are asking. You might have to try a few different ones to find the one that meets your needs. I use several different programs for managing my MP3s. For example Tag&Rename can do it quite easily, but it does not do subfolders. The Godfather can do it for subfolders, but it took me a few minutes to figure out how (Hint: you have to add the target directory to the Library in The Godfather, then you can output the music data (Artist, Album, & everything else) to a text file.
At the very least, there are many tagiing programs that will let you rename files according to their tags. You could use one of these to rename all the files by the Artist - Title. Then you would just need to do a listing of all the files.
Michael J

Can't you just make a batch that checks all the files and makes a list of them?
I made a batch that checks a map and put's all the files in temp.txt, then it deletes every "f:\audio" in the text and saves it as list.txt, in the last step it deletes tmp.txt.

Are you wanting to parse ID3 tags? The only reason to avoid doing this en-masse is that many files have invalid, missing, or malformed ID3 tags. This is especially true if you've downloaded them with a p2p client. If you are sure the files are named correctly this can be a better way to list the artists and titles.
Post back with what you want. I've got a script here that my just do it for you.

If all you're wanting is a listing of the MP3 files (names and/or path info), then a batch file would be ok. However, if you want to parse the ID3 tags, then you definitely want to look at another approach. IMO, Perl would be a very good and versatile approach. There are several Perl modules available that can parse the tags. Take a look at this one and if you think you want to go this route, I’ll work on writing a script for you.
http://search.cpan.org/~ilyaz/MP3-Tag-0.94/Tag.pm

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |