Skip to main content

Topic: Possible to parse tags and split multi-value by custom delimiters? (Read 1300 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • neothe0ne
  • [*][*][*][*]
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.

  • foosion
  • [*][*][*][*][*]
  • Moderator
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.
  • Last Edit: 16 February, 2013, 07:00:11 AM by foosion
http://foosion.foobar2000.org/ - my components for foobar2000