Page 1 of 1

python-mplayer

Posted: Thu Dec 13, 2012 11:30 am
by treizav
Hello, i have a problem with the python-mplayer library (http://code.google.com/p/python-mplayer/).

Code: Select all

pi@raspberrypi ~ $ python3
Python 3.2.3 (default, Jul  6 2012, 13:39:51)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mplayer
>>> mp = mplayer.Player()
>>> mplayer: could not connect to socket
mplayer: No such file or directory

An idea ? (note : mplayer works fine on my Raspberry pi)

Re: python-mplayer

Posted: Thu Dec 13, 2012 1:40 pm
by elatllat

Code: Select all

which mplayer
echo $PATH
then look in mplayer.py or whatever to see where it is going wrong.

Re: python-mplayer

Posted: Thu Dec 13, 2012 5:46 pm
by treizav
The PATH is good... I think it's a Python problem...
My code works in idle, and not in a console !
Image

Re: python-mplayer

Posted: Sat Dec 15, 2012 6:07 pm
by elatllat
try something like printenv for python.