Random... is it really?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Pyro.699
Blank Cone
Blank Cone
Posts: 11
Joined: 06 Apr 2007 07:31

Random... is it really?

Postby Pyro.699 » 13 Jul 2009 13:16

Hey,

So i have a playlist of about 1500 different cartoons... so the ods of me seeing the same one in the span of 24 hours is...

20 minutes / episode
3600 minutes / day
30000 minutes (500 hours) of total playlist time

how many episodes can play in a day?
3600 (minutes/day) / 20 (minutes/episode) = 180 episodes/day

odds that 1 specific episode will be played
20 (minutes/episode) / 30000 (playlist time) * 100% = 0.066%

odds that, that episode will be played once within 24 hours
0.00066/180 * 100% = 0.00036%

I attempted to do the math required to figure out 2 episodes in the same day, but got confused >< but as you can see the chance that your specific episode gets played once within that time frame is very low, and would be even lower (by a few magnitudes). Is there a way to make it... well :P more random xD?

Thanks
~Cody Woolaver

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Random... is it really?

Postby Jean-Baptiste Kempf » 13 Jul 2009 13:20

Well, I am afraid that you need to help us code.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

blueyedsoul
New Cone
New Cone
Posts: 2
Joined: 15 Jul 2009 02:19

Re: Random... is it really?

Postby blueyedsoul » 15 Jul 2009 02:28

I'm afraid your third formula is in error. For any given episode to play in one day (assuming 24 hour uptime and exactly 20 minutes per episode) would be:

0.00066 (chance of that episode playing) * 72 (number of episodes played in a day) = 4.752%

Hope that helps.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: eddsor and 91 guests