Old 3rd January 2021, 23:00   #1
Junior Member
Join Date: Jan 2021
Posts: 1
plugin for extracting file metadata -> 3rd party apps

Heyo; a quick plug for something I wrote today in case anyone else finds it useful. Something like it may already exist but I couldn't find a good solution so decided to crack out the SDK and fix it quick


This is a general plugin that feeds the currently playing track's metadata - title, album, artist, etc - as a JSON fragment into a piece of global windows memory that can then be read by other apps. Hooks and reacts to IPC_CB_MISC_STATUS, so only updates when the app state changes.

I structured it like this so that it was easy to hack on doing things with the metadata without having to recompile the plugin or always work in C++. An example C# 'receiver' app is provided as a demo.

So - in my specific case - I could get track info formatted into some files constantly for use with OBS, when streaming some music + MilkDrop viz. The demo app takes in some config like the below and emits metadata into specified files.


"Configs" :
"Formatting" : " V%discNum% | %trackNum% - %title% ",
"FileTarget" : "D:\\now_playing_1.txt"
"Formatting" : " %artist% ",
"FileTarget" : "D:\\now_playing_2.txt"

example metadata from Winamp -> receiver.exe -> OBS labels -> YouTube Live

.. as I say, it was written quickly and I may be making Winamp faux pas in the code, but so far it's working out great.
ishani is offline   Reply With Quote
Old 26th January 2021, 20:34   #2
Junior Member
Join Date: Jan 2002
Posts: 36
Very cool.
meltor is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump