philippe44/LMS-Raop

HomePod stream stopped after sometime (2/3/4 minutes)

Closed this issue · 1 comments

Hi Philippe,

First big thanks for your outstanding work. I have been using your plugins successfully for quite some time !

Just bought an Apple HomePod but I have now new issues.

The problem: the music streams stoppped after sometime 2 to 4 minutes depending on the source (web radio / deezer / local files...).

I have not changed any default config.

I have upgrade LMS and your plug-in to what I think is the latest.Here are my version

Logitech Media Server Version: 7.9.1 - 1522157629 @ Fri Mar 30 12:25:29 CEST 2018
Hostname: TITIMHS
Server IP Address: 192.168.1.31
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.14.2 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.93
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 5

My HomePod Player "BarPod":
Player Model: SqueezeLite
Player Type: squeezelite
Player IP Address: 192.168.1.31
Player MAC Address: aa:aa:98:55:b4:b5

Here is attached my config file I changed .xml by .txt I could not upload an .xml in here...

raopbridge-config.txt

Let me know if you need further information to troubleshoot. I hope you will be able to understand what is the problem. BTW, my HomePod is iOS 11.4 with the "new" airplay 2...

Here are the log file I enable max debug (i think) raopbridge.log:
[21:43:29.006497] process_strm:233 [0xab7588] strm command s
[21:43:29.006580] process_strm:308 [0xab7588], strm s autostart: 1 transition period: 10 transition type: 0 codec: f
[21:43:29.006655] process_strm:341 [0xab7588]: codec:f, ch:255, s:255, r:255
[21:43:29.006992] PlayerThread:493 [0xb10408]: raop connecting ...
[21:43:30.023930] raopcl_connect:972 [0x7f7ea40109c0]: local interface 192.168.1.31
[21:43:30.084804] raopcl_analyse_setup:921 [0x7f7ea40109c0]: missing timing port, will get it later
[21:43:30.129933] raopcl_accept_frames:417 [0x7f7ea40109c0]: begining to stream hts:0 n:3738599010.558053690
[21:43:30.130080] raopcl_accept_frames:425 [0x7f7ea40109c0]: restarting w/o pause n:3738599010.558053690, hts:164872216346729
[21:43:30.140186] _output_frames:53 [0xab7588]: start buffer frames: 415872
[21:43:30.140268] _output_frames:100 [0xab7588]: track start sample rate: 44100 replay_gain: 0
[21:43:30.150443] output_raop_thread:99 [0xab7588]: track actual start time:1977463859 (gap:1977463859)
[21:43:30.185776] PlayerThread:500 [0xb10408]: raop connected
[21:43:30.185843] PlayerThread:531 [0xb10408]: processing volume: 30 (-21.12)
[21:43:38.761545] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977471241 p:1977472480 ts:164872216727241 sn:10239
retr: 0, avail: 0, send: 0, select: 0)
[21:43:48.761129] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977481241 p:1977482481 ts:164872217168297 sn:11492
retr: 1, avail: 0, send: 0, select: 0)
[21:43:58.762600] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977491242 p:1977492482 ts:164872217609353 sn:12745
retr: 2, avail: 0, send: 0, select: 0)
[21:44:08.771315] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977501251 p:1977502484 ts:164872218050409 sn:13998
retr: 2, avail: 0, send: 0, select: 0)
[21:44:18.771760] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977511251 p:1977512485 ts:164872218491465 sn:15251
retr: 2, avail: 0, send: 0, select: 0)
[21:44:28.771204] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977521251 p:1977522486 ts:164872218932521 sn:16504
retr: 4, avail: 0, send: 0, select: 0)
[21:44:38.771809] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977531251 p:1977532487 ts:164872219373577 sn:17757
retr: 4, avail: 0, send: 0, select: 0)
[21:44:48.768223] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977541248 p:1977542481 ts:164872219814281 sn:19009
retr: 4, avail: 0, send: 0, select: 0)
[21:44:58.765631] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977551245 p:1977552482 ts:164872220255337 sn:20262
retr: 4, avail: 0, send: 0, select: 0)
[21:45:08.771772] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977561251 p:1977562483 ts:164872220696393 sn:21515
retr: 5, avail: 0, send: 0, select: 0)
[21:45:18.764266] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977571244 p:1977572485 ts:164872221137449 sn:22768
retr: 5, avail: 0, send: 0, select: 0)
[21:45:28.771997] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977581251 p:1977582486 ts:164872221578505 sn:24021
retr: 5, avail: 0, send: 0, select: 0)
[21:45:38.771365] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977591251 p:1977592487 ts:164872222019561 sn:25274
retr: 6, avail: 0, send: 0, select: 0)
[21:45:48.765934] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977601245 p:1977602480 ts:164872222460265 sn:26526
retr: 7, avail: 0, send: 0, select: 0)
[21:45:58.766742] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977611246 p:1977612482 ts:164872222901321 sn:27779
retr: 7, avail: 0, send: 0, select: 0)
[21:46:08.767795] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977621247 p:1977622483 ts:164872223342377 sn:29032
retr: 8, avail: 0, send: 0, select: 0)
[21:46:18.762995] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977631242 p:1977632484 ts:164872223783433 sn:30285
retr: 10, avail: 0, send: 0, select: 0)
[21:46:28.766529] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977641246 p:1977642485 ts:164872224224489 sn:31538
retr: 11, avail: 0, send: 0, select: 0)
[21:46:38.773113] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977651253 p:1977652487 ts:164872224665545 sn:32791
retr: 11, avail: 0, send: 0, select: 0)
[21:46:48.761629] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977661241 p:1977662480 ts:164872225106249 sn:34043
retr: 11, avail: 0, send: 0, select: 0)
[21:46:58.767471] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977671247 p:1977672481 ts:164872225547305 sn:35296
retr: 11, avail: 0, send: 0, select: 0)
[21:47:08.769151] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977681249 p:1977682483 ts:164872225988361 sn:36549
retr: 11, avail: 0, send: 0, select: 0)
[21:47:18.765708] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977691245 p:1977692484 ts:164872226429417 sn:37802
retr: 11, avail: 0, send: 0, select: 0)
[21:47:28.764475] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977701244 p:1977702485 ts:164872226870473 sn:39055
retr: 11, avail: 0, send: 0, select: 0)
[21:47:38.769531] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977711249 p:1977712486 ts:164872227311529 sn:40308
retr: 11, avail: 0, send: 0, select: 0)
[21:47:48.762106] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977721242 p:1977722480 ts:164872227752233 sn:41560
retr: 11, avail: 0, send: 0, select: 0)
[21:47:58.763155] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977731243 p:1977732481 ts:164872228193289 sn:42813
retr: 11, avail: 0, send: 0, select: 0)
[21:48:08.770704] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977741250 p:1977742482 ts:164872228634345 sn:44066
retr: 11, avail: 0, send: 0, select: 0)
[21:48:18.771768] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977751251 p:1977752483 ts:164872229075401 sn:45319
retr: 11, avail: 0, send: 0, select: 0)
[21:48:28.764644] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977761244 p:1977762485 ts:164872229516457 sn:46572
retr: 11, avail: 0, send: 0, select: 0)
[21:48:38.767589] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977771247 p:1977772486 ts:164872229957513 sn:47825
retr: 11, avail: 0, send: 0, select: 0)
[21:48:48.765824] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977781245 p:1977782487 ts:164872230398569 sn:49078
retr: 11, avail: 0, send: 0, select: 0)
[21:48:58.761375] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977791241 p:1977792481 ts:164872230839273 sn:50330
retr: 11, avail: 0, send: 0, select: 0)
[21:49:08.762638] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977801242 p:1977802482 ts:164872231280329 sn:51583
retr: 11, avail: 0, send: 0, select: 0)
[21:49:18.769474] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977811249 p:1977812483 ts:164872231721385 sn:52836
retr: 11, avail: 0, send: 0, select: 0)
[21:49:28.767767] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977821247 p:1977822484 ts:164872232162441 sn:54089
retr: 11, avail: 0, send: 0, select: 0)
[21:49:38.770326] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977831250 p:1977832486 ts:164872232603497 sn:55342
retr: 11, avail: 0, send: 0, select: 0)

Finally found out the Issue #4 !!! And fixed my problem by simply enabling "sending LMS metadata to player" in my plugin settings. That was EZ.

Outstanding job Philippe keep doing !! Vive la Loire-Atlantique!