Issues on Linux and Security
button Other -->

mp3riot (formerly known as


I decided to rename into mp3riot. the reason is, that the name does not clearly indicate, for what the program is best suited for. Because the program has grown so much (and because the the name should be more attractive to get more users), a renaming seems to be a must to me.

There are some important news about mp3riot / f2htmlpl. Please see the NEWS for further details.


Mp3riot (formerly known as is a command line utility that searches recursively through directories, builds a file list (with additional file information), and generates html files, plylists, etc. The output can be controlled, links can be corrected, and more. The script is mainly desigend to create Web pages, playlists, and databases for mp3-files, but can also used for other purposes.

Read the manual for further details.

Main Features:

  • supports playlists in m3u, pls, and xml format
  • supports sql output
  • creates html pages, templates can be used
  • supports advanced grouping methods
  • supports slection by date ranges, file extensions, and by random
  • supports renaming of mp3 files using id3tag information, templates or guessing can be used
  • advanced string manipulation methods
  • and much more ...


Latest version:

Older versions of mp3riot /

For Windows-Users:

You can also download a windows executable compiled with perl2exe. Then you need not to install perl. But I have not testet the functionality of the executable in detail. So it is best to use perl and the source of mp3riot!

Windows binaries of mp3riot:


perl mp3riot [options]

  • -h, --help: Show this screen and exit
  • -k, --mkconf:Use an assistant to write a config file
  • -o, --os win/unix: Default "unix", otherwise windows
  • -Q, --sortby value: Default is NAME (the filename). You can sort the filelist by the following criteria: URLNAME, SHOWNAME, DIR, NAME, TITLE, ARTIST, ALBUM, YEAR, COMMENT, GENRE, TRACKNUM, SIZE, MODTIME, VBR, BITRATE, FREQUENCY, MINUTES, SECONDS, FIRSTCHAR
  • -n, --doublicates: Check for doublicates of files by their filename
  • -D, --md5doublicates: Check for doublicates of files by their MD5 sum
  • -V, --seekvalues <n,+-n,n>: Three values that have to be seperated by ",". This is an useful option for --md5doublicates. The first one is the offset in bytes, the second is the number of bytes to seek (and the direction), and the last value tells the program where to start from (1 means to start from the begining of a file, 2 means to start from the end of a file. So, a combination of 1000,-1128,2 tells the programm to start 1128 bytes before the file ends (id3v1 tag is 128 bytes long!) and use 1000 bytes for calculation of md5 sums.
  • -b, --dbfile file: Write database to a file for searching it
  • -m --m3u file: Write a m3u playlist file. Directory and filename or GROUPPATH for writing m3u files for groups.
  • -X --xml file: Write a xml playlist file. Directory and filename or GROUPPATH for writing xml files for groups.
  • -L --pls file: Write a pls playlist file. Directory and filename or GROUPPATH for writing pls files for groups.
  • -W, --b4s file: Write a b4s playlist file. Directory and filename or GROUPPATH for writing b4s files for groups.
  • -t, --html file: Write a html file. Directory and filename or GROUPPATH for writing html files for groups.
  • -a, --http name: Define the http address for url
  • -r, --remove: Remove id3tags (do you know what you are doing?)
  • -i, --mp3info: Use mp3/ogg info for html output
  • -e, --ext: Remove file extensions in html output
  • -f, --filesize: Use filesize for html output
  • -c, --check ext: Select files by their extension(s) (e.g. mp3). For every extension use a seperate flag!
  • -z, --skip number: Skip n elements of mount/directories/names
  • -p, --conf file: Use a config file
  • -w, --utf8 file: File with UTF-8 code for replacements in links
  • -q, --nocs: Do sorting not case sensitive
  • -j, --statfile file: Write statistics to file
  • -d, --dir directory: Define the (multiple) directory(ies) the mp3s are stored in. For every directory use a seperate flag!
  • -g, --sql file: Filename to store sql table in (only for mp3 and ogg!)
  • -y, --replace file: Name of replacement file; in the file use <string_1>=<string_2> to transform <string_1> into <string_2>; special characters like a backslash have to be preceeded by a backslash "\\" (used for directories)
  • -s, --seperate path: Write seperate html files for every character
  • -R, --rename: Renames mp3 and ogg file using their id3tag. The use of rename_template in the configfile is optional. If rename_template is not used, the program tries to create a filename like: ARTIST - ALBUM - TRACKNUMBER - TITLE by using the id3tag. It assumes, that the filenames have a similar format and tries to guess, whether the id3tag has enough information to create a better filename. Old and new filenames are stored in RENAME.bak
  • -B, --renameback: Renames files back using the file RENAME.bak
  • -T, --templatesHtml templates are used. They have to be defined in the conmfig file using the commands html_head, html_change, html_body, html_footer, html_sep_head. See the README for avalable templates!
  • -G, --groupfile file: Filename for grouping information: <groupname1>=<TYPE>=<string1>,<string2>,...
  • -P, --grouppath path: The path, where to write the html files for group
  • -O, --older number: Only files are selected, having a modification time higher than the specified days
  • -Y, --younger number: Only files are selected, having a modification time less than the specified days
  • -I, --id3tag: Use the id3 tag to get infos
  • -S, --random number: Percentage of file to select randomly (e.g. 50 to select 50% of files/every second file)
You can use nearly all commands in a config file (and it is the best to do it this way!). The syntax then changes sligthly, so that, for example, --dir changes to dir=
Additionally, in the config file it is possible to use the commands:
  • exec= param: Execute system command. This command can be used multiple times
  • rename_template=string:string with templates for renaming files by their id3tag (to be used together with --rename)
    The following rename templates are available: **TITLE**, **ARTIST**, **ALBUM**, **YEAR**, **COMMENT**, **GENRE**. **TRACKNUM**
  • html_head= string: Html code for the head
  • html_change= string: Html code if the first character between two file names change
  • html_body= string: Html code for each filename
  • html_footer= string: Html code for the foot
  • html_sep_head= string: Html code for the head seperate html files by first character
    The following html templates are available: **SUMOFFILES**, **SUMOFMEGS**, **DATE**, **URLNAME**, **SHOWNAME**, **DIR**, **NAME**, **TITLE**, **ARTIST**, **ALBUM**, **YEAR**, **COMMENT**, **GENRE**, **TRACKNUM**, **SIZE**, **MODTIME**, **VBR**, **BITRATE**, **FREQUENCY**, **MINUTES**, **SECONDS**, **HTMLINDEX**, **FIRSTCHAR**


mp3riot 1.3-20041220

  • extended grouping fuction for all playlistfiles
  • renaming of special characters for filenames og groups
  • support of b4s playlistformat
  • sorting of filelist by various criterias of id3tag, mp3 and
  • file information (e.g. ARTIST, BITRATE etc.)
  • extended output of doublicate function by diretory names
  • added FIRSTCHAR as a value for grouping

mp3riot 1.2-20041007

  • Fixed bug in sql output
  • Flexible search for doublicate files using md5 sums
  • search for doublicates by filenames seperated from search function
  • fixed bug in xml output
  • filesize in html output is now rouded
  • replaced progress bar by counter in percentage
  • added counter for collected files
  • fixed bug in index in html output
  • fixed bug in html output for grouping
  • extended grouping function by new type EQUAL
  • bugfix in pls output

mp3riot 1.1-20030728

  • Renamed into mp3riot
  • Fixed output of playlist in M3U format, so that the M3U file is now containing full information
  • Fixed bug for retreaving the TITLE of an id3tag
  • Added output of playlist in XML format
  • Added output of playlist in PLS format
  • Added random fileselection for random playlists
  • Added the tracknumber for sql output
  • Added **TRACKNUM** (tracknumber) and as a template variable for html output
  • Added TRACKNUM (tracknumber) as a variable for groupings
  • Added tracknumber and comment for db output
  • Fixed bug in renaming function when special characters are present in the id3tag
  • Added rename_template to do renaming of files using their id3tag in a flexible way
  • Fixed a bug in renameback 1.0-20030319

  • Fixed some smaller bugs
  • Rebuild the internal data structure completely
  • Removed option for fast sorting (not necessary any more)
  • Implemented selection of files by their modification time (younger and/or older than days from now)
  • Implemented grouping of files by string matching between group defninitions by various types
  • Implemented variable html-code dsefinitions and templates
  • Changed definition for string replacement
  • now comes with a new version of from MP3-Info-1.02 by Chris Nandor
  • The use of the id3tag for sql and html output is now optional
  • Manpage is not supported any more. 0.9-20030313

  • Fixed a commandline parameter bug where the parameters were handled non case sensitive. Now there are handled case sensitive. As a result the functions RENAME and RENAMEBACK did not work when called with the short command line argument.
  • Fixed a commandline parameter bug that occured with Perl 5.8.0 and Getopt::Long 2.32. The -s flag in line 1 of the perl script causes the program to count the command line parameters in an usual way, so that command line parameters got disturbed and did not work any more. 0.8-20021105

  • Some changes in the documentation.
  • New option to rename files using their id3tag.
  • New option to rename files back.
  • Some code fixes.
  • Usage of the replace option has changed. 0.7-20021016

  • Bug for the option "check" in config file and configuration wizard fixed
  • Bug for the check of the mp3 extension when mp3info was enabled fixed.
  • Bug of sum of megs in html output fixed.
  • Bug in mp3table.sql fixed.
  • Basic ogg vorbis support implemented (thanks to Jens Burkal). 0.6-20020718

  • New method (experimental) for faster sorting. Useful for indexing huge number of files or mp3 files with additional information.
  • New option for checking for dublicates of filenames.
  • Now comes wioth a new version of from MP3-Info-1.01 by Chris Nandor. 0.5-20020626

  • Fixed problem with sql data output when files contain the charakter " ' ".
  • Name of option "hex" changed to "utf8".
  • Implemeted progress bar for prepating html files.
  • More information about what the program is doing. 0.4-20011127

  • Now f2html comes with a new version of from MP3-Info-0.91 by Chris Nandor.
  • Minor Bugfixes.
  • New option to create sql database.
  • New option to create a config file. 0.3-20010628

  • Some checks and corrections for pathnames.
  • Only existing characters are written out at the top of a html file.
  • Rewrite of sum of files and sizes. Important for writing seperate html files for every character.
  • The option -q has been implemented and allows for doing the procedures in a non case sensitive way.
  • The option -j has been implemented. A html file with statistics can be written out. 0.2-20010117

  • The manual has been updated.
  • The option -c has been updated. Now this option can be used more than only one time. So one is able to select file by different extensions. 0.1-20001127

  • Initial release.

back to top

button Whats New
[2005-02-18] mp3riot version 1.3 released
[2004-10-08] mp3riot version 1.2 is out.
[2004-04-30] Added section Bridging
[2004-01-09] working progress on mp3riot version 1.2
More than a decade after its last major rewrite, the GNU Mailmanmailing list manager project aims to release its 3.0 suite in April, during the sprints following PyCon North America. Mailman 3 is a major rewrite that includes a new user membership system, a RESTAPI, an archiver replacement for Pipermail, and a better web interface for subscriptions and settings ? but it carries with it a few new dependencies as well. Brave system administrators can try out the fifth beta versionnow. Subscribers can click below for the full story from next week's edition.
[$] Mailman 3.0 to modernize mailing lists

Hot on the heels of yesterday's 3.19.3 release, Greg Kroah-Hartman has released kernels 3.14.37and 3.10.73. Each contains a bevy of updates and fixes.
Two fresh stable kernels

CentOShas updated setroubleshoot(C6; C7: privilege escalation). Debianhas updated batik(information leak). Fedorahas updated dokuwiki(F20; F21; F22: access control bypass), drupal7(F22: multiple vulnerabilities), drupal7-views(F20; F21: multiple vulnerabilities), ettercap(F20; F21: multiple vulnerabilities), mingw-xerces-c(F22: denial of service), nx-libs(F20; F21: multiple vulnerabilities), php(F22: multiple vulnerabilities), and xerces-c(F22: denial of service). Mandrivahas updated cabextract(BS1,2: multiple vulnerabilities), cpio(BS1: multiple vulnerabilities; BS2: directory traversal), e2fsprogs(BS1; BS2: multiple vulnerabilities), and openssl(BS1; BS2: multiple vulnerabilities). openSUSEhas updated libXfont(13.1, 13.2: multiple vulnerabilities), libzip(13.1, 13.2: denial of service), and tcpdump(13.1, 13.2: multiple vulnerabilities). Oraclehas updated ipa and slapi-nis(O7: multiple vulnerabilities), kernel(O7: multiple vulnerabilities), and setroubleshoot(O5; O6; O7: privilege escalation). Red Hathas updated ipa, slapi-nis(RHEL7: multiple vulnerabilities), kernel(RHEL7: multiple vulnerabilities), kernel-rt(RHEL7: multiple vulnerabilities), and setroubleshoot(RHEL5,6,7: privilege escalation). Scientific Linuxhas updated ipa and slapi-nis(SL7:), kernel(SL7: multiple vulnerabilities), and setroubleshoot(SL5,6,7: privilege escalation). SUSEhas updated Xen(SLE12: multiple vulnerabilities).
Friday's security updates

Greg Kroah-Hartman has announced the release of the 3.19.3kernel. A variety of important fixes and updates are included.
A new stable kernel release

CentOShas updated firefox(C6; C7: multiple vulnerabilities). openSUSEhas updated firefox(13.1,13.2: multiple vulnerabilities). Oraclehas updated firefox(O5: multiple vulnerabilities). Scientific Linuxhas updated 389-ds-base(SL7: multiple vulnerabilities), firefox(multiple vulnerabilities), freetype(SL6,7: multiple vulnerabilities), glibc(SL7: multiple vulnerabilities), GNOME Shell(SL7: lock screen bypass), hivex(SL7: privilege escalation), httpd(SL7: multiple vulnerabilities), ipa(SL7: multiple vulnerabilities), kernel(SL7: multiple vulnerabilities), krb5(SL7: multiple vulnerabilities), libreoffice(SL7: multiple vulnerabilities), libvirt(SL7: multiple vulnerabilities), openssh(SL7: multiple vulnerabilities), openssl(SL6; SL7: multiple vulnerabilities), pcre(SL7: information leak), qemu-kvm(SL7: multiple vulnerabilities), unzip(SL6,7: multiple vulnerabilities), and virt-who(SL7: information leak).
Thursday's security updates

The Weekly Edition for March 26, 2015 is available.
[$] Weekly Edition for March 26, 2015

The LibreOffice project was announcedwith great fanfare in September 2010. Nearly one year later, the project (from which LibreOffice was forked) was cut loose from Oracleand found a new home as an Apache project. It is fair to say that the rivalry between the two projects in the time since then has been strong. Predictions that one project or the other would fail have not been borne out, but that does not mean that the two projects are equally successful. A look at the two projects' development communities reveals some interesting differences. Click below (subscribers only) for the full article.
[$] Development activity in LibreOffice and OpenOffice

Debianhas updated openssl(regression in previous update) and python-django(cross-site scripting). Debian-LTShas updated gnutls26(multiple vulnerabilities). openSUSEhas updated less(13.2, 13.1: information leak) and tor(13.2, 13.1: denial of service). Oraclehas updated firefox(OL7; OL6: multiple vulnerabilities). SUSEhas updated firefox(SLE11 SP3: multiple vulnerabilities). Ubuntuhas updated batik(14.10, 14.04, 12.04: information leak) and libarchive(14.10, 14.04, 12.04: directory traversal).
Security advisories for Wednesday

The GNOME 3.16 release is out. "This is another exciting release for GNOME, and brings many new features and improvements, including redesigned notifications, a new shell theme, new scrollbars, and a refresh for the file manager. 3.16 also includes improvements to the Image Viewer, Music, Photos and Videos. We are also including three new preview apps for the first time: Books, Calendar and Characters."See the release notesfor more information.
GNOME 3.16 released

The LibreOffice project has announced the accelerated development of a new online offering. "Development of LibreOffice Online started back in 2011, with the availability of a proof of concept of the client front end, based on HTML5 technology. That proof of concept will be developed into a state of the art cloud application, which will become the free alternative to proprietary solutions such as Google Docs and Office 365, and the first to natively support the Open Document Format (ODF) standard."The current effort is supported by IceWarp and Collabora; see this FAQand Michael Meeks's postingfor more information. For those wanting to download it, though, note the "the availability of LibreOffice Online will be communicated at a later stage."
LibreOffice Online announced

The ACM has announcedthat the 2014 A. M. Turing award has gone to Michael Stonebraker. Among many other things, he was the original creator of the database management system now known as PostgreSQL.
A Turing award for Michael Stonebraker

The Free Software Foundation Europe has a reminder that Document Freedom Day is happening from March 24 12:00 UTC until March 26 12:00 UTC. "Document Freedom Day is the global campaign for document liberation by local groups throughout the world. So far more than 50 groups registered their events in over 25 countries ranging from Asia, Europa, Africa, to South and North America."
FSFE: Worldwide more than 50 events about Open Standards

The 2015 Linux Plumbers Conference(LPC) has announced that two microconferences have been accepted for the event, which will be held August 19-21 in Seattle. The Checkpoint/Restartand Energy-aware scheduling and CPU power managementmicroconferences will be held at LPC. Registration for the conference will open on March 27 and it will be co-located with LinuxCon North America, which will be held August 17-19.
Two microconferences accepted for the Linux Plumbers Conference

Forbes takes a lookat Cyanogen, and its prospects in the phone market. "Cyanogen has a chance to snag as many as 1 billion handsets, more than the total number of iPhones sold to date, according to some analysts. Fifty million people already run Cyanogen on their phones, the company says. Most went through the hours-long process of erasing an Android phone and rebooting it with Cyanogen. [Kirt] McMaster is now persuading a growing list of phone manufacturers to make devices with Cyanogen built in, rather than Google?s Android. Their phones are selling out in record time. Analysts say each phone could bring Cyanogen a minimum of $10 in revenue and perhaps much more."
Meet Cyanogen, The Startup That Wants To Steal Android From Google (Forbes)

Worth a read: this post from Arjan van de Venon the difficulty of removing old, insecure cryptographic algorithms from a Linux distribution. "But more, and this is a call to action: If you're working on an open source project that uses crypto, please please don't opencode crypto algorithm usage. The algorithm may be outdated at any time and might have to go away in a hurry."
Van de Ven: Deprecating old crypto

WebGate eDVR Manager ActiveX Controls CVE-2015-2098 Multiple Buffer Overflow Vulnerabilities
Vuln: WebGate eDVR Manager ActiveX Controls CVE-2015-2098 Multiple Buffer Overflow Vulnerabilities

Oracle Java SE CVE-2014-6549 Remote Java SE Vulnerability
Vuln: Oracle Java SE CVE-2014-6549 Remote Java SE Vulnerability

Oracle Java SE CVE-2015-0412 Remote Java SE Vulnerability
Vuln: Oracle Java SE CVE-2015-0412 Remote Java SE Vulnerability

Oracle Java SE CVE-2015-0406 Remote Java SE Vulnerability
Vuln: Oracle Java SE CVE-2015-0406 Remote Java SE Vulnerability

[ MDVSA-2015:077 ] python-numpy
Bugtraq: [ MDVSA-2015:077 ] python-numpy

[ MDVSA-2015:076 ] python3
Bugtraq: [ MDVSA-2015:076 ] python3

[ MDVSA-2015:075 ] python
Bugtraq: [ MDVSA-2015:075 ] python

[ MDVSA-2015:074 ] openldap
Bugtraq: [ MDVSA-2015:074 ] openldap

News, Infocus, Columns, Vulnerabilities, Bugtraq ...
More rss feeds from SecurityFocus