|
|
|
mp3riot (formerly known as f2html.pl)
News:
I decided to rename f2html.pl into mp3riot. the reason is, that
the name f2html.pl 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.
About:
Mp3riot (formerly known as f2html.pl) 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 ...
Download:
Latest version: mp3riot-1.3.zip
Older versions of mp3riot / f2html.pl:
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:
Usage:
perl mp3riot [options]
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>,...
Prossible types are: EQUAL, NAME, DIR, TITLE, ARTIST, ALBUM, YEAR, COMMENT, GENRE, TRACKNUM, SIZE, MODTIME, VBR, BITRATE, FREQUENCY, MM, SS, FIRSTCHAR
- -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**
History:
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 f2html.pl 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
f2html.pl 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
- f2html.pl now comes with a new version of Info.pm 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.
f2html.pl 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.
f2html.pl 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.
f2html.pl 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).
f2html.pl 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 f2html.pl comes wioth a new version of Info.pm from MP3-Info-1.01 by Chris Nandor.
f2html.pl 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.
f2html.pl 0.4-20011127
- Now f2html comes with a new version of Info.pm from MP3-Info-0.91 by Chris Nandor.
- Minor Bugfixes.
- New option to create sql database.
- New option to create a config file.
f2html.pl 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.
f2html.pl 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.
f2html.pl 0.1-20001127
back to top
|
|
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 |
|
| Linux Journal reportsthat the U.S. Senate is now involved in the acquisition of Sun Microsystems
by Oracle. "Despite having issued it's formal objections, the
European Commission continues to investigate the matter, and according to
Oracle officials, it's costing Sun some $100 million per month. Given that
Sun is a sizable employer, concern has grown that layoffs and possibly
worse may be on the horizon, leading US officials to step in. Following the
lead of high-profile senators Orrin Hatch and John Kerry, some fifty-nine
members of the Untied States Senate — more than half — joined in sending a
letter to the European Commission, asking that it complete its
investigation ASAP. Citing the threat to American jobs, Senator Kerry told
reporters that the senators "felt compelled to ask for a speedy resolution"to the seven-month saga." |
| Senators Nudge EU On Sun (Linux Journal) |
|
| The FreeBSD Project has announcedthe release of FreeBSD 8.0. "This next major release branch of
FreeBSD delivers a large number of new technologies into the hands of an
ever-increasing number of users. Key release focuses include wireless
networking, virtualization, and storage technology."See the release notesfor more information.
|
| FreeBSD 8.0 released |
|
| Gentoohas updated pear
net_traceroute(arbitrary code execution).
Mandrivahas updated bind(DNS cache
poisoning).
Ubuntuhas updated php5(multiple
vulnerabilities).
|
| Security updates for Friday |
|
| Linux Journal reportsthat Sun will remove one license
from its X.org contributions.
"One project with a proliferation of licenses — though thankfully compatible — is X.org. We count some seventy-six separate licenses in the xorg/xserver's COPYING file, most of which are derivatives of the "standard"license, itself an MIT license. Most derivatives bear roughly the same language along with a single distinguishing feature:
'...and that the name of [the copyright holder] not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.'
That file will soon have one less license, however, as Sun Microsystems' Alan Coopersmith announced yesterday that the company will begin licensing its contributions under the "standard"license, which does not bear the advertising/publicity provision. Further, Sun will re-license all of its prior contributions — some twenty-one years of substantial contribution — under the "standard"licenses, ridding the code entirely of its derivative license." |
| Sun Leaves License Behind (Linux Journal) |
|
| Joe Brockmeier
looks atThunderbird 3.0 RC 1 on ostatic.
"If you just can't get away from email over the holidays, you can at least help test the release candidate for Thunderbird 3.0. The Mozilla folks released Thunderbird 3.0 RC 1 on Tuesday with more than 100 changes in the release. It's been a long time in coming, the first release in the 2.0 series was back in 2007. But Thunderbird 3.0 looks like it might be worth the wait when the final is released.
What's new and interesting? The user interface changes are probably the first thing you'll notice, especially the new tabbed interface. Instead of opening messages in a new window, they'll now open in a tab."Thunderbird is available
here.
|
| Thunderbird 3.0 Release Candidate: Just in Time for Thanksgiving (ostatic) |
|
| KDE.News covers the rebranding of KDE. Essentially, the "K Desktop Environment"expansion is deprecated, KDE refers to the community and is an "umbrella brand", what is currently called a KDE release will instead be a "KDE Software Compilation"release, and so on. "In the process, KDE's identity has shifted from being simply a desktop environment to representing a global community that creates a remarkably rich body of free software targeted for use by people everywhere.
[...]
KDE is no longer software created by people, but people who create software.[...]
To be able to communicate this clearly in our messaging, it is necessary to reposition the KDE brand so that it reflects the reality. We therefore also need distinct brands for the products we produce."KDE hacker Aaron Seigo has some thoughtsas well.
|
| Repositioning the KDE Brand (KDE.News) |
|
| ars technica looksat a decision from the recent Ubuntu Developer Summit (UDS) to remove the GIMP from the default install. "An important part of the 10.04 roadmap that emerged during UDS is a tentative plan to remove the GIMP, the GNU Image Manipulation Tool, from the default Ubuntu installation. Although this decision is viewed by some as controversial, the reasoning behind it is valid. The removal of a niche professional graphics editing tool reflects Ubuntu's growing maturity as a mainstream platform for regular users." |
| Giving up the GIMP is a sign of Ubuntu's mainstream maturity (ars technica) |
|
| CentOShas updated kdelibs(C4:
arbitrary code execution).
Debianhas updated libvorbis(arbitrary code execution).
Fedorahas updated php-pear-Net-Ping(F10, F11, F12: arbitrary code execution) and
php-pear-Net-Traceroute(F10, F11, F12:
arbitrary code execution).
Gentoohas updated uw-imap(multiple
vulnerabilities), dstat(arbitrary code
execution), and wireshark(multiple
vulnerabilities).
Red Hathas updated kdelibs(RHEL 4
& 5: arbitrary code execution).
rPathhas updated httpd, mod_ssl(rPath 1, rPath
2: man-in-the-middle/SSL injection) and sun-jdk, sun-jre(multiple vulnerabilities).
|
| Wednesday's security advisories |
|
| The LWN.net Weekly Edition for November 26, 2009 is available.
|
| [$] LWN.net Weekly Edition for November 26, 2009 |
|
| Here's an NPR article on Phil Agre, who has not been heard from in over a year. "Agre's online influence reaches far and wide - which makes it all the more surprising that he could have gone missing for such a long time without more people noticing. He was the publisher of the Red Rock Eaters News Service, an influential mailing list he started in the mid-1990s that ran for around a decade. A mix of news, Internet policy and politics, RRE served as a model for many of today's political blogs and online newsletters."LWN was certainly influenced by RRE, and your editor still misses it. (Thanks to Jay Ashworth).
|
| The Mysterious Disappearance Of Phil Agre (NPR) |
|
| Inkscape 0.47 - a massively reworked version of this vector drawing editor, has been released. Beyond improved performance, there's a long list of new features; see the release notesfor details. Also released is an updated version of Inkscape: Guide to a vector drawing program, available from your favorite online bookstore or for direct download.
|
| Inkscape 0.47 released |
|
| We decided to break our annual timeline into quarters this year and have
the first installment ready. Subscribers can click below to get a look at
the significant events in the Linux and free software world from January
through March of 2009. In the coming weeks, we will be putting together
timelines for the rest of the year, one quarter at a time. With any luck,
we'll end up finishing the timeline right about year's end. Stay tuned.
|
| [$] The 2009 Linux and free software timeline - Q1 |
|
| Version 2.1 of the KOffice office suite has been
announced.
"The KOffice team is very happy to announce version 2.1.0 of KOffice, 6 months after the platform release 2.0.0. This release brings a number of new features as well as general improvements in the maturity of the individual applications. Importing of documents have also been given an overhaul.
The advantages of the clean and well-structured codebase have started to show. Despite a relatively limited developer group, there are a large number of improvements over 2.0. During the development of 2.1, it was also announced that KOffice is going to be used in the Nokia n900 smartphones based on Maemo Linux." |
| KOffice 2.1 released |
|
| CentOShas updated C5: cups(denial
of service, cross-site scripting).
Fedorahas updated asterisk(F11, F10:
cross-site ajax requests), snort(F11, F10: denial of service), bugzilla(F12: information leak).
SUSEhas updated cups, jetty5,
libqt4/dbus-1-qt, opera, puretls/jessie, kdegraphics3-pdf, qemu(various issues).
Ubuntuhas updated libvorbis(arbitrary code execution).
|
| Security updates for Tuesday |
|
| Issue 17 of the GNOME Journalis
available; the theme of this issue is "Women in open source."Topics
covered include Telepathy, the "un-scary screwdriver,"a look back at the
2006 women's summer outreach program, GNOME Shell, and more.
|
| GNOME Journal Issue 17 released |
|
|
-->