Signed-off-by: Yonathan Dossow <[EMAIL PROTECTED]>
---
 lang/langen |    1 +
 lang/langes |    3 ++-
 music.tcl   |    8 ++++++++
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/lang/langen b/lang/langen
index 45261f7..06a9475 100644
--- a/lang/langen
+++ b/lang/langen
@@ -22,3 +22,4 @@ musicballontext Click here to show/hide the song in your nick
 changepic Change the displaypicture to the albumart if possible
 music_mpd_ip IP address of your MPD server
 music_mpd_port Port of your MPD server
+music_mpd_password Password of your MPD server
diff --git a/lang/langes b/lang/langes
index 22f8626..248168a 100644
--- a/lang/langes
+++ b/lang/langes
@@ -3,8 +3,9 @@ artistsong Artista-Canción
 artsend Enviar la portada del álbum actual
 changepic Cambiar la imagen mostrada a la portada del álbum, si es posible
 choose_order Elige orden para el nombre de la canción y artista
-music_mpd_ip Dirección IP address de tu servidor MPD
+music_mpd_ip Dirección IP de tu servidor MPD
 music_mpd_port Puerto de tu servidor MPD
+music_mpd_password Contraseña de tu servidor MPD
 musicaddsongtonick Añadir nombre de canción al apodo
 musicaddsongtopsm Añadir nombre de canción al Mensaje Personal
 musicballontext Clic aquí para mostrar/ocultar la canción en tu apodo
diff --git a/music.tcl b/music.tcl
index 6bc19ac..465d613 100644
--- a/music.tcl
+++ b/music.tcl
@@ -189,6 +189,7 @@ namespace eval ::music {
                        changepic {0} \
                        mpd_ip {127.0.0.1} \
                        mpd_port {6600} \
+                       mpd_password {} \
                        mpd_music_directory {} \
                ]
                
@@ -811,6 +812,13 @@ namespace eval ::music {
                entry $mainFrame.port.entry -textvariable 
::music::config(mpd_port) -bg white -width 10
                pack $mainFrame.port -anchor w
                pack $mainFrame.port.label $mainFrame.port.entry -anchor w
+
+               #password
+               frame $mainFrame.password
+               label $mainFrame.password.label -text "[trans 
music_mpd_password]"
+               entry $mainFrame.password.entry -textvariable 
::music::config(mpd_password) -bg white -width 10
+               pack $mainFrame.password -anchor w
+               pack $mainFrame.password.label $mainFrame.password.entry 
-anchor w
        }
 
        ###############################################
-- 
1.5.0.3


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to