View Issue Details

IDProjectCategoryView StatusLast Update
0004578MMW v4Framework: Scripts/Extensionspublic2010-07-22 22:30
Reporterpeke Assigned To 
PriorityurgentSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version4.0 
Summary0004578: PlaylistInsertTrack, PlalistInsertTracks and in SDBSongList Insert Method
DescriptionSub PlaylistInsertTrack(Index As Long, Song As SDBSongData)
Sub PlaylistInsertTracks(Index As Long, Songs As SDBSongList)

SDBSongList Insert Method:
Sub Insert(Index As Long, Song As SDBSongData)
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?p=143040#143040
TagsNo tags attached.
Fixed in build1301

Activities

peke

2008-04-15 16:38

developer   ~0013748

Assigning to rusty for review.

peke

2008-04-15 16:38

developer   ~0013749

Reminder sent to: jiri, petr

Ludek

2010-01-06 22:16

developer   ~0019908

I think that we should rather modify existing "Add( Track)" methods to "Add( Track, Position)" methods to accomplish the "Insert( Index, Track)" methods.

See

http://www.mediamonkey.com/wiki/index.php/ISDBPlaylist::AddTrack
http://www.mediamonkey.com/wiki/index.php/ISDBPlaylist::AddTracks
http://www.mediamonkey.com/wiki/index.php/ISDBSongList::Add

Ludek

2010-01-06 22:25

developer   ~0019909

Last edited: 2010-01-06 22:25

But for the backward compatibility adding the "Insert( Index, Track)" methods makes sense.

I realized you probably though also
http://www.mediamonkey.com/wiki/index.php/ISDBPlayer::PlaylistAddTracks
http://www.mediamonkey.com/wiki/index.php/ISDBPlayer::PlaylistAddTrack

i.e. Finally 5 new "Insert" methods to be added.

Ludek

2010-01-07 16:16

developer   ~0019912

Implemented and tested on sample scripts in build 1301.

Ludek

2010-01-08 12:31

developer   ~0019913

Documented the new methods in scripting WiKi:

http://www.mediamonkey.com/wiki/index.php/ISDBPlaylist::InsertTrack
http://www.mediamonkey.com/wiki/index.php/ISDBPlaylist::InsertTracks
http://www.mediamonkey.com/wiki/index.php/ISDBSongList::Insert
http://www.mediamonkey.com/wiki/index.php/ISDBPlayer::PlaylistInsertTracks
http://www.mediamonkey.com/wiki/index.php/ISDBPlayer::PlaylistInsertTrack

peke

2010-07-22 22:30

developer   ~0020372

Verified 1308