I need help to create a program which will play animations (.wmv, .avi or anything else) to create a movies which will be different at each watch.
At the root of the program there will be folders. In these folders, there will be files. The program will play these files by following codes.
For example:
-start
-at begining play randomly one file from folder A
-after that, play randomly three files (but do not repeat the same file) from folder B
-after that play randomly one file from folder C or play one file from folder D
-after that if last file come from folder C, play randomly one file from folder E; if last file come from folder D play randomly one file from folder F
-after that, play randomly 2,3,4 or 5 files ((but do not repeat the same file)) from folder G
-the end
So I need a program to do that, and example of code lines ( in my example, I think I show all the needed actions ).
I hope someone could help me. I know nothing about coding, but with examples (and some help) I am sure I can do it.