From: Jean-Philippe Orsini Date: Wed, 15 Jun 2016 14:15:20 +0000 (+0200) Subject: Merge branch 'master' of ssh://srv2.wpitchoune.net/srv/git/www X-Git-Url: https://git.wpitchoune.net/gitweb/?p=www.git;a=commitdiff_plain;h=cf1d5b645870b42afd2065452431cc9dca952706;hp=926dbc784c82523066ff9205cb7f2c9cb27bb0d2 Merge branch 'master' of ssh://srv2.wpitchoune.net/srv/git/www --- diff --git a/www/mp3tool/index.html b/www/mp3tool/index.html new file mode 120000 index 0000000..6c2c4ef --- /dev/null +++ b/www/mp3tool/index.html @@ -0,0 +1 @@ +mp3tool.html \ No newline at end of file diff --git a/www/mp3tool/mp3tool.html b/www/mp3tool/mp3tool.html new file mode 100644 index 0000000..6cbf7c6 --- /dev/null +++ b/www/mp3tool/mp3tool.html @@ -0,0 +1,179 @@ + + + + + + + +MP3Tool + + + + + + +
+
+
+
+

The MP3 files contain information about the name of the artist, the +name of the album, the sound title, etc.

+
+
+

MP3Tool is a command line tool for moving a MP3 file according to these +information. It can also output the information.

+
+
+
+
+

Usage

+
+
+

Display MP3 information

+
+

Displays the MP3 information of the file ‘file.mp3’:

+
+
+
+
mp3tool -i PATTERN file.mp3
+
+
+
+

The format string PATTERN controls the contents of the mp3tool +output. It can contains MP3 tag information variables. Move a MP3 +file

+
+
+

Moves files.mp3 to dest:

+
+
+
+
mp3tool -m PATTERN file.mp3
+
+
+
+

The PATTERN string can contain MP3 tag information variables.

+
+
+

MP3 tag information variables:

+
+
+
    +
  • +

    %c comment

    +
  • +
  • +

    %a name of the artist

    +
  • +
  • +

    %l name of the album

    +
  • +
  • +

    %t title

    +
  • +
  • +

    %y year

    +
  • +
  • +

    %% percent

    +
  • +
  • +

    %n newline

    +
  • +
+
+
+

Examples:

+
+
+
+
mp3tool -m "%a/%l/%f" file.mp3
+
+
+
+

will move file.mp3 into the directory artist/album.

+
+
+
+
mp3tool -m "%a - %l - %t.mp3" file.mp3
+
+
+
+

will rename file.mp3 to artist – album – title.mp3.

+
+
+
+
+
+

Installation for Ubuntu

+
+
+

The easy way to install mp3tool on Ubuntu is to use the PPA:

+
+
+
+
sudo apt-add-repository ppa:jfi/mp3tool
+sudo apt-get update
+sudo apt-get install mp3tool
+
+
+
+

Alternatively, it can be installed manually by downloading Ubuntu +binary packages, see the ‘Download Links’ section of this page.

+
+
+
+
+

Installation from source archive

+
+
+

MP3Tool should compile on any Linux plateform:

+
+
+
+
make clean all
+
+
+
+

Then perform the installation:

+
+
+
+
make install
+
+
+
+
+
+ +
+
+ +
+
+
+
+

Contact Information

+
+
+

Bugs and comments can be sent to wpitchoune@gmail.com.

+
+
+

Released under GPLv2 license terms.

+
+
+
+
+ + + \ No newline at end of file diff --git a/www/style.css b/www/style.css index 66a6431..64447ee 100644 --- a/www/style.css +++ b/www/style.css @@ -2,8 +2,9 @@ body { font-family: sans-serif; margin: 0; padding: 0; - background-color: #fdfdfd; + background-color: #ededed; font-size: 100%; + color: #303030; } div, h2, h3, nav ul { @@ -16,15 +17,22 @@ nav { padding: 1em; display: block; height: 1em; - background-color: black; - color: white; + background-color: #1c1c1c; + color: #9d9d9d; } h1 { - margin: 1em 1em 1em 1em; - padding: 0; - font-size: 200%; + margin: 0; + margin-top: 0.5em; + margin-left: 2rem; + margin-right: 2rem; + padding: 0.5em; + font-size: 300%; font-weight: bold; + color: white; + background-color: #1c1c1c; + border-top-left-radius: 4px; + border-top-right-radius: 4px; } h2 { @@ -42,8 +50,11 @@ h2,h3 { } #content { - margin: 0em 1em 0em 1em; - padding: 0; + margin: 0em 2rem 0em 2rem; + padding: 1em; + background-color: white; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; } nav li { @@ -75,8 +86,9 @@ pre { margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em; border-left-style: solid; - border-left-color: black; + border-left-color: #cccccc; border-left-width: 6px; + background-color: #f5f5f5; } code {