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 434786 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

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

Reply #800
I can't provide Mac version. I have no programming skills in Apple land, my Mac is over 10 years old and I don't want to spend any more money on Macintoshes. But if Peter was willing to write the required UI code and compile a copy, I wouldn't have a problem with that.
OK, I got it. Thanks for your reply.

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

Reply #801
It's 2024-12-23 00:30 atm and a track I played less than 24 hours ago isn't being skipped, Any suggestions?:



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

Reply #802
Can't replicate. How are you playing those tracks? I see you don't have the "Skip even manually selected tracks" option enabled, so if you double click such a track it will allow playback.

I see the config dialog has truncated texts. Is that Wine or something? There should be plenty of extra space to account for DPI differences and such for the texts, do other parts of the player suffer from text truncation?

Edit: remember that you can always verify that foobar2000 core (and thus Skip Track) sees the information the way you see. With the problem files in the playlist open Playlist Search (Ctrl+F by default) and enter the query %last_played% DURING LAST 96 HOURS there. It should show the tracks that you expect to be skipped. And the tracks you see should be skipped by Skip Track when no randomness is involved in decision.

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

Reply #803
"add skip track bookmark" from the playback menu is not working.
(not using streaming, just in case you ask)

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

Reply #804
Nothing about this component works for me. Regardless what I set the bookmarks settings to, regardless what I set skipping manual tracks to, tracks never get skipped. Nor do they show up when searching for tracks played in the last 8 hours. Playing local files, running Windows 11, using the latest versions of fb2k and the component. Manually bookmarked tracks do not get bookmarked either. What am I missing?

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

Reply #805
Nevermind, I figured out through googling that the %last_played% statistic is dependent on *another* component entirely, Playback Statistics. Would've been cool if that were mentioned literally anywhere in the Skip Track documentation, download page, or homepage, so that I wouldn't have wasted an hour trying to figure this out.

Nothing about this component works for me. Regardless what I set the bookmarks settings to, regardless what I set skipping manual tracks to, tracks never get skipped. Nor do they show up when searching for tracks played in the last 8 hours. Playing local files, running Windows 11, using the latest versions of fb2k and the component. Manually bookmarked tracks do not get bookmarked either. What am I missing?

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

Reply #806
I don't fully agree with your complain. Nowhere on the docs is stated those tags come from this component, in fact the docs clearly states what the component does (and just gives hints about possible query usages which are obviously totally dependent on the user settings). If you think about it, the dev could add such hint... but it's not their responsibility.

If you are using a tag like %last_played% or anything else, is your work to make sure you really have that. Note all tags are shown on the properties window of every track (contextual menu), so you can check there whatever you have (actual file tags or by components).

Finally, I would say I don't get why a component like playback stats is not already installed by default without needing to look for it. We are at 2025, it's not like we need to save a few Kbs... and it would simplify people's life. It should be already part of the core... and having independent plugins for essential features is just adding unnecessary complexity. i.e. see musicbee, which also has plugins but for sure they don't try to cover what should be already on the core.

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

Reply #807
"add skip track bookmark" from the playback menu is not working.
(not using streaming, just in case you ask)
The latest version actually happily allows bookmarking even a radio streams, though of course such bookmarks are useless.
I see I don't do a lot of error reporting. There are two possible scenarios I can think of: you try to bookmark a track that isn't playing (bookmark with zero timecode is intentionally rejected), or the metadb index for bookmarks is corrupted and the bookmark handling client never gets created because of an error.

Would've been cool if that were mentioned literally anywhere in the Skip Track documentation, download page, or homepage, so that I wouldn't have wasted an hour trying to figure this out.
I completely forgot there is a sample string using playback times on the official repository. I added a note that the variable used in the example needs foo_playcount.

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

Reply #808
I use this plugin on a daily basis and I love it. Here's a big thank you to all who contributed!

If I could suggest something it would be to have a toggle on/off option, or even better, a toolbar with a dropdown menu containing registered skip queries that we could switch on the fly, or even disable. And also an option to clear past entries, it can get confusing really fast.

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

Reply #809
You are welcome and happy to hear you like it!

There is an on/off toggle, menu option "Skip tracks & use bookmarks" in the Playback menu. You can also create a button out of it.

You can remove old entries by right clicking the down arrow at the end of the dropdown menu. It has options "Wipe history" to clear everything, and "Remove this history item" to remove the entry that is currently selected. You can keep the history clean.

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

Reply #810
Hi, sorry if this has been mentioned before but even with skipping manual tracks disabled it's skipping songs I manually play from Windows (file explorer), is there some way around that or is it a bug?

EDIT: Also, maybe it's common knowledge and I was just stupid but I couldn't get this plugin to work initially and it turned out it was because I had the Equalizer plugin first in the load list instead of foo_skip. Would be nice to have that in the documentation, it took me way too long to realise that was the issue...

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

Reply #811
Sending a file to play from Explorer doesn't look like manual playback for the playback callbacks. Skip Track not detecting that isn't really a bug, I'm not certain I can even detect that happening correctly but I believe I can create some workaround.

The DSP order didn't matter in the past, but now with the decoder shim API (which was specifically created to support this functionality) the order matters. I hadn't realized this design decision, but the shim feature is only supported for the first DSP in the DSP chain.

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

Reply #812
New version released that should fix both issues.

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

Reply #813
Thanks, I can confirm both work for me now. It is a little weird that foo_skip forces itself to be first in DSP queue but obviously a lot better than it not working at all.

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

Reply #814
I've noticed another bug with foo_skip though I'd imagine it's partially also a Foobar bug (I recently updated to the preview), it ONLY occurs with foo_skip enabled.
If I seek back when the song is less than ~1sec from ending the song will still skip to the next song instead of seeking but the seek bar will still go to where you intended to seek to visually and becomes permanently broken until restarting a song from scratch. For example if I seek back 5secs it will go to the end then start from 0 for the next song so it will end up being 4-5secs delayed.
Obviously the chances people will seek so close to the end is extremely low and personally I was just doing it to see if the songs I edited were fading properly.

If you need video evidence or think I should report it as a Foobar bug instead let me know.
I also have smooth seeking/pause/volume enabled and set to 30/30, 60/60, 60/90 ms.