Re: RFS: python-mplayer
* Olivier Schwander <firstname.lastname@example.org>, 2011-12-30, 17:28:
I'd recommend using the upstream name (mplayer.py) for the source
The upstream author seems to change the name of the project nearly at
each release but, ok, I'll try to stick to it.
Actually it seems I can't commit a rename of the project directory in
the repository ? I get "Authorization failed".
That's weird. I did the rename for you (r19840).
The module doesn't handle filenames with special characters correctly:
| >>> mplayer.Player('eggs"ham.avi')
| Traceback (most recent call last):
| File "<stdin>", line 1, in <module>
| File "/usr/lib/python2.7/dist-packages/mplayer/core.py", line 102, in __init__
| self.args = args
| File "/usr/lib/python2.7/dist-packages/mplayer/core.py", line 142, in args
| args = shlex.split(args)
| File "/usr/lib/python2.7/shlex.py", line 279, in split
| return list(lex)
| File "/usr/lib/python2.7/shlex.py", line 269, in next
| token = self.get_token()
| File "/usr/lib/python2.7/shlex.py", line 96, in get_token
| raw = self.read_token()
| File "/usr/lib/python2.7/shlex.py", line 172, in read_token
| raise ValueError, "No closing quotation"
| ValueError: No closing quotation
It works well for me. What are your python and mplayer version ?
$ dpkg-query -W python2.7 mplayer