Batch file

Does anyone know if you can set up a Batch File to run within mp3tag? What I do is run an export to create an html file and another to create a text file. I then create a play list for each of my cd's. Obviously this is a three step process and with allot of cd's it takes quite some time. What I would like to do is create some action or batch file or something so that all these process can be done with just one mouse click sort of speak. Would anyone have any suggestions?

Yes in the latest version, you can use use the export function within the actions.
And if you make an export that creates a playlist, it can be in the action, too.

Thank you Dano but I am not sure how to do this. I already have my exports and some actions configured. Can you point me in the right direction so I can compile them into an action?

Ok I figured out how to add the Exports in an action! But how do I incorporate the playlist into the action?

I figured out how to make an export and I just named it Playlist.

Here is the code I used to create an export to make my m3u playlist:

$filename(%_directory%.m3u)#EXTM3U
$loop(%track%)$loop(%_filename_ext%)#EXTINF:%_length_seconds%,%artist% - %title%
%_filename_ext%
$loopend()$loopend()

It works good for creating a complete album or a playlist of the selected or highlighted tracks!

Now I am able to take the three exports and combine them into one action!

What I need to figure out now is how to create a seperate playlist for my albums that have 2 cd's or more. Right now I have for example an album by 2 Pac. The files are located here -

D:\Music\2 Pac\All Eyez On Me

Both cd's are inside the folder. What I have done is manually create an *.m3u playlist for the whole album then one for CD1 then one for CD2. So when I create my html file for the album it shows like this with hyperlinks at the bottom of the page:

Back On Top - Play Complete Album - Play CD1 - Play CD2

I would like to automate it in an action so I can create this all at once. Does anyone know the code or can someone point me in the right direction? I have been reading and searching but cant find anything...

I guess what I am asking is if there is a way to create an *.m3u playlist based on different tag fields?

The reason I ask is because I have several cd's from artist that are "Best of..." they contain multiple cd's that are in one folder for that specific album. I would like to create an m3u file for - the whole cd, cd1, cd2, cd3 etc. I realize it is easy to create a simple playlist but I need to be able to create several m3u files for one album and would like to be able to automate the process sort of speak. Other than manually splitting and sorting the mp3 files so that each cd is in another sub-folder of the original album in order to create separate *.m3u files. Or highlighting specific files and manually creating the playlist. I have not been able to locate a program that will allow you to create the m3u based on the tag info or field.

Bump anyone?

If you are a windows user you might consider using the Windows Media Player. It gives you the ability to create and automatically update playlist based on your requirements. I was using iTunes but a friend suggested WMP and after using it a couple of months I'm sold on it. BTW I'd deleted all of the .m3u files from my music library.

I found a solution! - https://community.mp3tag.de/t/mp3tag-export-splitter/14116