Closed
Description
I was trying one of your examples but the player never seemed to launch. I tried adding some debugging code as you advised in another issue but i cant seem to figure out why its not launching the player. This is the code im using and the files are just regular h264 files. Im on osx 10.11 and using python 3.6.1 and mpv 0.25.0. The library seems to find the dylib file just fine /usr/local/lib/libmpv.dylib
#!/usr/bin/env python3
import mpv
player = mpv.MPV(log_handler=print)
player.set_loglevel('debug')
player.playlist_append('/Users/christian/Movies/watch/file01.mp4')
player.playlist_append('/Users/christian/Movies/watch/file02.mp4')
player.playlist_pos = 0
while True:
print(player.playlist)
player.wait_for_playback()
Metadata
Metadata
Assignees
Labels
No labels