I want to make this a very basic program using the VLC API. I want to play a simple wav-file in the background and it works perfectly, if the path-string 'filename' (such as' F: \\ projects \ Python \ 'six \' in the beginning of 's' L.wav '):
def setup player (file name): example = vlc.Instance () media = example. Media_new (file name) player = example. Media_player_new () player.set_media (media) player player returns.play ()
Comments
Post a Comment