Closed kingctan closed 9 years ago
do you have multiple items in playlist?
yes, I need maintain a list of MTV and auto play it one by one or re-play one of it sometimes.
do you need replay after video finish, or at any time?
yes, any time when playing, will click a button to re-play from beginning of one MTV.
and if you call .stop() and directly after that .play() it doesn't work? - it's very strange, it should work.
I think I know the reason... you could try replace
player().stop( true );
with
player().stop();
at
https://github.com/RSATom/QmlVlc/blob/master/QmlVlcPlayerProxy.cpp#L172 and https://github.com/RSATom/QmlVlc/blob/master/QmlVlcPlaylist.cpp#L52
It was a workaround of a bug in libvlc. And it's not good workaround, with many side effects. And I don't like it...
async stop removed
It seems no re-play function for calling. so I try to stop and then play the video using playlist.but it stopped.