X-Git-Url: https://git.wpitchoune.net/gitweb/?p=mp3tohtml.git;a=blobdiff_plain;f=mp3tohtml%2Fmp3tohtml.py;h=ee51dee381281ada5bb498eaee548de17ec96355;hp=db32bdc832f20546ddfa613bb2d819c6071cfd62;hb=1c886ddc907395d54fde0384089526c97b173161;hpb=185d495bdcc26194d1dc4560f5c8cc758f434272 diff --git a/mp3tohtml/mp3tohtml.py b/mp3tohtml/mp3tohtml.py index db32bdc..ee51dee 100755 --- a/mp3tohtml/mp3tohtml.py +++ b/mp3tohtml/mp3tohtml.py @@ -1,16 +1,23 @@ #!/usr/bin/python2 -# Generate an HTML page containing information about MP3s in a -# directory. +# usage: mp3tohtml.py [-h] [--config CONFIG] dir # -# Usage: mp3tohtml.py +# Generate an HTML containing information about the MP3 files. +# +# positional arguments: +# dir The directory containing the MP3 files +# +# optional arguments: +# -h, --help show this help message and exit +# --config CONFIG The directory containing the configuration # # Last version of this tool can be get from the GIT repository: -# http://git.wpitchoune.net/radio.git +# http://wpitchoune.net/mp3tohtml # +# Released under the terms of the GPLv2 license. # (c) 2016 Jean-Philippe Orsini -import argparse; +import argparse import eyeD3 import fnmatch import glob