View Single Post
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#413
Originally Posted by mase View Post
It seems, that len(self.__random_files) - 1) always has only
2 digits. I have emailed you this. I have to setup my SDK
again to debug this.

Edit:
I have got my SDK running again. I added a
print len(self.__random_files) - 1
to the code.
It starts always with 60. If I play other contend, and readd
the playlist again, then the values are correct (more than 1000).
Something lets the list decrease to only 60 items.
I watched the random_files list after your mail, too, and I couldn't find anything weird about it. The random values were well distributed and indexes higher than 100 got chosen, too.

When you say it always starts with 60, do you mean it has 60 elements at the beginning? That would be really weird.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock