Closed seanpianka closed 6 years ago
Could you try capturing some debug log output and post that here?
def my_log(loglevel, component, message):
print('[{}] {}: {}'.format(loglevel, component, message))
player = mpv.MPV(log_handler=my_log, loglevel='debug')
I'm closing this for now. Feel free to re-open.
With this code, it should create a playlist using a list of remote file paths, then play them after the call to wait. However, the player simply hangs on its call to wait as no song is ever played. Similarly, the following main loop also rapidly prints each song, while not actually playing any of the songs in the list:
However, if any of the full remote paths are copy and pasted into normal invocation of
mpv
, such as:mpv "sftp://sean@192.168.1.3/home/sean/folder/Jogeir Liljedahl/overture.mod" --volume=35
plays the song as expected (using the exact same string that was printed to stdout by the program above).