![]() |
System.getPlaylistLength() inccorect in PeListener.onPleditModified ()
When you trap changes in the playlist using
PeListener.onPleditModified () and a track is inserted in the middle of the list System.getPlaylistLength() returns the index of the inserted track rather than the number of tracks. I would like to use onPleditModified, but this error poses difficulties. There should be a separate functionality to find out where track(s) have been inserted or deleted. do the standard suggested initialization in pldir Try: PeListener.onPleditModified (){ int ccount = System.getPlaylistLength(); string notanymore_id; System.messageBox(integertoString(ccount),currentname, 0, notanymore_id); } |
| All times are GMT. The time now is 03:14. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.