on xenial help sign in
add a comment why unsetting the uri
commit2feedbe8ae5531f66e42d16c4b533544f55f9ad1 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 12 Nov 2013, 18:52 (13 years ago) parent040c362
1 file changed+1
Dash/Music/MusicPreview.qml+1
Dash/Music/MusicPreview.qml+1
@@ -114,6 +114,7 @@ GenericPreview {
114114
115115 function play() {
116116 audioPlayer.stop();
117+ // Make sure we change the uri, even if two items point to the same uri location
117118 audioPlayer.uri = "";
118119 audioPlayer.uri = model.uri;
119120 isPlayingItem = true;