Thanks for this nice plugin. It works great with my Nokia N900 (so I guess it's not too badly configured).
However I try to use a SAGEM My Dual Radio 700 as a client and Foobar as the server (1.0.3 / UPnP 0.99.28) and I'm less successful. The MP3 are streamed fine but it won't accept to play my Ogg/vorbis files nor the Playback Stream Capture (either MP3s or Oggs).
When I select an Ogg file (browsing works), the client display an odd length for the file (e.g. 16 min instead of 4 min), then stall for 20-30 s, then bail to the player main menu.
If I look at the log, the file is here :
foo_upnp: 13247.547: FbMediaServer::ProcessHttpRequest(285)/776: INFO: received LAN request: [url=http://192.168.0.1/DeviceDescription.xml]http://192.168.0.1/DeviceDescription.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.265: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/X_MS_MediaReceiverRegistrar/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/X_MS_MediaReceiverRegis...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.265: FbMediaServer::OnAction(222)/580: INFO: received action 'IsAuthorized', args = { DeviceID=
}
foo_upnp: 13249.265: FbMediaServer::OnAction(239)/580: INFO: action 'IsAuthorized' response: args = { DeviceID=
, }
foo_upnp: 13249.281: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.297: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13249.297: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13249.297: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
foo_upnp: 13251.265: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13251.265: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13251.265: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13251.265: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=8, UpdateID=0 }
foo_upnp: 13253.843: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13253.843: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13253.843: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13253.843: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=461, UpdateID=0 }
foo_upnp: 13256.015: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13256.015: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1/3, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13256.015: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13256.015: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }
foo_upnp: 13257.109: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13257.109: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13257.109: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13257.109: upnp_server_conf::get_profile(707)/580: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13257.109: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=15, UpdateID=0 }
foo_upnp: 13258.468: FbMediaServer::ProcessHttpRequest(285)/1840: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13258.468: FbMediaServer::OnAction(222)/1840: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 13258.468: PLT_MediaServer::OnBrowse(380)/1840: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 0, count = 1
foo_upnp: 13258.468: upnp_server_conf::get_profile(707)/1840: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13258.468: FbMediaServer::OnAction(239)/1840: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13258.484: FbMediaServer::ProcessHttpRequest(285)/3232: INFO: received LAN request: [url=http://192.168.0.1/content/0b5bb59579ecedb9b41bbcb725ad1463.mp3?profile_id=0&convert=mp3]http://192.168.0.1/content/0b5bb59579ecedb...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13258.484: PLT_HttpHelper::ToLog(410)/3232: INFO:
GET /content/0b5bb59579ecedb9b41bbcb725ad1463.mp3?profile_id=0&convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13258.484: upnp_server_conf::get_profile(707)/3232: INFO: using default profile (User-Agent:unknown)
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Gibraltar.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Gibraltar.ogg'
foo_upnp: 13288.297: FbMediaServer::ProcessHttpRequest(285)/1968: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13288.297: FbMediaServer::OnAction(222)/1968: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=1, RequestedCount=1, SortCriteria= }
foo_upnp: 13288.297: PLT_MediaServer::OnBrowse(380)/1968: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 1, count = 1
foo_upnp: 13288.297: upnp_server_conf::get_profile(707)/1968: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13288.297: FbMediaServer::OnAction(239)/1968: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=1, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13288.312: FbMediaServer::ProcessHttpRequest(285)/3816: INFO: received LAN request: [url=http://192.168.0.1/content/a226c306f14b1a4dc1b5eb8f810da6db.mp3?profile_id=0&convert=mp3]http://192.168.0.1/content/a226c306f14b1a4...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13288.312: PLT_HttpHelper::ToLog(410)/3816: INFO:
GET /content/a226c306f14b1a4dc1b5eb8f810da6db.mp3?profile_id=0&convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13288.312: upnp_server_conf::get_profile(707)/3816: INFO: using default profile (User-Agent:unknown)
and then it seems it proceeds to try to read the other files in the directory (but nothing appears on the client) :
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - 12 septembre 2001.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - 12 septembre 2001.ogg'
foo_upnp: 13292.547: FbMediaServer::ProcessHttpRequest(285)/284: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13292.547: FbMediaServer::OnAction(222)/284: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=2, RequestedCount=1, SortCriteria= }
foo_upnp: 13292.547: PLT_MediaServer::OnBrowse(380)/284: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 2, count = 1
foo_upnp: 13292.547: upnp_server_conf::get_profile(707)/284: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13292.547: FbMediaServer::OnAction(239)/284: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=2, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13292.578: FbMediaServer::ProcessHttpRequest(285)/3296: INFO: received LAN request: [url=http://192.168.0.1/content/245aba43cf69be1d86c35ef7d38f6c46.mp3?profile_id=0&convert=mp3]http://192.168.0.1/content/245aba43cf69be1...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13292.578: PLT_HttpHelper::ToLog(410)/3296: INFO:
GET /content/245aba43cf69be1d86c35ef7d38f6c46.mp3?profile_id=0&convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13292.578: upnp_server_conf::get_profile(707)/3296: INFO: using default profile (User-Agent:unknown)
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Soldat de plomb.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Soldat de plomb.ogg'
foo_upnp: 13297.687: FbMediaServer::ProcessHttpRequest(285)/4028: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13297.687: FbMediaServer::OnAction(222)/4028: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=3, RequestedCount=1, SortCriteria= }
foo_upnp: 13297.687: PLT_MediaServer::OnBrowse(380)/4028: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 3, count = 1
foo_upnp: 13297.687: upnp_server_conf::get_profile(707)/4028: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13297.687: FbMediaServer::OnAction(239)/4028: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=3, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13297.687: FbMediaServer::ProcessHttpRequest(285)/1544: INFO: received LAN request: [url=http://192.168.0.1/content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&convert=mp3]http://192.168.0.1/content/8b1dd092ae9e591...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13297.687: PLT_HttpHelper::ToLog(410)/1544: INFO:
GET /content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13297.687: upnp_server_conf::get_profile(707)/1544: INFO: using default profile (User-Agent:unknown)
(...)
The SAGEM radio user's guide says it can read from Windows Media 11, Media Connect Microsoft, and MusicMatch JukeBox but I guess Foobar could work too.
I tried to change the default profile (The SAGEM seems to have no user-agent) to transcode Ogg to MP3 without success (I just activate transcoding for ogg in "streaming profile" and put lame.exe in the foobar directory, is it right ?)
Can you advise me ?
Thanks in advance.