Feature implemented in foobar2000 v0.9.6.4 (exact release date not yet determined).
You can support it in your components by implementing this service:
CODE
//! Service for registering protocol types that can be associated with foobar2000.
class input_protocol_type : public service_base {
FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(input_protocol_type)
public:
//! Returns the name of the protocol, such as "ftp" or "http".
virtual void get_protocol_name(pfc::string_base & out) = 0;
//! Returns a human-readable description of the protocol.
virtual void get_description(pfc::string_base & out) = 0;
};
FOOGUIDDECL const GUID input_protocol_type::class_guid = { 0x6a03c4ee, 0xf87b, 0x49d7, { 0x81, 0xdb, 0x66, 0xb, 0xe8, 0xc1, 0x0, 0x7e } };