I can't get foobar to work as a media server. I use WMP12 and Win7 x64, foobar 0.9.6.7, foo_upnp 0.99.8. I have applied "Windows Media Server" preset and didn't change the port number: 56923.
WMP12 actually recognizes foobar as a media server, but it doesn't see any files on it, reporting that "no files have been found on this remote library":
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSortCapabilities', args = { }
foo_upnp: FbMediaServer::OnAction: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Search', args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false, Filter=dc:title,microsoft:folderPath, StartingIndex=0, RequestedCount=200, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Search' response: args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false, Filter=dc:title,microsoft:folderPath, StartingIndex=0, RequestedCount=200, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSortCapabilities', args = { }
foo_upnp: FbMediaServer::OnAction: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Search', args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.item.audioItem" and @refID exists false, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Search' response: args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.item.audioItem" and @refID exists false, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
Foobar's media library is obviously not empty.