Bug: opGetTrackState in B69 [Archive] - Quintessential Forum

PDA

View Full Version : Bug: opGetTrackState in B69


Tokelil
01-19-2004, 06:19 PM
In QueueIt I have this code to add all tracks marked in the playlist:

long lngNumOfTracks = QCDCallbacks->Service(opGetNumTracks, 0, 0, 0);
for (int i = 0; i < lngNumOfTracks; i++)
{
long lngTrackState = QCDCallbacks->Service(opGetTrackState, 0, i, 0);
if (lngTrackState != 0)
AddTrack(i);
lngTrackState = 0;
}


It works in 4.11 but not in B69. Nothing has changed in the PDK so is it a bug or something else?

BTW. Im not sure where you want bug reports regarding dev builds. Here in the dev build forum or the bugs forum?

Edit: BTW it works when more than one tracks is marked but not when only one track is marked.

Paul
01-19-2004, 07:36 PM
No issue with opGetTrackState found in QCD.

Tokelil
01-19-2004, 09:07 PM
Hmm weird. I just tried all the dev builds and it works with B66 and 67 but not with 68 and 69.

Tokelil
01-19-2004, 10:42 PM
I made a test plugin to test it a little more and you are right in that there is no issue with opGetTrackState. The problem only arises when I implements a new item into the right click menu of the playlist. Could it be that QCD doesn't select the track when right clicking a track anymore? (Even though the playlist shows it as selected)

Tokelil
01-31-2004, 12:08 PM
Works again in B70. Thanks!