View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019286 | MMW 5 | Playlists | public | 2022-07-25 21:11 | 2024-02-18 18:45 |
Reporter | zvezdan | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Target Version | 5.1 | Fixed in Version | 5.1 | ||
Summary | 0019286: playlist.addTracksAsync doesn't update displayed playlist always | ||||
Description | addTracksAsync doesn't update displayed playlist always, but it updates Playlist Editor if it is displayed. Approx. one in 10-20 times it doesn't work. Although, both (app, 'playlistchange') and (app.playlists.root, 'playlistChanged') are fired. For example, I am using: goQueueListPlaylist.clearTracksAsync().then(() => { goQueueListPlaylist.addTracksAsync(oQueueLst).then(() => { but, even options from your programs are problematic. | ||||
Steps To Reproduce | 1. put one track into Playing list; 2. select an empty playlist in the tree; 3. choose Save playlist from the Playing menu; 4. specify the displayed playlist and confirm -> sometimes playlist is not updated, i.e. it stays empty and you need to use Refresh. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2814 | ||||
|
I am unable to replicate, for me the selected playlist content is always updated. The update is done via listening on the playlist 'change' event (in viewHandlers.tracklistBase.onShow) The event is always fired with the 'tracklist' changeType and thus refreshed in __refreshTracklist there. Could you please catch it in a small video so that I am sure that we are performing same steps on the same view/node etc. ? e.g. add a link to the video to private note here. Thx. |
|
Here it is, I got it from the second attempt. |
|
The test was performed without any add-on installed and with almost empty database. |
|
Thanks for the video, now I can replicate this issue too. It seems that key to replicate is testing just with single track and you need to remove it from the playlist at first. |
|
It happens with multiple tracks as well. I am not sure, but it seems that it happens only when the target playlist is empty. |
|
Fixed in 2814 |
|
Verified 2834 |