Random: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
4. One hour of random tracks:
4. One hour of random tracks:


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


5. One CD's duration of random tracks:
5. One CD's duration of random tracks:

Revision as of 11:33, 15 January 2009

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.