m4myo / python-mplayer

Automatically exported from code.google.com/p/python-mplayer
GNU Lesser General Public License v3.0
0 stars 0 forks source link

ICY stream info not being displayed #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python async.py http://scfire-ntc-aa07.stream.aol.com:80/stream/1048

What is the expected output? What do you see instead?

I expect to see the stream info and song titles, but neither appear.

What version of the product are you using? On what operating system?

0.7 on Kubuntu

Original issue reported on code.google.com by saptarsh...@gmail.com on 3 Jan 2012 at 4:57

GoogleCodeExporter commented 9 years ago
I modified the core.py to not include really-quiet as a default option and not 
set msglevel in the same file.

I set these options in my own call to player. But using the Async option, not 
including -really-quite causes this:

error: uncaptured python exception, closing channel 
<mplayer.async._FileDispatcher connected at 0x1ccedd0> (<type 
'exceptions.IOError'>:[Errno 11] Resource temporarily unavailable 
[/usr/lib/python2.7/asyncore.py|read|83] 
[/usr/local/lib/python2.7/dist-packages/mplayer/misc.py|_process_output|92])
Exception ReferenceError: 'weakly-referenced object no longer exists' in <bound 
method AsyncPlayer.__del__ of <AsyncPlayer with pid = 9254>> ignored

Original comment by saptarsh...@gmail.com on 3 Jan 2012 at 5:12

GoogleCodeExporter commented 9 years ago
Hi, the sample code in async.py is just an example. You can do whatever you 
want with AsyncPlayer by using it in your own code.

Original comment by daru...@gmail.com on 7 Jan 2012 at 1:40