Changeset 352

Show
Ignore:
Timestamp:
07/09/06 11:37:06 (2 years ago)
Author:
nicfit
Message:

Hook for HTTP authentication for remote playlist entries

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/po/POTFILES.in

    r313 r352  
    11[encoding: UTF-8] 
    22etc/mesk.desktop.in 
     3src/mesk_extras.glade 
    34src/mesk_gui.glade 
    45src/plugins/plugins_gui.glade 
  • trunk/po/es.po

    r346 r352  
    88"Project-Id-Version: 0.1.1\n" 
    99"Report-Msgid-Bugs-To: \n" 
    10 "POT-Creation-Date: 2006-07-01 16:38-0600\n" 
     10"POT-Creation-Date: 2006-07-09 11:33-0600\n" 
    1111"PO-Revision-Date: 2006-04-15 17:38-0600\n" 
    1212"Last-Translator: Travis Shirk <travis@pobox.com>\n" 
     
    2424msgstr "Jugador De la Música" 
    2525 
     26#: ../src/mesk_extras.glade.h:2 
     27#, no-c-format 
     28msgid "100%" 
     29msgstr "" 
     30 
     31#: ../src/mesk_extras.glade.h:4 
     32#, no-c-format 
     33msgid "25%" 
     34msgstr "" 
     35 
     36#: ../src/mesk_extras.glade.h:6 
     37#, no-c-format 
     38msgid "50%" 
     39msgstr "" 
     40 
     41#: ../src/mesk_extras.glade.h:8 
     42#, no-c-format 
     43msgid "75%" 
     44msgstr "" 
     45 
     46#: ../src/mesk_extras.glade.h:9 
     47msgid "Mute" 
     48msgstr "" 
     49 
     50#: ../src/mesk_extras.glade.h:10 
     51msgid "Name" 
     52msgstr "" 
     53 
     54#: ../src/mesk_extras.glade.h:11 
     55msgid "Open Mixer" 
     56msgstr "" 
     57 
     58#: ../src/mesk_extras.glade.h:12 ../src/mesk_gui.glade.h:26 
     59#: ../src/mesk/__init__.py:46 
     60msgid "Playlist" 
     61msgstr "Playlist" 
     62 
     63#: ../src/mesk_extras.glade.h:13 
     64msgid "_Rename..." 
     65msgstr "" 
     66 
    2667#: ../src/mesk_gui.glade.h:1 
    2768msgid "+" 
     
    120161msgstr "Juego" 
    121162 
    122 #: ../src/mesk_gui.glade.h:26 ../src/mesk/__init__.py:46 
    123 msgid "Playlist" 
    124 msgstr "Playlist" 
    125  
    126163#: ../src/mesk_gui.glade.h:27 
    127164msgid "Playlist stats" 
     
    320357 
    321358#. TODO: Run version upgrade migration routines 
    322 #: ../src/main.py:105 
     359#: ../src/main.py:108 
    323360#, python-format 
    324361msgid "Upgrading config version %s to %s" 
    325362msgstr "Aumento de la versión %s de los config a %s" 
    326363 
    327 #: ../src/main.py:126 
     364#: ../src/main.py:129 
    328365msgid "Session management disabled (no gnome.ui module)" 
    329366msgstr "La gerencia de la sesión inhabilitó (ningún módulo de gnome.ui)" 
     
    434471msgstr "" 
    435472 
    436 #: ../src/mesk/__init__.py:99 
     473#: ../src/mesk/__init__.py:97 
     474msgid "" 
     475"The volume level mixing program. The PATH environment variable is used to " 
     476"locate commands that do not contain a path." 
     477msgstr "" 
     478 
     479#: ../src/mesk/__init__.py:103 
    437480msgid "Playlist (file) location" 
    438481msgstr "Localización de Playlist (archivo)" 
    439482 
    440 #: ../src/mesk/__init__.py:100 
     483#: ../src/mesk/__init__.py:104 
    441484msgid "Starting playlist index" 
    442485msgstr "Comenzar índice del playlist" 
    443486 
    444 #: ../src/mesk/__init__.py:101 
     487#: ../src/mesk/__init__.py:105 
    445488msgid "Is the playlist in repeat mode" 
    446489msgstr "Es el playlist en modo de la repetición" 
    447490 
    448 #: ../src/mesk/__init__.py:102 
     491#: ../src/mesk/__init__.py:106 
    449492msgid "Is the playlist in shuffle mode" 
    450493msgstr "Es el playlist en modo de la barajadura" 
    451494 
    452 #: ../src/mesk/__init__.py:103 
     495#: ../src/mesk/__init__.py:107 
    453496msgid "The playlist queue which is a comma separated list of indices" 
    454497msgstr "La coleta del playlist que es una coma separó la lista de índices" 
    455498 
    456 #: ../src/mesk/__init__.py:106 
     499#: ../src/mesk/__init__.py:110 
    457500msgid "The directory to open when adding files" 
    458501msgstr "El directorio a abrirse al agregar archivos" 
    459502 
    460 #: ../src/mesk/__init__.py:117 ../src/mesk/__init__.py:119 
    461 #: ../src/mesk/__init__.py:121 
     503#: ../src/mesk/__init__.py:121 ../src/mesk/__init__.py:123 
     504#: ../src/mesk/__init__.py:125 
    462505#, python-format 
    463506msgid "Creating %s..." 
     
    526569 
    527570#. Text columns 
    528 #: ../src/playlist_control.py:157 
     571#: ../src/playlist_control.py:158 
    529572msgid "Title" 
    530573msgstr "Título" 
    531574 
    532 #: ../src/playlist_control.py:158 
     575#: ../src/playlist_control.py:159 
    533576msgid "Artist" 
    534577msgstr "Artista" 
    535578 
    536 #: ../src/playlist_control.py:159 
     579#: ../src/playlist_control.py:160 
    537580msgid "Album" 
    538581msgstr "Álbum" 
    539582 
    540 #: ../src/playlist_control.py:160 
     583#: ../src/playlist_control.py:161 
    541584msgid "#" 
    542585msgstr "#" 
    543586 
    544 #: ../src/playlist_control.py:161 
     587#: ../src/playlist_control.py:162 
    545588msgid "Year" 
    546589msgstr "Año" 
    547590 
    548 #: ../src/playlist_control.py:162 
     591#: ../src/playlist_control.py:163 
    549592msgid "Time" 
    550593msgstr "Tiempo" 
    551594 
    552 #: ../src/playlist_control.py:413 
     595#: ../src/playlist_control.py:428 
    553596#, python-format 
    554597msgid "Are you sure you want to delete playlist '%s'?" 
    555598msgstr "" 
    556599 
    557 #: ../src/playlist_control.py:415 
     600#: ../src/playlist_control.py:430 
    558601msgid "All playlist data will be lost." 
    559602msgstr "" 
    560603 
    561 #: ../src/playlist_control.py:587 
     604#: ../src/playlist_control.py:606 
    562605msgid "tracks" 
    563606msgstr "pistas" 
    564607 
    565 #: ../src/playlist_control.py:900 
     608#: ../src/playlist_control.py:926 
    566609#, fuzzy, python-format 
    567610msgid "" 
     
    571614msgstr "Fuente que cae del error: %s" 
    572615 
    573 #: ../src/playlist_control.py:908 
     616#: ../src/playlist_control.py:934 
    574617#, fuzzy, python-format 
    575618msgid "" 
     
    581624"%s" 
    582625 
    583 #: ../src/playlist_control.py:951 
     626#: ../src/playlist_control.py:977 
    584627msgid "Add Music" 
    585628msgstr "Agregue La Música" 
    586629 
    587 #: ../src/playlist_control.py:968 
     630#: ../src/playlist_control.py:994 
    588631msgid "All" 
    589632msgstr "" 
    590633 
    591 #: ../src/playlist_control.py:970 
     634#: ../src/playlist_control.py:996 
    592635msgid "Audio" 
    593636msgstr "" 
    594637 
    595 #: ../src/playlist_control.py:971 
     638#: ../src/playlist_control.py:997 
    596639msgid "Playlists" 
    597640msgstr "Playlists" 
     
    600643#. the checkbox is toggles and files when not since this is not 
    601644#. possible by default 
    602 #: ../src/playlist_control.py:976 
     645#: ../src/playlist_control.py:1002 
    603646msgid "Make the _dialog be able/unable to select directories" 
    604647msgstr "Haga que el _diálogo es able/unable para seleccionar directorios" 
    605648 
    606 #: ../src/playlist_control.py:1070 
     649#: ../src/playlist_control.py:1096 
    607650#, python-format 
    608651msgid "'%s' string not found" 
  • trunk/po/mesk.pot

    r346 r352  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2006-07-01 16:38-0600\n" 
     11"POT-Creation-Date: 2006-07-09 11:33-0600\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    2525msgstr "" 
    2626 
     27#: ../src/mesk_extras.glade.h:2 
     28#, no-c-format 
     29msgid "100%" 
     30msgstr "" 
     31 
     32#: ../src/mesk_extras.glade.h:4 
     33#, no-c-format 
     34msgid "25%" 
     35msgstr "" 
     36 
     37#: ../src/mesk_extras.glade.h:6 
     38#, no-c-format 
     39msgid "50%" 
     40msgstr "" 
     41 
     42#: ../src/mesk_extras.glade.h:8 
     43#, no-c-format 
     44msgid "75%" 
     45msgstr "" 
     46 
     47#: ../src/mesk_extras.glade.h:9 
     48msgid "Mute" 
     49msgstr "" 
     50 
     51#: ../src/mesk_extras.glade.h:10 
     52msgid "Name" 
     53msgstr "" 
     54 
     55#: ../src/mesk_extras.glade.h:11 
     56msgid "Open Mixer" 
     57msgstr "" 
     58 
     59#: ../src/mesk_extras.glade.h:12 ../src/mesk_gui.glade.h:26 
     60#: ../src/mesk/__init__.py:46 
     61msgid "Playlist" 
     62msgstr "" 
     63 
     64#: ../src/mesk_extras.glade.h:13 
     65msgid "_Rename..." 
     66msgstr "" 
     67 
    2768#: ../src/mesk_gui.glade.h:1 
    2869msgid "+" 
     
    121162msgstr "" 
    122163 
    123 #: ../src/mesk_gui.glade.h:26 ../src/mesk/__init__.py:46 
    124 msgid "Playlist" 
    125 msgstr "" 
    126  
    127164#: ../src/mesk_gui.glade.h:27 
    128165msgid "Playlist stats" 
     
    310347 
    311348#. TODO: Run version upgrade migration routines 
    312 #: ../src/main.py:105 
     349#: ../src/main.py:108 
    313350#, python-format 
    314351msgid "Upgrading config version %s to %s" 
    315352msgstr "" 
    316353 
    317 #: ../src/main.py:126 
     354#: ../src/main.py:129 
    318355msgid "Session management disabled (no gnome.ui module)" 
    319356msgstr "" 
     
    418455msgstr "" 
    419456 
    420 #: ../src/mesk/__init__.py:99 
     457#: ../src/mesk/__init__.py:97 
     458msgid "" 
     459"The volume level mixing program. The PATH environment variable is used to " 
     460"locate commands that do not contain a path." 
     461msgstr "" 
     462 
     463#: ../src/mesk/__init__.py:103 
    421464msgid "Playlist (file) location" 
    422465msgstr "" 
    423466 
    424 #: ../src/mesk/__init__.py:100 
     467#: ../src/mesk/__init__.py:104 
    425468msgid "Starting playlist index" 
    426469msgstr "" 
    427470 
    428 #: ../src/mesk/__init__.py:101 
     471#: ../src/mesk/__init__.py:105 
    429472msgid "Is the playlist in repeat mode" 
    430473msgstr "" 
    431474 
    432 #: ../src/mesk/__init__.py:102 
     475#: ../src/mesk/__init__.py:106 
    433476msgid "Is the playlist in shuffle mode" 
    434477msgstr "" 
    435478 
    436 #: ../src/mesk/__init__.py:103 
     479#: ../src/mesk/__init__.py:107 
    437480msgid "The playlist queue which is a comma separated list of indices" 
    438481msgstr "" 
    439482 
    440 #: ../src/mesk/__init__.py:106 
     483#: ../src/mesk/__init__.py:110 
    441484msgid "The directory to open when adding files" 
    442485msgstr "" 
    443486 
    444 #: ../src/mesk/__init__.py:117 ../src/mesk/__init__.py:119 
    445 #: ../src/mesk/__init__.py:121 
     487#: ../src/mesk/__init__.py:121 ../src/mesk/__init__.py:123 
     488#: ../src/mesk/__init__.py:125 
    446489#, python-format 
    447490msgid "Creating %s..." 
     
    510553 
    511554#. Text columns 
    512 #: ../src/playlist_control.py:157 
     555#: ../src/playlist_control.py:158 
    513556msgid "Title" 
    514557msgstr "" 
    515558 
    516 #: ../src/playlist_control.py:158 
     559#: ../src/playlist_control.py:159 
    517560msgid "Artist" 
    518561msgstr "" 
    519562 
    520 #: ../src/playlist_control.py:159 
     563#: ../src/playlist_control.py:160 
    521564msgid "Album" 
    522565msgstr "" 
    523566 
    524 #: ../src/playlist_control.py:160 
     567#: ../src/playlist_control.py:161 
    525568msgid "#" 
    526569msgstr "" 
    527570 
    528 #: ../src/playlist_control.py:161 
     571#: ../src/playlist_control.py:162 
    529572msgid "Year" 
    530573msgstr "" 
    531574 
    532 #: ../src/playlist_control.py:162 
     575#: ../src/playlist_control.py:163 
    533576msgid "Time" 
    534577msgstr "" 
    535578 
    536 #: ../src/playlist_control.py:413 
     579#: ../src/playlist_control.py:428 
    537580#, python-format 
    538581msgid "Are you sure you want to delete playlist '%s'?" 
    539582msgstr "" 
    540583 
    541 #: ../src/playlist_control.py:415 
     584#: ../src/playlist_control.py:430 
    542585msgid "All playlist data will be lost." 
    543586msgstr "" 
    544587 
    545 #: ../src/playlist_control.py:587 
     588#: ../src/playlist_control.py:606 
    546589msgid "tracks" 
    547590msgstr "" 
    548591 
    549 #: ../src/playlist_control.py:900 
     592#: ../src/playlist_control.py:926 
    550593#, python-format 
    551594msgid "" 
     
    555598msgstr "" 
    556599 
    557 #: ../src/playlist_control.py:908 
     600#: ../src/playlist_control.py:934 
    558601#, python-format 
    559602msgid "" 
     
    563606msgstr "" 
    564607 
    565 #: ../src/playlist_control.py:951 
     608#: ../src/playlist_control.py:977 
    566609msgid "Add Music" 
    567610msgstr "" 
    568611 
    569 #: ../src/playlist_control.py:968 
     612#: ../src/playlist_control.py:994 
    570613msgid "All" 
    571614msgstr "" 
    572615 
    573 #: ../src/playlist_control.py:970 
     616#: ../src/playlist_control.py:996 
    574617msgid "Audio" 
    575618msgstr "" 
    576619 
    577 #: ../src/playlist_control.py:971 
     620#: ../src/playlist_control.py:997 
    578621msgid "Playlists" 
    579622msgstr "" 
     
    582625#. the checkbox is toggles and files when not since this is not 
    583626#. possible by default 
    584 #: ../src/playlist_control.py:976 
     627#: ../src/playlist_control.py:1002 
    585628msgid "Make the _dialog be able/unable to select directories" 
    586629msgstr "" 
    587630 
    588 #: ../src/playlist_control.py:1070 
     631#: ../src/playlist_control.py:1096 
    589632#, python-format 
    590633msgid "'%s' string not found" 
  • trunk/src/audio_control.py

    r350 r352  
    485485            self._gst_error_set = True 
    486486            error, debug = message.parse_error() 
     487 
     488            # XXX: A lame way to detect the need to do HTTP auth. 
     489            if 'http://' in debug and 'Access denied' in debug: 
     490                # FIXME: Handle http auth 
     491                pass 
     492 
    487493            self._set_play_pause_state(self.PLAY) 
    488494            mesk.log.error('Gstreamer error: {bus: %s}: %s' % \