Kodi Community Forum
Random function for TV shows / episodes - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Archive (https://forum.kodi.tv/forumdisplay.php?fid=92)
+--- Forum: First-generation XBOX support (https://forum.kodi.tv/forumdisplay.php?fid=158)
+--- Thread: Random function for TV shows / episodes (/showthread.php?tid=36331)



Random function for TV shows / episodes - TechLife - 2008-08-25

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!!


- kraqh3d - 2008-08-25

you can use a smart playlist. use order by random.