2011-09-26, 12:35
Based on the RandomItems Script by Hitcher, ppic, Ronie, Nuka, et al.
This script takes a show name, and plays a random episode of it.
It includes the option to only play a previously watched episode as well.
Parameters (separated by & ):
For example:
will play a random already watched episode of Boardwalk Empire.
My skin uses this button under TV shows to allow you to play a random episode of the currently selected listitem.
Available here: (Mirrors welcome)
http://www.megaupload.com/?d=6T9S6BEF
This script takes a show name, and plays a random episode of it.
It includes the option to only play a previously watched episode as well.
Parameters (separated by & ):
Code:
show=title ; Required. Title of the show of which to play a random episode.
played=True ; True to only play episodes that have been played (default=False)
For example:
Code:
XBMC.RunScript(script.randomepisode,show=Boardwalk Empire&played=True)
will play a random already watched episode of Boardwalk Empire.
My skin uses this button under TV shows to allow you to play a random episode of the currently selected listitem.
Code:
<onclick>XBMC.RunScript(script.randomepisode,show=$INFO[ListItem.Label]&played=True)</onclick>
Available here: (Mirrors welcome)
http://www.megaupload.com/?d=6T9S6BEF