View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006765 | MMW v4 | Framework: Scripts/Extensions | public | 2010-11-30 17:17 | 2010-11-30 17:17 |
Reporter | zvezdan | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0006765: ISDBSongData::AlbumName applied on track in My Computer adds second copy of track to database | ||||
Description | This property should not add new track records to the Library, but it does. | ||||
Steps To Reproduce | 1. Copy supplied script to the Auto folder and restart program; 2. put some test audio file which is not already added to the Library to some empty folder which doesn't have any subfolder; 3. find that folder in My Computer branch; 4. right-click on that folder and choose Add/Rescan tracks to the Library; 5. after folder is added, select its track in tracklist; 6. choose Edit / Append album length to album name; 7. go to Location node and find that folder -> there are two same tracks with different album names. Now, remove that track from the Library and repeat 3-4, then: 5. go to Location node, find added folder and select its track in tracklist; 6. choose Edit / Append album length to album name -> new track is not added, i.e. only existing track is modified. | ||||
Additional Information | Option Explicit Sub OnStartup() Dim oMenuItem Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0) oMenuItem.Caption = "Append album length to album name" oMenuItem.UseScript = Script.ScriptPath oMenuItem.OnClickFunc = "AppendAL" End Sub Sub AppendAL(oItem) Dim oSongData If SDB.SelectedSongList.Count > 0 Then Set oSongData = SDB.SelectedSongList.Item(0) oSongData.AlbumName = oSongData.AlbumName & " (" & oSongData.Album.AlbumLengthString & ")" oSongData.UpdateDB oSongData.UpdateAlbum End If End Sub | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||