Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_skip: skip tracks that match a specified search query (Read 330062 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_skip: skip tracks that match a specified search query

Reply #75
would it be possible for foo_skip to recognize %_system_xxxx% time fields? like %_system_year%, etc..
I'll second this one.  You could stop christmas songs playing all year round and limit them to December. 

foo_skip: skip tracks that match a specified search query

Reply #76
@sam stoat
This plugin will make %systemdate% and%systemdatetime% available for foobar

foo_skip: skip tracks that match a specified search query

Reply #77
In this post I'm requesting a new feature: Weighted random playback. If foo_skip also could deal with values between 0 (never skip) and 1 (skip always) which represent a "skip probability" this plugin could provide the requested functionality. As there any chance that the author of this plugin could code that?

Waiting and hoping,
ojdo

foo_skip: skip tracks that match a specified search query

Reply #78
In this post I'm requesting a new feature: Weighted random playback. If foo_skip also could deal with values between 0 (never skip) and 1 (skip always) which represent a "skip probability" this plugin could provide the requested functionality. As there any chance that the author of this plugin could code that?

Waiting and hoping,
ojdo


You can use $rand() to do this.

foo_skip: skip tracks that match a specified search query

Reply #79
You can use $rand() to do this.


Hmm... Something like $ifgreater($rand(100),80,1,0) will skip a track with 20 percent propability? I must try it

foo_skip: skip tracks that match a specified search query

Reply #80

In this post I'm requesting a new feature: Weighted random playback. If foo_skip also could deal with values between 0 (never skip) and 1 (skip always) which represent a "skip probability" this plugin could provide the requested functionality. As there any chance that the author of this plugin could code that?


You can use $rand() to do this.

Thank you so much! How could I forget about good old $rand()...

foo_skip: skip tracks that match a specified search query

Reply #81
download link is dead
anyone can help?


foo_skip: skip tracks that match a specified search query

Reply #83
thanks

Kdx also sent link for old version,

Mucho gracias to both

foo_skip: skip tracks that match a specified search query

Reply #84
How would one go about adapting the "$ifgreater($rand(100),80,1,0)" to make it only skip a percentage of skip tag'd songs.

foo_skip: skip tracks that match a specified search query

Reply #85
How would one go about adapting the "$ifgreater($rand(100),80,1,0)" to make it only skip a percentage of skip tag'd songs.

That code would skip 80/100 (i.e. 80%) of the time. If you want to customise the skip percentage, you can change the numbers. For example, if you have a tag called "skip" that contains an integer between 0 and 100, which denotes the probability that you want to skip, you can put %skip% instead of 80, i.e.
$ifgreater($rand(100),%skip%,1,0).

-------------------------------------------------------------

Dear kdx, maker of this very useful plugin! I'm wondering, would it be possible to recognise tracks from the "enqueue" queue and never skip them?

(I've tried three times posting this, it looks fine on the preview but always ends up in my previous post... Hopefully this time it won't!)


foo_skip: skip tracks that match a specified search query

Reply #87
If playback mode is set to repeat the playlist and the playlist contains only skipped items, foo_skip should STOP playback. What it does currently is get stuck in an infinite loop, constantly printing to the console "skipping: file://X.mp3".

Here's an example scenario to illustrate this bug:
1. Set playback mode to "Repeat (playlist)"
2. Start playing a playlist which contains a single song.
2. During playback, mark the song to be skipped.
3. When the song finishes playing, foo_skip will get stuck in an infinite loop (check the console).

foo_skip: skip tracks that match a specified search query

Reply #88
just discoverd this
so when i make it
$ifgreater(%rating%,3,0,1)
to play rating 3+

and
$if2(%rating%,0)
to play unrated files?

foo_skip: skip tracks that match a specified search query

Reply #89
just discoverd this
so when i make it
$ifgreater(%rating%,3,0,1)
to play rating 3+

and
$if2(%rating%,0)
to play unrated files?


That didn't work for me.

I'd like to be able to:

Play songs that have no rating
AND
Play songs that have a rating of 3, 4 or 5.

In other words, I want to SKIP songs with ratings of 1 or 2.  "$ifgreater" in this case, won't work.

Anyone know how to do this?  I'm using the Custom Info SQLite DB for my ratings (if that helps).

Thanks!

foo_skip: skip tracks that match a specified search query

Reply #90
@funkfuzz

$if(%rating%,$ifgreater(3,%rating%,1,0),0)

 

foo_skip: skip tracks that match a specified search query

Reply #92
Let's see if someone can help me.
Problem: when I have 2 files from the same album (one .cue and another .mp3), they both go to the library of foobar. So basically you have two times the same album. I want to have only the cue file. I installed foo_skip hoping that this dll would solve my problem (I put a SKIP tag in the big files). But, when you play a file from the .cue file, they inherit the properties of the .mp3 file. So, all the songs in the .cue file stay with "SKIP = 1" value.
How do you do with your library in this case? Do you use another component?
With lossless files I dont have this problem, because I put the .cue file inside the tag "cuesheet" of the big files. But with mp3 files, you cannot do this.

Thanks for any help

foo_skip: skip tracks that match a specified search query

Reply #93
Any working link for this plugin for foobar 0.9 available?

foo_skip: skip tracks that match a specified search query

Reply #94
Any working link for this plugin for foobar 0.9 available?

Found the link, installed and have seen the new topic in the menu. But how do i mark a file for skipping?

foo_skip: skip tracks that match a specified search query

Reply #95
Script
Code: [Select]
$if($or(%talking%,$and(%rating%,$greater($add(1,$mod($cwb_rand(),10)),$sub($mul(%rating%,2),1)))),1,0)


posted here is really nice. But what if i want to use hotness instead of rating?

I cant use multiline scripts with foo_skip as i understand.
buktore adopted hotness script to single line, but i didnt manage to make it work with foo_skip alike %rating% did.

Does anybody here use hotness with foo_skip? Any ideas? Maybe i can calculate hotness for every track in playlist with... hmmm... columns_ui or something. And then skip tracks using %hotness%

foo_skip: skip tracks that match a specified search query

Reply #96
Maybe i can calculate hotness for every track in playlist with... hmmm... columns_ui or something. And then skip tracks using %hotness%

Does it work with $get_global(hotness) as suggested at the top of the hotness thread? Otherwise, you could I suppose put the whole hotness code on one line into the skip control (get rid of anything that is comments, i.e. anything to the right ot // including that symbol).

foo_skip: skip tracks that match a specified search query

Reply #97

Maybe i can calculate hotness for every track in playlist with... hmmm... columns_ui or something. And then skip tracks using %hotness%

Does it work with $get_global(hotness) as suggested at the top of the hotness thread?

No. For me - No. It is displayed correctly in column, but is useless with foo_skip. So I asked here whether this trick works for anybody.

Otherwise, you could I suppose put the whole hotness code on one line into the skip control

I've mentioned single line hotness script. It does not work for me either.

foo_skip: skip tracks that match a specified search query

Reply #98
Quote
I've mentioned single line hotness script. It does not work for me either.

What he meant is to use hotness code inside skip control + a bit change.

Here, should work.
Quote
$ifgreater($mod($cwb_rand(),100),PASTE ENTIRE SINGLE LINE HOTNESS SCRIPT HERE,1,0)

This will use hotness as it shown as a play probability.

And here the another version for rating that work.
Quote
$if($or(%skip%,$greater($mod($cwb_rand(),100),$if(%rating%,$mul(%rating%,20),50))),1,0)

1 star = 20% to pick the track.
If there is SKIP tag present, it will always skip that track.
The bold number is the probability rate in % for track that don't have rating. Change to 0 will make it skip all track that don't have rating.

foo_skip: skip tracks that match a specified search query

Reply #99
A database method implementation would convince me to use this, as with this plugin (allows entry of custom comments without modifying the file's tags as they are stored in a local db): http://wiki.hydrogenaudio.org/index.php?ti...o_custominfo%29

The user is given the choice of storing data via:
  •     Foobar2k config file: saves all info fields in foobar's configuration file. Reasonable loading time, fast reading of info, fast writing of info. This is also insecure, you will lose all changes since the last config file saving if foobar crashes or something.
  •     Text file (foobar2kdir\custominfo.txt): Utf-8 encoded text file (which shouldn't be modified though). Slow loading, fast reading of info, fast writing of info. This is also insecure, changes are not written to disk until you exit foobar.
  •     SQLite database (foobar2kdir\custominfo_sqlite.db): Slow loading, fast reading of info, slow writing of info. Changes are immediately written to disk which is why I personally recommend this option.

In fact, couldn't these two plugins be used in conjunction? Use 'Custom Info' to store a rating of 1-5, output it as %rating%, then use that with foo skip?