Random Videos Plugin v0.0.0.0.0.2 for MediaPortal 0.1.3.0

Another (almost) Useless app By Geoff Hackett

***************************
UPDATES!!!!!!!!!!

v0.0.0.0.0.3
-Added ability to re-order templates


v0.0.0.0.0.2
-Added RegExp options for include and exclude.
-Added # of video option when a template is selected
-Changed Randomization - No longer uses MP's Playlist.Shuffle() function - Should be more random
-Added .dvr-ms, .asf, and .mp4 to file types
-Added link to the My Videos hover pic on Main Menu.
-Did it all because of two truly wonderful people that are now using my plug-in
GO ME!!!


v0.0.0.0.0.1
Original Plug-in

***************************

***************************
Comming Soon...

-Ability to view the generated playlist
-Ability to reorder the template list
-Possibly make it a button in My Videos?  Maybe.
***************************

INSTALL...
1) Copy the .dll to the plugins\windows\ folder
2) Copy the .xml to the skin folder of your choice (i.e. if you use the mce skin like 
me, copy to skin\mce\)

USE...
Goto the plugin setup to create your playlist templates.
When you add a new template, you name it and choose the folders for that template.
The folders are the ones that hold the video files you want associated with that template.
(You can add folders using the "Add Folder" button OR by dragging and dropping folders from windows explorer.)
In the template Edit screen you can also add regular expressions (RegExp's) both as include
and exclude options.
DON'T FORGET TO SAVE!

Once you have made your templates, open up MP and goto the Random Videos option.
You will see your templates listed.
Click on one of them, choose how many videos to play, and a playlist will be automatically generated 
containing all of the videos in the folders you selected.  The playlist will be shuffled and will 
begin automatically.

THATS IT!  Pretty Stupid huh?


FAQ...

Q: How can I view the playlist that is generated?
A: I have no idea, you tell me.  Actually I'm working on this, and hopefully it 
will be in the next update.  But if anyone has any tips on how to do this - please post.

Q: Why would I ever use this plugin?
A: I have no idea, you tell me!  I wrote this because I wanted to be able to hit a 
button and have a random simpsons or family guy or whatever start, without having 
to maintain and shuffle 10 different playlists whenever a new one came out.  My first 
response to this was the Playlist Maintainer which had the same setup interface but
had a second app that ran as a scheduled task that would actually rebuild .m3u files.
But with that, evertime I loaded a playlist, I had to stop it, shuffle it, and start
it again.  Now I don't.

Q: Why would you write such a useless plugin?
A: Hey screw you!!!  I've got 2 whole people using it and a 3rd might be on the way.

Q: Why do you call your plug-in a crapplication?
A: Short version: it (to a certain degree) sucks.  Long version: I never intended to release it
and because of that, its very poorly coded.  I didn't take a lot of time to streamline it
or learn all the details of writing for MP.  I just sort of threw it together at first.
It's still not streemlined (There's tons of freakin loops everywhere!) but now that I'm
updating it I might just put in the extra effort. :)

Q: Why is this FAQ not as funny as the last one?  Are you loosing your comedic touch?
A: I guess so.  I think i'm funnier when i'm sad or pissed off, and I was pissed when I wrote
the 1st one because no one ever posted to my playlist maintainer thread :(  But now I've got 
two people using Random Videos, and I'm excited.  Sorry guys.

Q: Wow, you've really turned into an ass kissing pussy.
A: Could you phrase that in the form of a question please?

Q: Wow, you've really turned into an ass kissing pussy, haven't you?
A: Hey Fuck You!!!

Q: Do you actually have 2 personalities or are you just making lame jokes?
A: Damn, busted!

CONCLUSION...

Well I am a happier man thanks to the two people that have taken the time out of their day to 
try out my plugin!  Shout outs to Inker and talos.  Even a smaller shoutout to ASiDiE who
hasn't used the plug-in but took the time to post in my thread.  

I LOVE YOU ALL (purely plutonically of course)

P.S.  I'll try to be funnier next time.  But please someone tell me if I sound like Michael Scott

P.P.S. I'm sorry if my foul language offened any you who may possibly be reading this, But it's 
the internet, and last I heard, we still have a few freedoms here.  SCREW YOU FCC!