Can't insert to index zero of playlist with ISDBPlaylist::In

To get bugs in the current release fixed, please report them here.

Moderator: Gurus

Posts: 10
Joined: Thu Feb 09, 2012 3:04 pm

Can't insert to index zero of playlist with ISDBPlaylist::In

Post by dharmaturtle » Mon Jan 26, 2015 1:00 am

Code: Select all

myPlaylist.InsertTrack(0, sdbSongData);
This does not insert the track to the top of a playlist. I guess we have an off by one somewhere. Hardly critical, but hopefully easy to fix.

1 minute video of my program running here: ... nsertTrack

MediaMonkey Version:
MediaMonkey Com Library v1.0 File Version:

System info:
OS Name Microsoft Windows 8.1 Pro
Version 6.3.9600 Build 9600
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Manufacturer MSI
System Model MS-7885
System Type x64-based PC
System SKU To be filled by O.E.M.
Processor Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3300 Mhz, 6 Core(s), 12 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 1.10, 8/26/2014
SMBIOS Version 2.8
Embedded Controller Version 255.255
BIOS Mode Legacy
BaseBoard Manufacturer MSI
BaseBoard Model Not Available
BaseBoard Name Base Board
Platform Role Desktop
Secure Boot State Unsupported
PCR7 Configuration Not Available
Windows Directory C:\windows
System Directory C:\windows\system32
Boot Device \Device\HarddiskVolume5
Locale United States
Hardware Abstraction Layer Version = "6.3.9600.17196"
Time Zone Central Standard Time
Installed Physical Memory (RAM) 32.0 GB
Total Physical Memory 31.9 GB
Available Physical Memory 13.6 GB
Total Virtual Memory 36.6 GB
Available Virtual Memory 13.3 GB
Page File Space 4.75 GB
Page File F:\pagefile.sys