Skip to main content
Topic: foo_skip: skip tracks that match a specified search query (Read 211490 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_skip: skip tracks that match a specified search query

Reply #525
Given that (as I understand) there are inherent limitations preventing using SKIP tag from foo_external_tags, I have no further relevant requests. However, I'll use explicitly saved metadata in form of m-TAGS files instead of foo_youtube's metadata cache: SKIP tag in m-TAGS file is also recognized by foo_skip, but, additionally, m-TAGS files are explicitly named and placed, they are recognized by Media Library and Waveform Minibar (mod) doesn't recognize them as remote tracks therefore saving waveforms permanently (like I want).
Sounds like a good solution. I may get a new API for External Tags so it could do its thing without being a decoder. If that happens it shouldn't interfere with any advanced trickery done in other inputs.

Should two or more intervals work? Like 0:00:04-0:00:15;0:00:19-0:00:25. It doesn't work for me, and I have a track where I'd like to use it.
This has been requested but so far not implemented. I have liked the simplicity of just dealing with simple 'skip from' and 'skip to' timestamps.

I think I have a bug report (for foo_skip v1.10.3), [...] 0:00:05-0:00:10 stops playing after 5 seconds and jumps to next playlist entry.
It seems two timestamps isn't simple enough not to get bugged. I'll take a look and rethink adding support for more skip positions.

 

Re: foo_skip: skip tracks that match a specified search query

Reply #526
New beta version out with support for new API introduced in foobar2000 v1.5 beta 8.

The component appears as a DSP on the new foobar2000 version and should be at the top of the DSP chain. The new features allow it to perform partial skipping without altering track lengths and all skip operations work without breaking other DSP effects, like crossfade.

Another new feature is added support for unlimited number of skip ranges.

Released as a beta as compatibility with older foobar2000 versions is half finished. For optimal operation the new foobar2000 version is required.

Re: foo_skip: skip tracks that match a specified search query

Reply #527
The component appears as a DSP on the new foobar2000 version and should be at the top of the DSP chain. [...]

Another new feature is added support for unlimited number of skip ranges.
Just chiming in to confirm that it works. Thank you very much for your attention to feature requests and for productive useful work.

Edit: Using foobar2000 v1.5 beta 9, foo_skip v 1.15 beta 1, foo_youtube v3.1.1 and foo_ui_columns v1.2.0-beta.1, I noticed that with (for example) 0:00:05-0:00:10 value of SKIP tag for YouTube track (played with foo_youtube), %playback_time% value (shown in Columns UI status bar) is changing like 00:01, 00:02, 00:03, 00:09, 00:10 etc., but at the same time it looks like actual skipping is done as requested, without any errors. Is it a bug or an unintended feature?

Re: foo_skip: skip tracks that match a specified search query

Reply #528
I just tested foo_skip 1.15beta1 with foobar2000 1.5 beta 9.
So, I have a question; what does it mean when it says the following in the console:
Using decoder shim instead of DSP: Skip Track

I have enabled foo_skip in my DSP chain.

Thanks in advance.

Re: foo_skip: skip tracks that match a specified search query

Reply #529
Edit: Using foobar2000 v1.5 beta 9, foo_skip v 1.15 beta 1, foo_youtube v3.1.1 and foo_ui_columns v1.2.0-beta.1, I noticed that with (for example) 0:00:05-0:00:10 value of SKIP tag for YouTube track (played with foo_youtube), %playback_time% value (shown in Columns UI status bar) is changing like 00:01, 00:02, 00:03, 00:09, 00:10 etc., but at the same time it looks like actual skipping is done as requested, without any errors. Is it a bug or an unintended feature?
Looks like a bug. Affects local files too and not just streams. Will have to ask Peter if I do something wrong or if it's the core.

I just tested foo_skip 1.15beta1 with foobar2000 1.5 beta 9.
So, I have a question; what does it mean when it says the following in the console:
Using decoder shim instead of DSP: Skip Track
The new API allows manipulating decoders. Under the hood it takes over the real decoder like the previous 1.10 series but this time without hacks. It was decided to use DSP config for this instead of making a separate Shims page for simplicity. After all having control of decoder and its output allows being a supercharged DSP.

The component also has an actual DSP that can be used for example in Converter. It just can't do the job as efficiently. The decoder can skip a track by just returning false from decode function and it can do partial skipping by actually seeking past the skipped parts. The DSP has to fully decode the track and remove everything that gets skipped.

Re: foo_skip: skip tracks that match a specified search query

Reply #530
The time display with partial skipping is fixed in the new foobar beta.

Re: foo_skip: skip tracks that match a specified search query

Reply #531
Hi Case,

I only now got around to testing foo_skip 1.15 beta 1 with foobar 1.5 beta 10 (I'm not using betas on my main install). And as before using m-TAGs 1.2 and Playback Statistics 3.0.3.

With skip query: %last_played% DURING LAST 5 DAYS

It seems with 'Skip even manually selected tracks' off (the default), it always skips them regardless, whether double-clicked or added to queue. Same for both media files and m-TAG files. Hopefully you can get previous behavior working.

I also have another request, this also affected foo_skip 1.10.x When using a skip query like the above where the skip status changes mid track (after one minute when foo_playcount marks the track as played), if trying to do anything that makes foobar resume the track after that minute - changing the output device, changing ReplayGain mode, editing tags - it causes the rest of the track to skip. Meanwhile doing those things during the first minute is safe, there is a brief pause and the track resumes. Any chance you can prevent skipping in this case?

Thanks for your work as always :)

Cheers

Re: foo_skip: skip tracks that match a specified search query

Reply #532
I seemed to have accidentally removed the force-play override check when I did some code cleaning. That issue is fixed. And I prevented playback reinitialization from skipping a track that is already playing.

Download 1.15 beta 2. I'm still undecided about what to do with the foobar2000 v1.4 compatibility mode. Should there be a separate version for 1.4 without a DSP part confusing users? Or should I change it to use a DSP too so it works approximately like it does on 1.5? Or should it be left like it is?

Re: foo_skip: skip tracks that match a specified search query

Reply #533
That works now, cheers. 8)

