Possible to parse tags and split multi-value by custom delimiters?, Use my own "spec" instead of default to split tags into multip |
This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).
![]() ![]() |
Possible to parse tags and split multi-value by custom delimiters?, Use my own "spec" instead of default to split tags into multip |
Jan 31 2013, 00:26
Post
#1
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
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. |
|
|
|
Feb 16 2013, 12:59
Post
#2
|
|
![]() Group: FB2K Moderator (Donating) Posts: 4219 Joined: 24-February 03 Member No.: 5153 |
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.
This post has been edited by foosion: Feb 16 2013, 13:00 -------------------- http://foosion.foobar2000.org/ - my components for foobar2000
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 02:44 |