Kodi Community Forum
Play Random Episode/Movie - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Alaska (https://forum.kodi.tv/forumdisplay.php?fid=126)
+----- Thread: Play Random Episode/Movie (/showthread.php?tid=104332)



Play Random Episode/Movie - condeh - 2011-06-26

Hi,

I'm pretty sure I'm making an simple mistake, but I cannot for the life of me make "Play Random Episode/Movie" work correctly. I am using Alaska Revisited Mod, and when ever selecting the option, it simply plays the last added Episode or Movie.

I have V 2.0 of script.randomitems in my addons folder.

The relevant part of the xbmc.log shows this :

Code:
21:10:41 T:3792 M:1787645952   DEBUG: CApplication::ExecuteXBMCAction : Translating $INFO[Window.Property(LatestEpisode.1.Path),PlayMedia(,)]
21:10:41 T:3792 M:1787645952   DEBUG: CApplication::ExecuteXBMCAction : To PlayMedia(G:\media\tv\Sports Night\Sports Night - S1E23 - What Kind of Day Has it Been.avi)
21:10:41 T:3792 M:1787514880   DEBUG: CPlayerCoreFactory::GetPlayers(G:\media\tv\Sports Night\Sports Night - S1E23 - What Kind of Day Has it Been.avi)

This does seem to indicate that 'LatestEpisode' is being chosen, but how do I make it chose a random episode?

Many Thanks!


- Hitcher - 2011-07-03

What build of XBMC are you using?


- condeh - 2011-07-03

Hi

I'm running a pre-11.0 nightly which was compiled 24th Jun 2011.