summaryrefslogtreecommitdiff
path: root/mpv.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpv.py')
-rw-r--r--mpv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpv.py b/mpv.py
index 1efdeb1..a4ea245 100644
--- a/mpv.py
+++ b/mpv.py
@@ -1982,6 +1982,7 @@ class MPV(object):
q.put(EOF)
def play_bytes(self, data):
+ """ Play the given bytes object as a single file. """
frame = sys._getframe()
stream_name = f'__python_mpv_play_generator_{hash(frame)}'