In my attempts to understand where the crash happens, I have modified the onOpened handler in /usr/share/mediaplayer-app/qml/player.qml to stop the playback and unset the source before enqueuing the new URIs, but this doesn’t make any difference, the crash still happens:
Connections {
target: UriHandler
onOpened: { playerLoader.item.stop() playerLoader.item.source = ""
for (var i = 0; i < uris.length; ++i) { playerLoader.item.playUri(uris[i])
}
}
}
In my attempts to understand where the crash happens, I have modified the onOpened handler in /usr/share/ mediaplayer- app/qml/ player. qml to stop the playback and unset the source before enqueuing the new URIs, but this doesn’t make any difference, the crash still happens:
Connections {
playerLoad er.item. stop()
playerLoad er.item. source = ""
playerLoader. item.playUri( uris[i] )
target: UriHandler
onOpened: {
for (var i = 0; i < uris.length; ++i) {
}
}
}