python-vlc
python-vlc copied to clipboard
Python vlcMediaListPlayer unexpectedly stays in State.Ended
When using a vlc.MediaListPLayer, I can play songs from a vlc.MediaList for about a minute, but eventually the player enters (and permanently stays in) the state vlc.State.Edned
this.api = Mobileclient() #Logs into my Google PLay Music account to download songs
this.api.oauth_login(Mobileclient.FROM_MAC_ADDRESS)
this.i=vlc.Instance()
this.l = this.i.media_list_new()
this.load_radio() #This function fills the media list with 75 songs - first 50 are all the same track (about 3 seconds) for testing purposes
p=this.i.media_list_player_new()
p.set_media_list(this.l)
p.play()
I'd expect this to play the whole list of songs, but it stops about a minute in.