m3uniq
This free utility allows you to remove duplicate entries from m3u playlist files (e.g. those created by Winamp).
Playlists can be de-duped based on filename, name (from extended info) or even length if you prefer -- or any combination of these.
In addition the com.jpevans.m3u.Record class could serve as the basis for writing additional Java applications to access m3u playlist files. (Although the format is really pretty simple, at least this class is already written an tested).
Usage
To use the program, simply run the executable jar. I would recommend renaming it to m3uniq.jar, but this is not necessary. Providing the -h option will display the usage, which is as follows:
usage: [java] com.jpevans.m3u.Uniq [-h] [-v] [-f] [-n] [-l] file1 [ .. fileN ]
or
usage: java -jar m3uniq.jar [-h] [-v] [-f] [-n] [-l] file1 [ .. fileN ]
Where:
-h: help (this)
-v: verbose
-f: uniq on filename
-n: uniq on name
-l: uniq on length (not recommended)
It is pretty self-explanitory really. Output will go to stdout, so you'll probably want to redirect it to a file.
Building
I use Eclipse for building it, and my Eclipse project, classpath and jardesc files are included in the source release, however it's pretty simple to build and if you really want to build it from scratch I'm sure you already know how. If you really need more help with it, contact us and we'll be happy to help.
What's new?
- Aug 13, 2004: Version 1.0.0 released (initial release).
License
This software is made freely available under the MIT License.
Downloads
- Binaries
- Source