PasTim wrote: 
> I saw a new version so installed that.  Is it the same as the last
> dropbox one?  I have some problem starting my first track (24/192000)
> and gave up, going back to the dropbox version.  It turned out that that
> also had some problems.  On 16/44100 tracks it was mostly OK, but on
> higher rate tracks I sometimes got false starts, sometimes no start, and
> often no automatic next track.  I haven't done a methodical set of
> tests, not being sure which version to use.  A mix-bag log is attached,
> but let me know if you need something more methodical.

I have to say that this is totally disheartening. This issue only
happens with the M1Clic, right? Because what the log says is that this
is LMS cutting the connection only after a MB of data being sent to the
bridge. It's not the M1, its not the bridge, but it's LMS, hence I
really don't understand. And it's in a part that I have not modified.
Let me try to explain.

==> here LMS sends me the info where to GET the file (the .mp3 extension
is not an issue, LMS always do that)
[15:28:37.564458] process_strm:298 [0x64b700], strm s autostart: 1
transition period: 10 transition type: 0 codec: f
[15:28:37.642505] stream_sock:395 [0x64b700] connecting to
10.99.55.10:9000
[15:28:37.642807] stream_sock:424 [0x64b700] header: GET
/stream.mp3?player=00:11:f6:8a:ac:19 HTTP/1.0

==> here is the header received from LMS after I did the "GET"
[15:28:37.678890] stream_thread:190 [0x64b700] headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1515659378)
Connection: close
Content-Type: audio/x-flac

==> here I set the M1 to ask the bridge for the file and the M1 does the
query (with that Range header with is "acceptable")
[15:28:37.990592] AVTPlay:151 [0x6c9bc0]: uPNP play (cookie 0x3)
[15:28:38.021447] output_thread:78 [0x64b700]: got HTTP connection 15
[15:28:38.023869] handle_http:374 [0x64b700]: received GET
/bridge-1.flac HTTP/1.1
[15:28:38.024047] handle_http:377 [0x64b700]: HTTP headers
Host: 10.99.55.10:49155
Range: bytes=0-
Icy-MetaData: 1
Connection: close
transferMode.dlna.org: Streaming
User-Agent: WinampMPEG/2.8
Accept: */*

==> bridge response, all good
[15:28:38.024224] handle_http:455 [0x64b700]: responding:
HTTP/1.1 200 OK
Server: squeezebox-bridge
Connection: close
Content-Type: audio/x-flac
TransferMode.DLNA.ORG: Streaming
Transfer-Encoding: chunked

[15:28:38.069693] flac_decode:186 [0x64b700]: setting track_start
[15:28:38.380128] _SyncNotifState:474 [0x6c9bc0]: uPNP transition

==> here, LMS has closed the LMS => Bridge connecton (line 264 of
stream.c) after having sent only 1MB of data!!!
[15:28:39.041109] stream_thread:264 [0x64b700] end of stream
(t:1091168)

==> LMS sends an "unpause" command which it usuall does, likely when the
answer to the "stream" is a bit long (that I need to verify, but that's
not an issue anyway)
[15:28:39.042359] process_strm:226 [0x64b700] strm command u
[15:28:39.042493] process_strm:275 [0x64b700] unpause at: 0 now: 592809

==> The bridge has sent the whole 1MB of data to the M1Clic
[15:28:39.073214] decode_thread:96 decode complete
[15:28:39.153009] output_thread:164 [0x64b700]: self-exit 
[15:28:39.153097] output_thread:264 [0x64b700]: completed: 1091168 bytes
(gap 0)

==> M1CliC reports it's playing
[15:28:40.355527] _SyncNotifState:522 M1 CliC: uPNP playing

==> the Bridge reports to LMS the playing state together with the "all
data send" state, so that LMS can send the new track
[15:28:40.355627] sq_notify:558 [0x64b700] track started (at 594122)
[15:28:40.355739] sendSTAT:157 [0x64b700]: STAT:[STMs] msplayed 0
[15:28:40.355893] sendSTAT:157 [0x64b700]: STAT:[STMd] msplayed 0

So ... I'm banging my head against the wall here. The stream.c code is
the least modified file from squeezelite and there is not change in this
new version (cosmetic and Windows only). LMS seems to simpy send a MB
and then say "that's it, I'm done", cleanly, no error, as if the file
was really 1MB



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to