2019-06-24, 00:04
Your smart playlist is a sneaky way to get a random movie to watch, have to hand it to you. I tried it and it worked like a charm (although randomness in computers can be debated). I generally use the (T!) skin random function to pull up 10 choices, but having this script eliminates choices so why not.
In Nodes it looks like some of the script commands are not appreciated. Using the following script appears to pull a single movie, but it doesn't initiate play, you need to click on it, but that's how the smart playlist worked for me.
In Nodes it looks like some of the script commands are not appreciated. Using the following script appears to pull a single movie, but it doesn't initiate play, you need to click on it, but that's how the smart playlist worked for me.
Code:
<?xml version='1.0' encoding='UTF-8'?>
<node type="filter">
<label>Surprise Me</label>
<content>movies</content>
<rule field="playcount" operator="is">
<value>0</value>
</rule>
<rule field="playlist" operator="is">
<value>Surprise Me</value>
</rule>
<limit>1</limit>
<order direction="ascending">random</order>
<match>all</match>
</node>