Listen will not play MP3 audio files

Bug #145409 reported by BlackHatRob
6
Affects Status Importance Assigned to Milestone
listen (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: listen

When attempting to add MP3 files to my library, I select the directory and/or files I would like to add and click 'OK', but nothing happens. I have also made a music folder in my home directory, added some MP3 audio files, and made it my default library location, yet the files still do not show up in the Listen application.

When attempting to launch an MP3 audio file from the command line, I receive the following:

No musicbrainz support (musicbrainz2 missing)
No iPod support
No Audio cd support (musicbrainz2 missing)
/usr/lib/listen/widget/tray.py:45: DeprecationWarning: the module egg.trayicon is deprecated; equivalent functionality can now be found in pygtk 2.10
  try: import egg.trayicon
Traceback (most recent call last):
  File "/usr/lib/listen/listen.py", line 219, in <module>
    ListenApp()
  File "/usr/lib/listen/listen.py", line 151, in __init__
    option.run_load(bonobo_client)
  File "/usr/lib/listen/option_parser.py", line 105, in run_load
    ret = client.msg_send("add",("play",self.convert_args_to_uris_string(self.args)))
AttributeError: 'NoneType' object has no attribute 'msg_send'

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi There
I'm using gutsy with all packages up to date, and couldn't reproduce this bug, listen can add song an reproduce mp3 too,
Could you please provide the version of listen you're using, and any related package.

listen 0.5-4ubuntu3
gstreamer0.10-plugins-bad 0.10.5-4ubuntu1
gstreamer0.10-plugins-bad-multiverse 0.10.5-1
gstreamer0.10-plugins-base 0.10.14-1ubuntu3
gstreamer0.10-plugins-base-apps 0.10.14-1ubuntu3
gstreamer0.10-plugins-farsight 0.12.2-1ubuntu1
gstreamer0.10-plugins-good 0.10.6-0ubuntu3
gstreamer0.10-plugins-ugly 0.10.6-0ubuntu2
gstreamer0.10-plugins-ugly-multiverse 0.10.6-0ubuntu1

Changed in listen:
status: New → Incomplete
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Not a bug. You need either gstreamer0.10-plugins-bad or gstreamer0.10-plugins-ugly.

Listen could warn you about that, but it's not a bug, it would be a feature ;)

Changed in listen:
status: Incomplete → Invalid
Revision history for this message
WangLu (coolwanglu) wrote :

I could reproduce here, and I think it's a locale problem.

Besides, I have both gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly installed

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 145409] Re: Listen will not play MP3 audio files

WangLu wrote:
> I could reproduce here, and I think it's a locale problem.
>
> Besides, I have both gstreamer0.10-plugins-bad and gstreamer0.10
> -plugins-ugly installed
>

What locale do you have?
Does listen work if you launch it with this?
LC_ALL=C listen

Revision history for this message
WangLu (coolwanglu) wrote :

it's ok if I run 'listen' without a music filename, but if I run 'listen -p xxx.mp3', I'll get the following message, regardless of 'LC_ALL=C"

Error grabbing key 144, 0x8305820
Error grabbing key 153, 0x8305820
Error grabbing key 162, 0x8305820
Error grabbing key 162, 0x8305820
Error grabbing key 164, 0x8305820
No musicbrainz support (musicbrainz2 missing)
No iPod support
No Audio cd support (musicbrainz2 missing)
location: /usr/lib/xulrunner-1.9b5/libxpcom.so
before 3
Traceback (most recent call last):
  File "/usr/lib/listen/listen.py", line 218, in <module>
    ListenApp()
  File "/usr/lib/listen/listen.py", line 150, in __init__
    option.run_load(bonobo_client)
  File "/usr/lib/listen/option_parser.py", line 96, in run_load
    ret = client.msg_send("add",("play",self.convert_args_to_uris_string(self.options.file_to_play)))
AttributeError: 'NoneType' object has no attribute 'msg_send'

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

Thanx guys, figured that was an issue much much later on. Reporting the same bug you guys are giving as #bug 285277

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.