Thread: Winamp 5.55 SDK
View Single Post
Old 12th January 2007, 16:41   #40
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
With IPC_FORMAT_TITLE_EXTENDED and waFormatTitleExtended::useExtendedInfo == 1, if you return 0 from your tag function, it will cause Winamp to go lookup the tag through IPC_GET_EXTENDED_FILE_INFOW_HOOKABLE (which is what ATF is using to resolve %tags% in the playlist titles, save for "filename" and "folder").
Returning -1 just means "empty tag" and is mainly used to avoid mallocing an empty string.


p.s. I'll post an example soon of how to use the tagz.w5s service directly
Benski is offline   Reply With Quote