We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c4abdc + 7fa45f0 commit 27fc815Copy full SHA for 27fc815
dartvlc/internal/setters.hpp
@@ -46,7 +46,9 @@ class PlayerSetters: public PlayerEvents {
46
this->state->isPlaylist = true;
47
}
48
this->_onOpenCallback(this->mediaList.itemAtIndex(0));
49
- this->mediaListPlayer.playItemAtIndex(0);
+ if (autoStart) {
50
+ this->mediaListPlayer.playItemAtIndex(0);
51
+ }
52
this->state->index = 0;
53
this->state->isPlaying = this->mediaListPlayer.isPlaying();
54
this->state->isValid = this->mediaListPlayer.isValid();
0 commit comments