Hard to say, I'm not sure how much effort or workarounds would be involved to make "one foo_skip to rule them all", or whether that is the intended option even. I think it would be okay to leave it like it is really - one requiring foobar 1.4, another for 1.5. Although, does the component repository distinguish the correct version for the installed foobar? - say if the user is on foobar 1.4 series, the "get updates" button would not suggest a 1.5 required component?

I doubt DSP or no DSP would be that confusing to anyone, but who knows. And if the DSP is added automatically even better, the user does not have to do anything. (Which, should it be added when 'Playback > Skip tracks' is checked?)

Re: foo_skip: skip tracks that match a specified search query

Reply #534
foo_skip v1.15 does not work with flac + cue on my foobar2000 v1.4.6 install, see the error messages below.
no problems with foo_skip v1.15 when using foobar2000 v1.5 b11

I'll revert to foo_skip v 1.10.3 for now, if I can find it again...

Code: [Select]
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 13
Skipping track...
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 13
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 12
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 12
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 9
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 9
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 14
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 14
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 2
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 2
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 11
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 11
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 1
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 1
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 4
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 4
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 15
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 15
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 3
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 3
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 8
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 8
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 5
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 5
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 7
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 7
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 10
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 10
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 6
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 6
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 13
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 13
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 12
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 12
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 9
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 9
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 14
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 14
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 2
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 2
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 11
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 11
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 1
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 1
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 4
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 4
Opening track for playback: "H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 15
Skipping track...
Skip Track delaying skipping after a repeat skip
Unable to open item for playback (Object is not seekable):
"H:\MP3\_CD-Backup\Blur - 1995 - The Great Escape [7243 8 35235 2 8]\Blur - The Great Escape.cue" / index: 15

Re: foo_skip: skip tracks that match a specified search query

Reply #535
Attached is the version 1.10.3. The changes in 1.15 shouldn't have made it work worse than 1.10.3 as I removed input flags that are buggy in 1.4 series.

