Kodi Community Forum

Full Version: Random function for TV shows / episodes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I hooked the wife up with XBMC in our bedroom and she loves it. The one thing that she is asking for is a way to watch a random TV show so she doesn't have to pick if she doesn't want to. I have tried playing with the XBMC.PlayerControl(random) function but not had any success. Maybe I'm not understanding the actual mechanics of the function...

Anyway what she wants to do is have 2 random functions:
-One that will choose a random episode from a random season of a random show and play it.
-Another that will allow her to select the series then play a random episode from a random season of that show.

It would be nice to just press a "random" button with "TV" highlighted to perform the first function and drill down one step, highlight a show title and press the same "random" button to perform the latter. I'd prefer not to have to do it with playlists but if it's the only way, I will.

Even a point it the right direction here would be much appreciated! Thanks!!
you can use a smart playlist. use order by random.