HitenMitsurugi
12-03-2008, 01:44 AM
Howdy! I've been using Media Player Classic for all my media needs for quite some time now. It's an amazing program. Small, portable, runs quick, and works with just about every media file i've ever found.
While I DO enjoy the benefits of such a program, there are a few gripes I have with it. One of which is the extreme slowdown that occurs when trying to add large numbers of files to the playlist at once. I have a folder on my drive that currently has around 6,000 mp3s in a number of subfolders and adding them to MPC's playlist takes an absurdly long time.
I've been experimenting with batch files a lot recently, and I began to think that I could put my somewhat limited knowledge of the format to good use. The result of which is the file listed below:
http://www.hotlinkfiles.com/files/10820 ... ymaker.bat (http://www.hotlinkfiles.com/files/1082073_bw90a/MPCPlaymaker.bat)
I call it the "MPC Playmaker". It's a simple batch file that creates a Media Player Classic playlist from a folder and its subfolders. All you have to do is drag a folder onto the batch file and it outputs a .mpcpl file. Open that file with MPC (or just drag and drop) and you're done. Currently it only works for mp3s, but if you want to change that simply edit the batch and replace "mp3" in the FOR loop with whatever filetype you want it to work with.
The entire thing is LOADS faster than doing it manually--it processed nearly 100 files a second on my old laptop creating the playlist from a networked older pc--and you have a nice playlist for later use. I looked around for something similar and was unable to find anything. If there is something out there I'd love to hear about it, though I'm fairly content with my own work at the moment :D
As I've already mentioned: the file is a batch file. I haven't protected it(I don't even know how!) and the contents can be viewed/changed however you want. I do ask that you don't redistribute it as your own work, and nobody should be making any profit from this very simple tool. A friend of mine told me that the batch file wouldn't work with anything prior to Windows NT, and I trust him in that matter. I have very little(next to zero) experience with any non-Microsoft OS, so I have no idea if something similar can be done for *nix based systems. If it can I certainly wouldn't know how, so please don't ask :)
While I DO enjoy the benefits of such a program, there are a few gripes I have with it. One of which is the extreme slowdown that occurs when trying to add large numbers of files to the playlist at once. I have a folder on my drive that currently has around 6,000 mp3s in a number of subfolders and adding them to MPC's playlist takes an absurdly long time.
I've been experimenting with batch files a lot recently, and I began to think that I could put my somewhat limited knowledge of the format to good use. The result of which is the file listed below:
http://www.hotlinkfiles.com/files/10820 ... ymaker.bat (http://www.hotlinkfiles.com/files/1082073_bw90a/MPCPlaymaker.bat)
I call it the "MPC Playmaker". It's a simple batch file that creates a Media Player Classic playlist from a folder and its subfolders. All you have to do is drag a folder onto the batch file and it outputs a .mpcpl file. Open that file with MPC (or just drag and drop) and you're done. Currently it only works for mp3s, but if you want to change that simply edit the batch and replace "mp3" in the FOR loop with whatever filetype you want it to work with.
The entire thing is LOADS faster than doing it manually--it processed nearly 100 files a second on my old laptop creating the playlist from a networked older pc--and you have a nice playlist for later use. I looked around for something similar and was unable to find anything. If there is something out there I'd love to hear about it, though I'm fairly content with my own work at the moment :D
As I've already mentioned: the file is a batch file. I haven't protected it(I don't even know how!) and the contents can be viewed/changed however you want. I do ask that you don't redistribute it as your own work, and nobody should be making any profit from this very simple tool. A friend of mine told me that the batch file wouldn't work with anything prior to Windows NT, and I trust him in that matter. I have very little(next to zero) experience with any non-Microsoft OS, so I have no idea if something similar can be done for *nix based systems. If it can I certainly wouldn't know how, so please don't ask :)