Skip to main content

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

0 Members and 1 Guest are viewing this topic.
  • Case
  • [*][*][*][*][*]
  • Developer (Donating)
Re: foo_skip: skip tracks that match a specified search query
Reply #475
Whenever I end a track early through <SKIP>, it doesn't affect the "stop after current" playback option; it just goes on to the next track.
Somehow I had missed this bug report. I just released a version that respects Stop after current setting when skipping the end. Now the Skip Track component calls Stop function from the core when Stop after current is enabled and end skip position is reached. It behaves a bit different from regular stopping as cursor doesn't advance to the next track. Hopefully it's not too big of an issue.

I cannot extract desired track sections using information in the skip tag field anymore.
It used to work fine using foobar converter, where I set up a preset that used DSP "Skip track (for Converter)"
I just tested the functionality and saw no issues. Is your SKIP tag syntax correct? The component isn't very forgiving for syntax errors.

  • sho
  • [*]
Re: foo_skip: skip tracks that match a specified search query
Reply #476
I cannot extract desired track sections using information in the skip tag field anymore.
It used to work fine using foobar converter, where I set up a preset that used DSP "Skip track (for Converter)"
I just tested the functionality and saw no issues. Is your SKIP tag syntax correct? The component isn't very forgiving for syntax errors.

Thanks for the response.

SKIP function itself works, which means that the syntax is correct. For example I have "-0:45;0:55-" set as SKIP tag value for a track and if i play it with skip turned on, it will play exactly 0:45-0:55, but if i try to convert the track using a preset with DSP "Skip track (for Converter)", it doesn't generate a file that normally should be a 10 seconds long extracted section from the original track I did the conversion on.

Strangely, converter says it has been done successfully, but the new file has not been generated. Here is what console reported:

Code: [Select]
CLI encoder: lame.exe
Destination file: D:\Music\test.mp3
Track converted successfully.
could not enumerate tracks (Object not found) on:
D:\Music\test.mp3

I tried converter with other presets (conversion to mp3, wav) and it works fine. A converted file is generated etc.

Seems like the problem occurs only if I use  a preset with DSP "Skip track (for Converter)". It worked fine last time i tried it 2,5 months ago... Hope we can solve his. This function used to be my life saver.

  • Case
  • [*][*][*][*][*]
  • Developer (Donating)
Re: foo_skip: skip tracks that match a specified search query
Reply #477
Check your skip string query syntax. It sounds like the track is marked to be entirely skipped and so you don't get any output.

  • sho
  • [*]
Re: foo_skip: skip tracks that match a specified search query
Reply #478
Check your skip string query syntax. It sounds like the track is marked to be entirely skipped and so you don't get any output.
It worked out!
I actually modified actual skip string query syntax a few days ago in order to skip tracks with date after 2005 and the track that I tried to convert is from 2017, so it wasn't converted, although skip function (playback) was turned off. Good to know that it works like that.

Many thanks for your help!

  • Wolfbane
  • [*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #479
Howdy...

Is there any way in foobar, to make all songs I have in playlist get "SKIP" metadata, and also all future songs I Add to my playlist to also get the tag "SKIP" without manually adding them one at the time ?

  • Coreda
  • [*][*][*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #480
Howdy...

Is there any way in foobar, to make all songs I have in playlist get "SKIP" metadata, and also all future songs I Add to my playlist to also get the tag "SKIP" without manually adding them one at the time ?

Not sure if it fulfills your needs but I was after something similar last year and marc2003 was gracious enough to make a WSH/JScript Panel script for it. They also made an updated version which supports CUE sheets.

What the script does is check for a playlist named 'Skip' and any tracks within it will be skipped from general playback, without the need to add any metadata to the files themselves.

To use it you'll first need JScript Panel and then enter the fb2k layout editing mode and add a JScript Panel panel, right-click it>Configure, then paste in the script and save. If you add a panel splitter first you can drag it until the panel is essentially hidden, which is what I do.
  • Last Edit: 13 September, 2017, 10:37:20 PM by Coreda

  • Wolfbane
  • [*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #481
No, sorry this is not what Im looking for. I do not want to skip any tracks on my playlist

I use "Skip" in combo with "you-tube" plugin, and a lot of songs have "intros / outros" so I use skip to jump past the "none music" part of songs.
Now I just want a way to add the tag "SKIP" to all thousands of songs I have in some way without forcing me to add it manually to all thousand songs.
ofc maybe 20% of the songs already have the tag, so do not want to remove there SKIP tag.

But just any way to make the program simply have that extra field always there without forced to "create new metadata"

  • EpicForever
  • [*][*][*][*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #482
@Wolfbane : Preferences -> Advanced -> Display -> Properties Dialog -> Standard fields -> append there at the end something like:
Code: [Select]
;Skip indicator=SKIP
Semicolon is just parsing symbol, to separate it from last field name that is there. "Skip indicator" is name of your personal choice. SKIP is an unchangeable name of the tag. I think this is exactly what you need. In this way you can add or remove any field to/from Properties window, fitting it exactly to your needs. Personally my beloved foobar option :)
What it gives you in this particular case (or anyone else who may read it in future)? You can very easily add SKIP information to any track that is already present in your library or will be added in future. You can even selectively choose several tracks on any active playlist (or all of them at once), invoke their "Properties" window and easily add some information there, into SKIP field. I am also doing it in other way. I got my own "Keywords" tag, where I add various non essential but potentially useful informations (artists ANVs - like EBTG for Everything But The Girl, mood, informations about game that track comes from, some specific title / artist name distortion that I usually struggle with, some other kinds of associations that I keep in mind for certain track). I also sometime add there just a word "skip". And I configured my foo_skip plugin to skip tracks which contain word "skip" in KEYWORDS field ($meta(KEYWORDS) HAS skip).

  • EpicForever
  • [*][*][*][*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #483
@Case : I have feature request. Can we have upgraded skipping resolution to sub-second fractions? Like 0,01 sec. or to CD frames (1/75 sec.)? Or is it technically impossible?

  • Case
  • [*][*][*][*][*]
  • Developer (Donating)
Re: foo_skip: skip tracks that match a specified search query
Reply #484
That actually already works. I just didn't write it in the documentation. Everything after a dot in the timestamp is for fractions of a second. For example skip string -0.0000226;1.999977- used with exactly two seconds long 44100 Hz file will cut the first and the last samples away. I noticed some overflow happening with too much accuracy though. I initially tried more accurate number for the last sample (1.9999773242630385487528344671202) and it made the cutting happen at a wrong position. So don't go crazy on the decimals.

  • EpicForever
  • [*][*][*][*][*]
Re: foo_skip: skip tracks that match a specified search query
Reply #485
Heh, the US/EU problem with dot and a colon. I tried a colon, so I thought it doesn't work. But I should use dot instead :)