Page 1 of 1

Python Bindings fails with VLC > 2

Posted: 27 Apr 2012 15:59
by Svend
Hi,

I'm using http://wiki.videolan.org/Python_bindings. When I run it on vlc < 2 it works fine, but with vlc version 2 and greater I get the error message:
e930] main input error: open of `C:\Dev\Songs\Dirty_South_Rock.mp3' failed
[0058e930] main input error: Inndataene kan ikke åpnes
[0058e930] main input error: VLC kan ikke åpne MRL-en «C:\Dev\Songs\Dirty_South_
Rock.mp3». Les loggen for mer informasjon.

Sorry for the norwegian, but "Inndataene kan ikke åpnes" means "Can't reach indata", and
"Kan ikke åpne" means "can't open"

Anyone who knows what causes this?

reg
Svend

Re: Python Bindings fails with VLC > 2

Posted: 27 Apr 2012 16:45
by nkoriyama
I suspect your MRL format is wrong. Use "file:///C:\Dev\Songs\Dirty_South_Rock.mp3" or "file:///C:/Dev/Songs/Dirty_South_Rock.mp3".
But I can't say nothing because you don't show the source...

Re: Python Bindings fails with VLC > 2

Posted: 27 Apr 2012 16:57
by OlivierAubert
The handling of URLs vs local paths changed, and the python bindings were not updated to reflect this. I have just committed fixes for this issue, get a recent copy from the git tree http://git.videolan.org/?p=vlc/bindings ... py;hb=HEAD or from the http://advene.org/download/python-ctypes/ webpage.