[gull] Question sur xmms2

Leopoldo Ghielmetti leopoldo.ghielmetti at a3.epfl.ch
Mon Apr 28 16:16:10 CEST 2008


Il giorno lun, 28/04/2008 alle 15.08 +0200, Sebastien Cevey ha scritto:
> Selon Leopoldo Ghielmetti <leopoldo.ghielmetti at a3.epfl.ch>:
> 
> Salut,
> 
> > La commande que je donne est:
> > xmms2 add la_liste "/home/mp3/l'artiste/le fichier de musique.mp3"
> > (ou .ogg selon les cas) 
> 
> Bon pour ajouter une playlist il faut utiliser
> 
>   xmms2 addpls la_liste

C'est bien ce que j'ai fait mais ça foire.

> et pas add, qui est uniquement pour les fichiers de musique (ca changera avec la
> nouvelle version de la ligne de commande, qui devrait être finie avec le Summer
> of Code de cette année).
> 
> Cela dit, ca ne devrait pas faire merder tout XMMS2, juste retourner une erreur
> (ou juste ignorer le fichier). DrJekyll n'est pas la dernière version, j'ai
> essayé de reproduire le bug avec DrKosmo et j'ai obtenu un truc bizarre, mais
> pas aussi grave que ce que tu décris.

Ça plante le serveur.

> Il faut que j'essaie de reproduire et débugger ça et je te tiendrai au courant.
> En règle générale, il est plus sûr de tester avec la dernière version, qui
> contient pas mal de bug fixes ;-)

Oui, mais j'ai voulu installer la version distribuée avec la Ubuntu sans
commencer à chercher de nouveaux paquetages. Si tu me dis qu'il y a
un .deb qui corrige la chose alors je vais upgrader, sinon il faudra que
j'apprennes à créer mes propres .deb (ce n'est pas difficile, je l'ai
déja fait mais en magouillant un peu :-) ).

> Pour ce qui est des urls c'est normal, c'est un standard d'encodage d'URL, je
> sais plus lequel.

Pur ça il y a le post de Marc. :-)

> Envoie seulement ton fichier de log sur xmms2-devel at lists.xmms.se si tu veux,
> peut-être que ya qqch à réccupérer dedans.

C'est fait. Je l'ai écrit en Anglais, comme ça même si ce n'est pas toi
qui le traite ça restera lisible.

Je peux même te donner plus maintenant car je viens de lancer le xmms2d
avec l'option verbose et après avoir effacé la playliste et relancer le
xmms2d après le plantage qui a suivi la vidange j'ai pu rajouter de
nouveau la playliste m3u avec le même résultat. Par contre maintenant
j'ai une trace un peu plus parlante (je l'espère).
J'ai eu la chose suivante:
DEBUG: ../src/xmms/ipc.c:581: Client connected
DEBUG: ../src/xmms/main.c:259: Client xmms2-cli with protocol version 1
sent hello!
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1115: Skipping plugin 'ringbuf'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'id3v2'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'wave'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'file'
DEBUG: ../src/xmms/xform.c:1121: Plugin 'file' matched
DEBUG: ../src/plugins/file/file.c:113: Opening /home/lghi/xmms.m3u
DEBUG: ../src/xmms/xform.c:481: Setting 'size' to 603484
DEBUG: ../src/xmms/xform.c:481: Setting 'lmod' to 1209133609
DEBUG: ../src/xmms/xform.c:1182: Not in one of 1 goal-types
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1121: Plugin 'magic' matched
DEBUG: ../src/xmms/magic.c:472: magic plugin detected
'audio/x-mpegurl' (by extension '*.m3u')
DEBUG: ../src/xmms/xform.c:1182: Not in one of 1 goal-types
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1115: Skipping plugin 'ringbuf'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'id3v2'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'wave'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'file'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'nulstripper'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'vorbis'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'equalizer'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'mad'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'replaygain'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'm3u'
DEBUG: ../src/xmms/xform.c:1121: Plugin 'm3u' matched
DEBUG: ../src/xmms/xform.c:572: Collecting metadata from file
DEBUG: ../src/xmms/xform.c:572: Collecting metadata from magic
 INFO: ../src/xmms/xform.c:1295: Successfully setup chain for
'file:///home/lghi/xmms.m3u' (0) containing file:magic:m3u
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'm3u'
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'magic'
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'file'
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'unknown'
DEBUG: ../src/xmms/collection.c:771: COLLECTIONS: query_infos with
SELECT DISTINCT m0.id AS id FROM Media as m0 WHERE m0.key='url' AND
m0.id IN (...une liste infinie...) ORDER BY m0.id
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/mediainfo.c:185: got 2301 as not resolved
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1115: Skipping plugin 'ringbuf'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'id3v2'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'wave'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'file'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'nulstripper'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'vorbis'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'equalizer'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'mad'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'replaygain'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'm3u'
DEBUG: ../src/xmms/xform.c:1143: Found no matching plugin...
ERROR: ../src/xmms/xform.c:1273: Couldn't set up chain for
'file:/home/mp3/da_ascoltare/Glen+Of+Guinness/_/05%23+Song+of+the
+songs.mp3' (2301)
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'unknown'
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
...
UG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/playlist.c:715: removing entry on pos 1 in lghi
DEBUG: ../src/xmms/playlist.c:193: PLAYLIST: updated chg!
DEBUG: ../src/xmms/playlist.c:181: PLAYLIST: updated pos!
DEBUG: ../src/xmms/mediainfo.c:185: got 2302 as not resolved
DEBUG: ../src/xmms/ipc.c:392: disconnect was true!
DEBUG: ../src/xmms/ipc.c:495: Destroying client!
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1115: Skipping plugin 'ringbuf'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'id3v2'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'wave'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'file'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'nulstripper'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'vorbis'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'equalizer'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'mad'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'replaygain'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'm3u'
DEBUG: ../src/xmms/xform.c:1143: Found no matching plugin...
ERROR: ../src/xmms/xform.c:1273: Couldn't set up chain for
'file:/home/mp3/da_ascoltare/Etienne+Daho/Eden/11%23+Quand+tu+m%
27appelles+Eden.mp3' (2302)
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'unknown'
DEBUG: ../src/xmms/playlist.c:715: removing entry on pos 1 in lghi
Segmentation fault

Et maintenant si je relance le xmms2d ça me donne des milliers
d'erreurs, un pour chaque fichiers de la playliste. Par exemple:
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'converter'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'magic'
DEBUG: ../src/xmms/xform.c:1115: Skipping plugin 'ringbuf'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'id3v2'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'wave'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'file'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'nulstripper'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'vorbis'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'equalizer'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'mad'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'replaygain'
DEBUG: ../src/xmms/xform.c:1119: Trying plugin 'm3u'
DEBUG: ../src/xmms/xform.c:1143: Found no matching plugin...
ERROR: ../src/xmms/xform.c:1273: Couldn't set up chain for
'file:/home/mp3/da_ascoltare/Joe+Cocker/No+Ordinary+World/04%23+While
+you+see+a+chance.mp3' (3050)
DEBUG: ../src/xmms/xform.c:320: Freeing xform 'unknown'
DEBUG: ../src/xmms/mediainfo.c:185: got 3051 as not resolved

> A+

ciao, Leo





More information about the gull mailing list