Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Reply to this topicStart new topic
[Feature Request] Random function for foo_skip
post Jan 25 2013, 09:43
Post #1

Group: Members
Posts: 2
Joined: 17-August 09
Member No.: 72394

Hello to everyone,
i look everything, and rand() don't work from foo_skip query, and i don't found a compatible plugin that enable some random function, or a similar function that give me the posibility to make some real random query.
I try with crc32() and test everything varabile, and nothing it's real random because all depends from the single track that you will to play, and i need some external (like system date), or can make rand() function works in that query.

If someone find an answer, i can help to make some good querys for prefer some song's (by rating or similar), just i want to made... but today, it was imposible.

Go to the top of the page
+Quote Post
post Jan 26 2013, 22:48
Post #2

Group: Developer (Donating)
Posts: 2448
Joined: 19-October 01
From: Finland
Member No.: 322

I added support for $rand() function in the latest version. For example to skip about one out of three tracks you can use query "$mod($rand(),3) IS 0".
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 13th October 2015 - 19:03