From: Leandro Lucarella Date: Thu, 23 Sep 2004 07:20:33 +0000 (+0000) Subject: Se agrega DVD 1 y mas correcciones. X-Git-Tag: svn_import~80 X-Git-Url: https://git.llucax.com/personal/documentos.git/commitdiff_plain/b6b911da52dca4857c407d79ca7f5ad81dc09c07?ds=inline Se agrega DVD 1 y mas correcciones. --- diff --git a/mp3_labels/Template.MP3.glabels b/mp3_labels/Template.MP3.glabels index ab60275..87d15b4 100644 --- a/mp3_labels/Template.MP3.glabels +++ b/mp3_labels/Template.MP3.glabels @@ -7,9 +7,9 @@ - - - MP3Volumen {N} + + + MP3 DVD {N} diff --git a/mp3_labels/mp3-dvd-01.glabels b/mp3_labels/mp3-dvd-01.glabels new file mode 100644 index 0000000..e399309 --- /dev/null +++ b/mp3_labels/mp3-dvd-01.glabels @@ -0,0 +1,144 @@ + + + + + + + MP3 DVD 01 + + + + 2raumwohnung - In Wirklich [2002] - Kommt Zusammen [2002] + + + + Adicta - Miedo [2003] + + + + Air - 10,000hz Legend [2001] - Talkie Walkie [2004] + + + + Ambient Acoustic - 30 Essential Tracks - Cd1 [2003] - 30 Essential Tracks - Cd2 [2003] + + + + Arrested Development - 3 Years, 5 Months And 2 Days In The Life Of ... [1992] + + + + Asian Dub Foundation - Enemy Of The Enemy [2003] + + + + Babasónicos - Fizz (simple Popart Bs0003) [2003] - Infame [2003] - Los Calientes (simple Popart Bbs0002) [2003] - Lusónica [2003] - Rubí (single Popart Bs0001) [2003] + + + + Belle And Sebastian - Storytelling [2002] + + + + Bent - Programmed To Love [2000] - The Everlasting Blink [2003] + + + + Björk - Later [2004] - Medulla [2004] + + + + Black Eyed Peas - Elephunk [2003] + + + + Blind Melon - Nico [1996] - Soup [1995] + + + + Cafe Tacuba - Cuatro Caminos [2003] + + + + David Byrne - Look Into The Eyeball [2001] + + + + Death Cab For Cutie - Forbidden Love Ep [2000] - Something About Airplanes [2004] - The Photo Album [2001] - Transatlanticism [2003] - We Have The Facts And We're Voting Yes [2000] - You Can Play These Songs With Chords [2002] + + + + Gene - Olympian [1995] + + + + Grandaddy - Sumday [2003] + + + + Jaime Sin Tierra - Autochocador [2000] - El Avion Ya Se Estrello Y Yo Sigo Volando [1998] - Hi-fi - Lo Que Va A Encandilar Es El Día [2002] - Lo-fi - Med-fi + + + + Kevin Johansen - Sur O No Sur [2002] + + + + Lou Reed - The Raven - Cd1 [2002] - The Raven - Cd2 [2002] + + + + Mercury Rev - Yerself Is Steam [2002] + + + + Peter Gabriel - Long Walk Home: Music From The Rabitt Proof Fence [2002] - Passion [1989] - Peter Gabriel (1) [1977] - Peter Gabriel (2) [1978] - Security [1982] - Shaking The Tree [1990] - Up [2002] - Us [1992] + + + + Placebo - Sleeping With Ghosts [2003] + + + + Radiohead - Amnesty 98 [1998] - Creep Single [1992] - Data Complete (bootleg) [1996] - Hail To The Thief [2003] - Itch Ep [1993] - Just (single) [1996] - Karma Police (single 2) [1997] - Knives Out (single) [2001] - Live From Holland [2000] - Live From The 10 Spot (bootleg) [1997] - No Suprises (single) [1997] - No Suprises - Running From Demons (ep) [2000] - No Surprises (single 2) [1998] - No Surprises - Running From Demons Ep [1997] - Pyramid Song (single 2) [2001] - Pyramid Song (single) [2001] - There There (single) [2003] - Towering Above The Rest - Cd1 + + + + Silvio Rodríguez - Cita Con Ángeles [2003] + + + + Stereophonics - Just Enough Education To Perform [2001] - Performance And Cocktails [1999] - Private Session (live At Paris 11-04-2001) [2001] - Word Gets Around [1997] - You Gotta Go There To Come Back [2003] + + + + The New Pornographers - Electric Version [2003] - Mass Romantic [2003] + + + + The Postal Service - Give Up [2003] + + + + The Streets - Original Pirate Material [2002] + + + + Thom Yorke - Acoustic Concert - The Bridge School Benefit [2002] + + + + Travis - 12 Memories [2003] - Glass Onion Ep [1993] - Good Feeling [1997] - Live - Covers - Live At Glasgow Garage [2002] - Singles - B Sides - The Man Who [1999] + + + + Victoria Mil - Este Cielo De Estrellas Caerá [2003] + + + + diff --git a/mp3_labels/procesar.php b/mp3_labels/procesar.php index b190d9f..85553f1 100755 --- a/mp3_labels/procesar.php +++ b/mp3_labels/procesar.php @@ -4,11 +4,11 @@ require_once 'HTML/Template/Sigma.php'; PEAR::setErrorHandling(PEAR_ERROR_DIE); -define('X_BASE', 60); +define('X_BASE', 30); define('X_COL2', 205); -define('Y_BASE', 65); +define('Y_BASE', 35); define('Y_MAX', 310); -define('PUNTOS', 6); +define('PUNTOS', 4); if ($argc < 2) { $name = basename($argv[0]); @@ -20,7 +20,7 @@ if ($argc < 2) { $numero = $argv[1]; $dir = @$argv[2] ? $argv[2] : '.'; -$filename = @$argv[3] ? $argv[3] : "MP3_$numero.glabels"; +$filename = @$argv[3] ? $argv[3] : "mp3-dvd-$numero.glabels"; $template = 'Template.MP3.glabels'; $template_dir = '.'; @@ -55,7 +55,7 @@ if ($datos) { $tpl =& new HTML_Template_Sigma($template_dir); $tpl->loadTemplateFile($template); $tpl->setGlobalVariable(array( - 'N' => $numero, + 'N' => sprintf("%02d", $numero), 'PUNTOS' => PUNTOS, )); @@ -72,7 +72,7 @@ if ($datos) { 'X' => $x, 'TEXTO_Y' => $y, 'LINEA_Y' => $y + PUNTOS + 2.5, - 'LINEA_ANCHO' => strlen($artista) * 3.45 + 60 / strlen($artista), + 'LINEA_ANCHO' => strlen($artista) * 2.5 + 25 / strlen($artista), 'ARTISTA' => translate($artista), )); sort($albums);