[vlc-commits] python: fix README.module example
Olivier Aubert
git at videolan.org
Thu Dec 3 08:54:17 UTC 2020
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Thu Nov 19 23:31:40 2020 +0100| [22be2147440761f870514e3d473bae23abd7f89e] | committer: Olivier Aubert
python: fix README.module example
Close #159
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=22be2147440761f870514e3d473bae23abd7f89e
---
README.module | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.module b/README.module
index e01f02c..e21a11f 100644
--- a/README.module
+++ b/README.module
@@ -49,9 +49,9 @@ You also can use wrapper methods closer to the original libvlc API:
>>> import vlc
>>> i=vlc.Instance('--no-audio', '--fullscreen')
- >>> i.audio_get_volume()
- 50
>>> p=i.media_player_new()
+ >>> p.audio_get_volume()
+ 50
>>> m=i.media_new('file:///tmp/foo.avi')
>>> m.get_mrl()
'file:///tmp/foo.avi'
More information about the vlc-commits
mailing list