IPB

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
How to make favourite songs play more often?
Grand Dizzy
post Nov 20 2012, 16:46
Post #1





Group: Members
Posts: 118
Joined: 3-November 03
Member No.: 9637



Like many Foobar users, I have now implemented a ratings tag for my songs (0Ė5).

Itís nice to see at a glance which songs I like more, but suerly the real point of having a ratings system is to make favourite songs play more often in random playback? This is presumably why everyone has a ratings system?

But I canít seem to find any way to do this. Surely Columns UI should have an optional "random" script that runs prior to each song starting, allowing the song to be skipped? Then, based on the ratings tag, you can assign your own probability that it will be skipped?

Looking on the forums, the only way I could find to do this is to make a special playlist with multiple copies of favourite songs. There is absolutely no way I would ever consider doing this. Itís messy, crude, unorganised, time-consuming ad horrible!
Go to the top of the page
+Quote Post
ruebe
post Nov 20 2012, 18:54
Post #2





Group: Members
Posts: 187
Joined: 18-September 10
Member No.: 83940



maybe not exactly what you're looking for, but check out foo_random_pools
it's a little bit clunky but otherwise pretty great

you might also try foo_skip
Go to the top of the page
+Quote Post
LifeWOutMilk
post Nov 20 2012, 19:19
Post #3





Group: Members
Posts: 55
Joined: 13-October 12
Member No.: 103827



I use a slightly tweaked version of the Playlist of Record from this Lifehacker post. Because fb2ks autoplaylist feature doesn't allow for nested playlists you have make a single query to cover those.

Here's a fb2k version of Playlist of Record:
CODE
NOT (%last_played% DURING LAST 13 WEEKS)
OR (%rating% GREATER 3 AND NOT %last_played% DURING LAST 6 WEEKS)
OR (%rating% IS 5 AND NOT %last_played% DURING LAST WEEK)
OR (%last_played% DURING LAST HOUR)


As a single line (which can be copy & pasted):

CODE
NOT (%last_played% DURING LAST 13 WEEKS) OR (%rating% GREATER 3 AND NOT %last_played% DURING LAST 6 WEEKS) OR (%rating% IS 5 AND NOT %last_played% DURING LAST WEEK) OR (%last_played% DURING LAST HOUR)


Basically, ratings of 4 and 5 get the most exposure and everything else tends to show up less frequently.

Edit: I added OR %last_played% DURING LAST HOUR so that the song doesn't disappear from the playlist while it's playing. I tried using DURING LAST 10 MINUTES but that causes excessive CPU usage.

This post has been edited by LifeWOutMilk: Nov 20 2012, 19:23
Go to the top of the page
+Quote Post
Grand Dizzy
post Nov 26 2012, 13:16
Post #4





Group: Members
Posts: 118
Joined: 3-November 03
Member No.: 9637



QUOTE (ruebe @ Nov 20 2012, 18:54) *
foo_skip

This is exactly what I was looking for.

But how do you generate random numbers?

Without random numbers, itís impossible to control the probability of songs playing. You can only either make them always play or never play.
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: 20th August 2014 - 18:41