[vlc-commits] Use URL instead of plain file paths in README examples
    Olivier Aubert 
    git at videolan.org
       
    Mon Jun 20 10:41:08 CEST 2011
    
    
  
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Jun 20 10:40:57 2011 +0200| [c9d3b0f6ba4733326276d9b0e06ee9a89fa12aaa] | committer: Olivier Aubert
Use URL instead of plain file paths in README examples
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=c9d3b0f6ba4733326276d9b0e06ee9a89fa12aaa
---
 README |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README b/README
index db9bf6e..94ae0b6 100644
--- a/README
+++ b/README
@@ -50,16 +50,16 @@ c:\Program Files\VideoLAN\VLC ).
 >>> i.audio_get_volume()
 50
 >>> p=i.media_player_new()
->>> m=i.media_new('/tmp/foo.avi')
+>>> m=i.media_new('file:///tmp/foo.avi')
 >>> m.get_mrl()
-'/tmp/foo.avi'
+'file:///tmp/foo.avi'
 >>> p.set_media(m)
 >>> p.play()
 
 or shorter:
 
 >>> import vlc
->>> p=vlc.MediaPlayer('/tmp/foo.avi')
+>>> p=vlc.MediaPlayer('file:///tmp/foo.avi')
 >>> p.play()
 
 In this latter case, a default vlc.Instance will be instanciated and
    
    
More information about the vlc-commits
mailing list