I thought I would share what I have come up with on my system and I think its pretty cool.
I have added my 20th century fox custom intro and random dts and dolby digtial trailers to my movies via asx file. Hopefully some of you will find this of interest to you.
*****I do not know how the asx play list will work with ts folders or other formats It should work with all single file movies.****
I am assuming you have made a custom 20th century fox style intro already. if not i will explain later how to change the asx file.
Step 1: create a folder in c: drive on your computer running Media Center called "INTROS" eg: c:/INTROS
Step 2: download the following zip file to somewhere you can remember.
http://portfolio.itas.ca/~jamie.scales/mediabrowser/playlistrandom.zip
intro.asx -- this is a windows play list file
mkintros.exe -- this is a small php script that changes intro file names randomly.
(I compiled it with bam compiler in case you were wondering about the .exe extension. Here is the code in it. You do need anything special to run this script)
<?php
$random = rand(0,4);
echo $random;
rename('c:/INTROS/introgood.mkv', 'c:/INTROS/intro5.mkv');
rename('c:/INTROS/intro'.$random.'.mkv', 'c:/INTROS/introgood.mkv');
rename('c:/INTROS/intro5.mkv', 'c:/INTROS/intro'.$random.'.mkv');
exit();
?>
step 3: download 5 of your favorite trailers / intros from http://www.demo-world.eu/trailers/
step 4: convert each of your 5 intros to an mkv file using your program of choice or using handbrake http://handbrake.fr/ (the code I use is set up this way as i use mkv's)
step 5: name the 5 converted files as ...
introgood.mkv
intro0.mkv
intro1.mkv
intro2.mkv
intro3.mkv
intro4.mkv
Now put these into c:/INTROS
step 6: put mkintros.exe into your windows Startup folder or run it on a schedule to change more often
step 7: if you have a custom 20th century style intro, convert it to an mkv and rename it "myintro.mkv" and place it in c:/INTROS
IF YOU DO NOT HAVE A CUSTOM INTRO open the intro.asx file in notepad and remove the THIRD LINE from the top.
step 8: In order for the play list to work you must add "02" to the end of each movie file but before the extension. And then put the intro.asx file into every movie folder and rename it the same name as the movie but with a "01" at the end.
eg: x:/mymoviefolder/rambo first blood
rambo01.asx
rambo02.mkv
(perhaps someone could make a batch that can do step 8 as it may take a while if you have a large collection)
If you want to change your intros just add new ones in the INTROS folder and change their name.
Now everytime you play a movie in media browser it will show your custom intro then your THX or Dolby Digital OMG I broke my windows sound test followed by your feature presentation.
I hope you find this of some use.
