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: Possible to parse tags and split multi-value by custom delimiters? (Read 2336 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Possible to parse tags and split multi-value by custom delimiters?

I must admit I have not studied the SDK.  Still, I wonder if anyone can answer my questions:

1)  Is it possible to put custom code between foobar2000's reading of file tags and insertion of those tags into the "database"?  E.g., if I have an artist "Bob vs. Joe", could I write code which would recognize " vs. " and insert into foobar2000 the two artists "Bob" and "Joe", instead of a single artist "Bob vs. Joe"?

2)  If not (1), could I define my own %NEWARTIST% variable available in other components e.g. search, facets,  by writing a component to do that custom parsing?


I wonder mostly for the sake of m4a tags which don't have official multi-value support in iTunes.

 

Possible to parse tags and split multi-value by custom delimiters?

Reply #1
2)  If not (1), could I define my own %NEWARTIST% variable available in other components e.g. search, facets,  by writing a component to do that custom parsing?
This is possible by implementing a metadb_display_field_provider. Hooking tag parsing for arbitrary formats is not possible.