Re: foo_skip: skip tracks that match a specified search query

Reply #536
Attached is the version 1.10.3. The changes in 1.15 shouldn't have made it work worse than 1.10.3 as I removed input flags that are buggy in 1.4 series.

Thank you for posting v1.10.3 for me. Most appreciated .)

Re: foo_skip: skip tracks that match a specified search query

Reply #537
Hello, dear Case!
I pray! Please add bookmarking support back. It was the best bookmarking feature to listen audiobooks and manage their bookmarks. It provided the following benefits:
 1. auto resume audio book playing at last stopped timestamp. Although it could be not just audiobook.
 2. you could see a list of all bookmarked files by typing  "%bookmark% PRESENT" in filter area.
 3. you could add appropriate column (with %bookmark% tag) to Playlist view to see bookmark listing.
 4. etc.
I'm sure, a certain amount of people who using your plugin FOR YEARS would be happy to get familiar feature back!
TYA

Re: foo_skip: skip tracks that match a specified search query

Reply #538
Hi Case, how can i skip a track which path contains a "word" in it. I don't want files contained in some folders and their subfolders to be read.

I tried "%path% HAS word" and it doesn't work.

I think foo_skip sees the path as a "plain" text and cannot read my word in it.

Thanks in advance.

Edit : I found a way : %path% HAS MyPath for Folders and SubFolders
                         
but

                                %path% IS MyPath doesn't work for just Folders without SubFolders

Re: foo_skip: skip tracks that match a specified search query

Reply #539
Please add bookmarking support back.
Alright, now with foobar2000 v1.5 changes implementing it won't break anything.

Hi Case, how can i skip a track which path contains a "word" in it. I don't want files contained in some folders and their subfolders to be read.

I tried "%path% HAS word" and it doesn't work.
Your method is exactly correct assuming you didn't actually use the double quotes around the string. But if the word has spaces in it you should have quotes around it. Note that by default manually selecting a track will override the skip string so if you double click a track in the playlist it will be played.

If you enabled the "Skip even manually selected tracks" or allowed playback to advance to the to-be-skipped track and it still wasn't skipped, make sure the component isn't disabled. There should be a checkmark next to 'Playback' -> 'Skip tracks' main menu entry.

If it still doesn't work please paste the path to the file and the skip word.

Re: foo_skip: skip tracks that match a specified search query

Reply #540
Please add bookmarking support back.
Alright, now with foobar2000 v1.5 changes implementing it won't break anything.

Hi Case, how can i skip a track which path contains a "word" in it. I don't want files contained in some folders and their subfolders to be read.

I tried "%path% HAS word" and it doesn't work.
Your method is exactly correct assuming you didn't actually use the double quotes around the string. But if the word has spaces in it you should have quotes around it. Note that by default manually selecting a track will override the skip string so if you double click a track in the playlist it will be played.

If you enabled the "Skip even manually selected tracks" or allowed playback to advance to the to-be-skipped track and it still wasn't skipped, make sure the component isn't disabled. There should be a checkmark next to 'Playback' -> 'Skip tracks' main menu entry.

If it still doesn't work please paste the path to the file and the skip word.
I edited my comment above, so i have it working for a Folder and SubFolders, but i cannot make it for just a folder with the Keyword "IS" like %path% IS MyPath or %path% IS "MyPath\%filename_ext%" (with or without quotes)

Re: foo_skip: skip tracks that match a specified search query

Reply #541
Use HAS %path%, not IS %path%.

Re: foo_skip: skip tracks that match a specified search query

Reply #542
As jazzthieve suggested. Or you can try %directoryname% IS MyPath. %directoryname% contains only the last directory of the path. %path% contains everything including drive letter.

Re: foo_skip: skip tracks that match a specified search query

Reply #543
@palash, new version is out with bookmarking support redone. Remember that it requires using the latest foobar2000 v1.5 beta.

 
SimplePortal 1.0.0 RC1 © 2008-2019