Skip to main content

Topic: foo_skip: skip tracks that match a specified search query (Read 183547 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Sam Stoat
  • [*][*]
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
german support forum: www.foobar-users.de / user: qwert73

  • ojdo
  • [*][*][*][*][*]
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

  • Bacchus95
  • [*]
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.

  • TheTravis
  • [*][*]
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

  • ojdo
  • [*][*][*][*][*]
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()...

  • lakser
  • [*]
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 #82
foo_skip Download

((((( Strictly4me )))))

  • lakser
  • [*]
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.

  • Zoominee
  • [*][*][*]
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!)
  • Last Edit: 31 January, 2007, 07:06:23 AM by Zoominee

  • chair
  • [*]
foo_skip: skip tracks that match a specified search query
Reply #86
foo_skip Download

((((( Strictly4me )))))


This link seems to be dead as well, and the link on the components repository wiki site is dead too. 

Repository Link

Can someone else please set up a mirror?  I am running foobar2000 v0.9.4.1. 

Thanks.

  • Jugdish
  • [*]
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).

  • x10
  • [*]
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?
  • Last Edit: 03 April, 2007, 02:53:14 PM by x10

  • funkfuzz
  • [*]
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)

  • funkfuzz
  • [*]
foo_skip: skip tracks that match a specified search query
Reply #91
@funkfuzz

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



Worked like a charm.  Thanks BenAddiction. 

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

  • locutus
  • [*][*]
foo_skip: skip tracks that match a specified search query
Reply #93
Any working link for this plugin for foobar 0.9 available?

  • locutus
  • [*][*]
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?

  • ppnilpa
  • [*]
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%

  • Zoominee
  • [*][*][*]
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).

  • ppnilpa
  • [*]
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.
  • Last Edit: 04 February, 2008, 02:51:57 PM by ppnilpa

  • buktore
  • [*][*][*][*][*]
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.
  • Last Edit: 05 February, 2008, 10:11:08 AM by buktore

  • jacobbrett
  • [*]
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?
  • Last Edit: 19 March, 2008, 06:41:30 AM by jacobbrett