[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: python-mplayer



* Olivier Schwander <olivier.schwander@chadok.info>, 2011-12-30, 17:28:
I'd recommend using the upstream name (mplayer.py) for the source package name.

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
mplayer	2:1.0~rc4.dfsg1+svn33713-5
python2.7	2.7.2-9

--
Jakub Wilk


Reply to: