Random: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 7: Line 7:
2. One random album:
2. One random album:


<tt>[Media Type]=[Audio] ~sort=[random] ~n=1 ~a</tt>
<tt>[Media Type]=[Audio] ~sort=[random] [Complete Album]=1 ~n=1 ~a</tt>


3. One hour of random tracks:
3. Three random albums


<tt>[Media Type]=[audio] ~sort=[Random] ~t=74m</tt>
<tt>[Media Type]=[Audio] ~sort=[random] ~limit=-1,1,[album] ~n=3 ~a</tt>


4. One CD's duration of random tracks:
4. One hour of random tracks:

<tt>[Media Type]=[audio] ~sort=[Random] ~t=60m</tt>

5. One CD's duration of random tracks:


<tt>[Media Type]=[audio] ~sort=[Random] ~t=74m</tt>
<tt>[Media Type]=[audio] ~sort=[Random] ~t=74m</tt>


6. Up to 1000 random songs. Of these 1000, there will 40% songs rated 5, 30% rated 4, 20% rated 3 stars. The remaing 10% will be of unrated material (you can also use number of songs instead of percentage). Finally it will remove songs with matching artist and title (name).

<tt>[media type]=[audio] ~mix=1000,25%,{[Rating]=>4},25%,{[Rating]=>3},25%,{[Rating]=>2},25%,{[Rating]=<1} ~nodup=[Artist],[Name]</tt>

Note:
*If there is only half of the tracks you wanted, that are rated with 5 stars, the total number of songs will decrease that amount. 200 songs less makes a total of 800 songs ''before'' the duplication elimination starts. <tt>~nodup=[Artist],[Name]</tt> can be placed right after <tt>[media type]=[audio]</tt> to get the exact number of songs wanted.




[[Category:Smartlist:Examples:Audio]]
[[Category:Search Examples]]

Latest revision as of 05:52, 8 April 2014

The following smartlists will display various random results:

1. One random track:

[Media Type]=[Audio] ~sort=[random] ~n=1

2. One random album:

[Media Type]=[Audio] ~sort=[random] [Complete Album]=1 ~n=1 ~a

3. Three random albums

[Media Type]=[Audio] ~sort=[random] ~limit=-1,1,[album] ~n=3 ~a

4. One hour of random tracks:

[Media Type]=[audio] ~sort=[Random] ~t=60m

5. One CD's duration of random tracks:

[Media Type]=[audio] ~sort=[Random] ~t=74m

6. Up to 1000 random songs. Of these 1000, there will 40% songs rated 5, 30% rated 4, 20% rated 3 stars. The remaing 10% will be of unrated material (you can also use number of songs instead of percentage). Finally it will remove songs with matching artist and title (name).

[media type]=[audio] ~mix=1000,25%,{[Rating]=>4},25%,{[Rating]=>3},25%,{[Rating]=>2},25%,{[Rating]=<1} ~nodup=[Artist],[Name]

Note:

  • If there is only half of the tracks you wanted, that are rated with 5 stars, the total number of songs will decrease that amount. 200 songs less makes a total of 800 songs before the duplication elimination starts. ~nodup=[Artist],[Name] can be placed right after [media type]=[audio] to get the exact number of songs wanted.