Is there any way to get a more in-depth documentation of this plugin?
I'm fighting this thing tooth and nail to do what I want, but keep failing.
We have a Sonos system that usually grabs its files from a media server we setup - it has a path, scans the files for its own library and uses these.
But I like to use foobar to control the playback - I'm quicker when designing playlists for example. Also, I don't want to put all my music on my family's network storage - my parents use Sonos far more than me and adding my music would only make it harder for them to find theirs.
The problem: Whenever I stream from my laptop to the Sonos system it stops after 30s-1m. And I don't know why. No matter whether I grab the stream itself or crawl through the media library. I crawl through the library:
foo_upnp: 2997.2997040: FbMediaServer::OnAction(295)/6684: INFO: received action 'Browse', args = { ObjectID=0/0/1/4/3/3I, BrowseFlag=BrowseMetadata, Filter=dc:title,upnp:artist,upnp:album,res@duration,res, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 2997.2997040: upnp_server_conf::get_profile(943)/6684: INFO: using default profile (User-Agent:Linux UPnP/1.0 Sonos/28.1-86173 (ZPS1))
foo_upnp: 2997.2997040: FbMediaServer::OnAction(323)/6684: INFO: action 'Browse' response: args = { ObjectID=0/0/1/4/3/3I, BrowseFlag=BrowseMetadata, Filter=dc:title,upnp:artist,upnp:album,res@duration,res, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
Then I choose a track:
foo_upnp: 3026.3026722: FbMediaServer::CheckAuthentication(401)/6088: INFO: received LAN request: http://<LAPTOP-IP>:56923/content/e81427793a98bfb10d2d0ee3465de2a1.wav?profile_id=0&convert=wav (User-Agent: Sonos)
foo_upnp: 3026.3026722: PLT_HttpHelper::ToLog(432)/6088: INFO: FbMediaServer::ProcessFileRequest
GET /content/e81427793a98bfb10d2d0ee3465de2a1.wav?profile_id=0&convert=wav HTTP/1.1
CONNECTION: close
ACCEPT: */*
Host: <LAPTOP-IP>:56923
USER-AGENT: Sonos
foo_upnp: opened 'file://<FILENAME>' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
And then it stops, waits for a short while and changes to the next track. Shortly thereafter this shows up in the console:
foo_upnp: 3066.3066766: FbMediaServer::CheckAuthentication(401)/3328: INFO: received LAN request: http://<LAPTOP-IP>:56923/DeviceDescription.xml (User-Agent: FDSSDP)
foo_upnp: 3071.3071140: PLT_HttpServerSocketTask::Write(465)/6088: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(SendResponseBody(response, *output_stream, abort))]
I think that's Sonos way of saying "You know what - nevermind, close this", but I'm not sure because I can't figure out what NPT or PLT stand for.
All other devices in our home have no problem accessing the stream and playing the music - no pause, no dying, no nothing, so I suppose it's a Sonos problem. Did anyone of you got this problem (and found a solution)?