projects
/
mp3tohtml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
185d495
)
doc
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 1 Feb 2016 10:55:06 +0000
(11:55 +0100)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 1 Feb 2016 10:55:06 +0000
(11:55 +0100)
mp3tohtml/mp3tohtml.py
patch
|
blob
|
history
diff --git
a/mp3tohtml/mp3tohtml.py
b/mp3tohtml/mp3tohtml.py
index
db32bdc
..
ee51dee
100755
(executable)
--- a/
mp3tohtml/mp3tohtml.py
+++ b/
mp3tohtml/mp3tohtml.py
@@
-1,16
+1,23
@@
#!/usr/bin/python2
#!/usr/bin/python2
-# Generate an HTML page containing information about MP3s in a
-# directory.
+# usage: mp3tohtml.py [-h] [--config CONFIG] dir
#
#
-# Usage: mp3tohtml.py <mp3_dir>
+# 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:
#
# 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 <jeanfi@gmail.com>
# (c) 2016 Jean-Philippe Orsini <jeanfi@gmail.com>
-import argparse
;
+import argparse
import eyeD3
import fnmatch
import glob
import eyeD3
import fnmatch
import glob