- edited description
0.0.5 feature request - Exclude skip by configurable pattern
Would it be possible to add a TEXT FIELD that would be matched against %path% to skip treating certain files. Even better would if the TEXT FIELD would accept standard title format syntax, like "NOT %path% HAS string", but I'd be glad to see any way to exclude tracks.
I'd like to NOT add silence for certain 0 second files that I'm using in playlists for SEPARATING things from each other to "compose sets of files".
An example:
--- separator, genre blues ---
track 1
track 2
--- separator, genre latin ---
track 3
track 4
Currently the problem is that EVERY item in playlist gets added post-track silence. In the above case transition from track 2 to 3 causes double silence because the "separator" also gets and added silence .... which would be nice to ignore by instructing the module to skip it by a confiurable PATTERN.
See live example in attachment
Comments (12)
-
reporter -
reporter - changed title to 0.0.5 feature request - Exclude skip by configurable pattern
- edited description
-
reporter - edited description
-
repo owner I understand the need for such a feature and it might be worth looking into.
However, I don't see much hope for evaluating titleformatting from a DSP context, some of that requires main thread access.
Are those entries actual physical files or some existing protocol like
silence:
? There might be a possibility to register a custom protocol that the DSP is aware of and which doesn't emit any audio.I'll be away from any environment where I can work on this component for a week or so, but I'll keep it in mind.
-
reporter Physical files. They are simply audio files (length of 0 sec), whose TAGS have been set to be used in the playlist context; like Artist set to "-------" etc. If the module could offer a TEXT field to to match using substring() against the full path name that would suffice.
An improvement would be to accept, list of strings to match in format:
TEXT;TEXT;TEXT
Program would parse list by the ";" separator and try to match each one against the %path%.
-
repo owner Version 0.0.6 is uploaded now, DSP configuration has a field for semicolon-separated strings to match verbatim case-sensitive against the path part of the location. Note that there's no whitespace trimming, so beware whitespace around your semicolons.
Please give it a try.
-
repo owner - changed status to resolved
Should be resolved with commit b276d5e.
-
reporter Thanks. Tried but something is still needed.
The component does not bring up the configuration menu as in version 0.0.5. I tested with both 1.3.9 (my current player due to components being more compatible with it) and 1.3.15.
Foobar > Playback > DSP manager: (1) Add to DSP chain in "Affix silence" (2) Press button [Configure selected] => Nothing happens.
-
repo owner - changed status to open
I can reproduce that, once I tried it in a foobar2000 installation I hadn't used while developing.
I'll try to poke at it during the week.
-
repo owner - changed status to resolved
Pushed 0.0.7 to components site, this time with preset code that actually works in 3ae2cfd.
-
reporter Thanks, works like charm in Foobar 1.3.9!
A minor suggestion: instead of text "Ignore files ...", make it read "Ignore paths matching ..." as I assume the whole path is available for matching.
-
repo owner Fixed that for the future, nice to hear it works well.
- Log in to comment