Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
utilisateurs:alt.g:scripts [Le 01/01/2017, 03:16]
alt.g [musicNFO]
utilisateurs:alt.g:scripts [Le 01/01/2017, 03:23] (Version actuelle)
alt.g [musicNFO]
Ligne 21: Ligne 21:
 ./​Scripts/​musicNFO.sh [-m | -f] [title column witdh] [directory path] ./​Scripts/​musicNFO.sh [-m | -f] [title column witdh] [directory path]
 </​code>​ </​code>​
-Arguments:\\+Options (facultatif):
 -m pour les fichier MP3 (par défaut)\\ -m pour les fichier MP3 (par défaut)\\
 -f pour les fichiers FLAC\\ -f pour les fichiers FLAC\\
-[title column witdh] : Optionnel, largeur de colonne (par defaut ​40 caractères)\\+Arguments:​\\ 
 +[title column witdh] : facultatif, largeur de colonne (par défaut ​40 caractères)\\
 [directory path] : OBLIGATOIRE,​ chemin du dossier à analyser\\ [directory path] : OBLIGATOIRE,​ chemin du dossier à analyser\\
  
-**fichier ​musicNFO.sh**+**script ​musicNFO.sh**
 <code bash> <code bash>
 ######################################################################​ ######################################################################​
Ligne 42: Ligne 43:
  
 ext=mp3 ext=mp3
-# if "​-m"​ look for MP3 files+# if "​-m"​ look for MP3 files (default)
 [ "​a$1"​ = a-m ] && shift && ext=mp3 [ "​a$1"​ = a-m ] && shift && ext=mp3
-# if "​-f"​ look for FLAC files (default)+# if "​-f"​ look for FLAC files
 [ "​a$1"​ = a-f ] && shift && ext=flac [ "​a$1"​ = a-f ] && shift && ext=flac
  
Ligne 158: Ligne 159:
  
 ##############################################################​ ##############################################################​
 +</​code>​
 +
 +**Résultat:​** fichier "Birdy Nam Nam - Jaded Future EP.nfo"​
 +<​code>​
 +--------------------------------------------------------------------------------------------
 +                              Birdy Nam Nam - Jaded Future EP
 +--------------------------------------------------------------------------------------------
 +
 +Artist ​             :  Birdy Nam Nam
 +Album               : ​ Jaded Future EP
 +Genre               : ​ Bass
 +Year                :  2012
 +Ripper ​             :  LAME3.98
 +Format ​             :  MPEG Audio  Layer 3  Version 1
 +
 +--------------------------------------------------------------------------------------------
 + #| Title                                  |  Duration |      Size |   ​Bitrate |      Mode |
 +--------------------------------------------------------------------------------------------
 + 1| Jaded Future ​                          ​| ​  3mn 31s |  11.8 MiB |  320 Kbps |  Constant |
 + 2| Jaded Future (Foreign Beggars remix) ​  ​| ​  4mn 37s |  14.4 MiB |  320 Kbps |  Constant |
 + 3| Jaded Future (Pelican Fly Remix) ​      ​| ​   5mn 7s |  15.5 MiB |  320 Kbps |  Constant |
 + 4| Goin' In                               ​| ​  3mn 44s |  12.4 MiB |  320 Kbps |  Constant |
 + 5| Goin' In (Skrillex Goin' Hard mix)     ​| ​   4mn 0s |  12.9 MiB |  320 Kbps |  Constant |
 + 6| Goin' In (Skrillex Goin' Down mix)     ​| ​  3mn 37s |  12.1 MiB |  320 Kbps |  Constant |
 + 7| Goin' In (French Fries Remix) ​         |   5mn 33s |  16.5 MiB |  320 Kbps |  Constant |
 + 8| Cadillac Dreams ​                       |   4mn 20s |  13.7 MiB |  320 Kbps |  Constant |
 + 9| Cadillac Dreams (Culprate Remix) ​      ​| ​  4mn 37s |  14.4 MiB |  320 Kbps |  Constant |
 +10| Cadillac Dreams (Soufien 3000          |   2mn 46s |  10.1 MiB |  320 Kbps |  Constant |
 +--------------------------------------------------------------------------------------------
 +
 +Total Size...........:​ 135MB.
 +NFO generated on.....: 01/01/17 03:21:47
 </​code>​ </​code>​
  
  • utilisateurs/alt.g/scripts.1483236993.txt.gz
  • Dernière modification: Le 01/01/2017, 03:16
  • par alt.g