View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006705 | MMW v4 | Framework: Scripts/Extensions | public | 2010-11-17 22:53 | 2011-02-13 21:11 |
Reporter | zvezdan | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Fixed in Version | 4.0 | ||||
Summary | 0006705: ISDBPlaylist::RemoveTrackUnconditionally method needed | ||||
Description | We need a method which could remove track from some playlist without asking for confirmation, e.g. "RemoveTrackUnconditionally" or just "DeleteTrack". | ||||
Additional Information | http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=26650 The existing method RemoveTrack displays confirmation dialog box which is not always what we need. Currently, to remove track without confirmation dialog I am clearing playlist and re-adding all tracks except of unwanted one, which is far from efficient: oPlaylist.Clear oSongList.Delete 0 If SDB.VersionHi > 2 Then oPlaylist.AddTracks oSongList Else For i = 0 To oSongList.Count - 1 oPlaylist.AddTrack oSongList.Item(i) Next End If There is also a solution with SQL, but I don't want to use SQL for such task. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1345 | ||||
|
I'd add RemoveTrackNoConfirmation() function for this purpose. |
|
Fixed in build 1345: http://www.mediamonkey.com/wiki/index.php/ISDBPlaylist::RemoveTrackNoConfirmation |
|
Verified 1348 |