philippe44 / LMS-uPnP

Integrate UPnP players with LogitechMediaServer
111 stars 17 forks source link

Xiaomi soundbox pro can't play music by the dlan bridge #57

Closed laomao9000 closed 10 months ago

laomao9000 commented 2 years ago

thanks for you good work! The dlna bridge can find my xiaomi soundbox pro,but can't play music on it. below is some log:

[12:00:52.896] Start:1507 Binding to 192.168.1.11:49152 (http:0) [12:00:53.764] AddMRDevice:1399 [004C428C]: adding renderer (灏忕埍闊崇-2209) [12:00:53.764] GetProtocolInfo:358 [004C428C]: uPNP GetProtocolInfo [12:00:53.771] GetProtocolInfo:369 [004C428C]: ProtocolInfo http-get:::* [12:00:53.771] stream_thread_init:464 [00510FAC] streambuf size: 1048576 [12:00:53.776] MasterHandler:1036 [004C428C]: subscribe success [12:00:53.903] output_thread_init:611 [00510FAC] init output media renderer [12:00:53.903] decode_thread_init:168 [00510FAC]: init decode [12:00:53.903] resample_init:345 [00510FAC]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [12:00:53.903] UpdateThread:1249 Updating configuration C:\ProgramData\Squeezebox\prefs\upnpbridge.xml [12:00:53.903] discover_server:809 [00510FAC] sending discovery [12:00:53.904] discover_server:841 [00510FAC] got response from: 192.168.1.11:3483 [12:00:53.904] slimproto:861 squeezelite [00510FAC] <=> player [004C428C] [12:00:53.904] slimproto:862 [00510FAC] connecting to 192.168.1.11:3483 [12:00:53.904] slimproto:892 [00510FAC] connected [12:00:53.904] sendHELO:134 [00510FAC] mac: bb:bb:18:69:a5:55 [12:00:53.904] sendHELO:135 [00510FAC] cap: CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3 [12:00:53.904] process:500 [00510FAC] strm [12:00:53.904] process_strm:241 [00510FAC] strm command q [12:00:53.904] decode_flush:208 [00510FAC]: decode flush [12:00:53.904] output_flush:606 [00510FAC]: flush output buffer [12:00:53.904] sq_callback:313 [004C428C]: device off or not controlled by LMS [12:00:53.904] process:500 [00510FAC] strm [12:00:53.904] process_strm:241 [00510FAC] strm command q [12:00:53.904] decode_flush:208 [00510FAC]: decode flush [12:00:53.904] output_flush:606 [00510FAC]: flush output buffer [12:00:53.904] process:500 [00510FAC] setd [12:00:53.904] sendSETDName:227 [1268]: set playername: 灏忕埍闊崇-2209 [12:00:53.905] process:500 [00510FAC] setd [12:00:53.905] process:500 [00510FAC] aude [12:00:53.905] process_aude:392 [00510FAC] on/off using aude 1 [12:00:53.905] sq_callback:309 [004C428C]: device set on/off 1 [12:00:53.905] process:500 [00510FAC] audg [12:00:53.905] process_audg:406 [00510FAC] (old) audg gainL: 46 gainR: 46 [12:00:54.000] process:500 [00510FAC] strm [12:00:54.000] process_strm:241 [00510FAC] strm command t [12:00:54.000] sendSTAT:169 [00510FAC]: STAT:[STMt] msplayed 0 [12:00:54.958] UpdateThread:1249 Updating configuration C:\ProgramData\Squeezebox\prefs\upnpbridge.xml [12:00:56.051] UpdateThread:1249 Updating configuration C:\ProgramData\Squeezebox\prefs\upnpbridge.xml [12:00:59.004] process:500 [00510FAC] strm [12:00:59.004] process_strm:241 [00510FAC] strm command t [12:00:59.004] sendSTAT:169 [00510FAC]: STAT:[STMt] msplayed 0 [12:01:04.010] process:500 [00510FAC] strm [12:01:04.010] process_strm:241 [00510FAC] strm command t [12:01:04.010] sendSTAT:169 [00510FAC]: STAT:[STMt] msplayed 0 [12:01:05.988] UpdateThread:1146 [004C428C] UPnP keep alive: 灏忕埍闊崇-2209 [12:01:08.422] process:500 [00510FAC] strm [12:01:08.422] process_strm:241 [00510FAC] strm command q [12:01:08.422] decode_flush:208 [00510FAC]: decode flush [12:01:08.422] output_flush:606 [00510FAC]: flush output buffer [12:01:08.422] AVTStop:216 [004C428C]: uPNP stop (cookie 00000000) [12:01:08.429] process:500 [00510FAC] audg [12:01:08.429] process_audg:406 [00510FAC] (old) audg gainL: 46 gainR: 46 [12:01:08.430] process:500 [00510FAC] strm [12:01:08.430] process_strm:238 [00510FAC] strm command s [12:01:08.430] process_strm:307 [00510FAC], strm s autostart: 1 transition period: 10 transition type: 0 codec: f [12:01:08.430] sendSTAT:169 [00510FAC]: STAT:[STMf] msplayed 0 [12:01:08.430] process_strm:322 [00510FAC]: set fade mode: 0 [12:01:08.430] cli_open_socket:180 [00510FAC]: opened CLI socket 1088 [12:01:08.432] sq_getmetadata:502 [00510FAC]: idx 1 artist:绋嬬挧 album:鏅存棩鍏卞壀绐� title:鎬濇晠涔� genre:Folk duration:212.213 size:0 cover:http://192.168.1.11:9000/music/0720cd9f/cover.jpg [12:01:08.432] process_start:1214 [00510FAC]: something went wrong starting process 1 [12:01:08.433] connect_socket:155 [00510FAC] connecting to 192.168.1.11:9000 [12:01:08.433] stream_sock:592 [00510FAC] header: GET /stream.mp3?player=bb:bb:18:69:a5:55 HTTP/1.0

+++++++++++++++++++++++ The soundbox can play by foobar2000(use UPnP MediaRenderer Output.fb2k-component ).

houoop commented 2 years ago

when I start the new version plguin, it restart always

Starting Squeeze2upnp: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml [15:49:49.930975] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:49:49.937093] Start:1536 Binding to 192.168.6.189:49155 (http:0) [15:49:56.866927] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-5260)

Retarting Squeeze2upnp after crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml [15:50:02.172597] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:50:02.227686] Start:1536 Binding to 192.168.6.189:49154 (http:0) [15:50:04.365732] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-7643)

Retarting Squeeze2upnp after crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml -i /config/prefs/upnpbridge.xml [15:50:16.070382] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:50:16.072802] Start:1536 Binding to 192.168.6.189:49154 (http:0) [15:50:17.706996] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-7643) [15:50:17.715641] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:50:17.726330] MasterHandler:1054 [0xc44b00]: subscribe success [15:50:21.058752] AddMRDevice:1423 [0xc46e28]: adding renderer (小爱音箱-5260) [15:50:21.070138] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:50:21.086470] MasterHandler:1054 [0xc46e28]: subscribe success [15:50:25.921444] UpdateThread:1169 [0xc44b00] UPnP keep alive: 小爱音箱-7643 [15:50:31.879454] UpdateThread:1169 [0xc46e28] UPnP keep alive: 小爱音箱-5260 [15:50:36.000362] UpdateThread:1110 Presence checking [15:50:36.201203] UpdateThread:1110 Presence checking [15:50:37.482607] Stop:1558 stopping squeezelite devices ... [15:50:37.482741] Stop:1562 terminate update thread ... [15:50:37.488438] Stop:1567 terminate main thread ... [15:50:37.488535] Stop:1571 stopping UPnP devices ... [15:50:37.495304] Stop:1574 un-register libupnp callbacks ... [15:50:37.509303] Stop:1576 end libupnp ...

Retarting Squeeze2upnp after crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml -i /config/prefs/upnpbridge.xml [15:50:46.077538] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:50:46.078720] Start:1536 Binding to 192.168.6.189:49153 (http:0) [15:50:50.577322] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-7643) [15:50:50.586019] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:50:50.593469] MasterHandler:1054 [0xc44b00]: subscribe success [15:50:51.325681] AddMRDevice:1423 [0xc46e28]: adding renderer (小爱音箱-5260) [15:50:51.334114] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:50:51.341735] MasterHandler:1054 [0xc46e28]: subscribe success [15:50:56.738116] UpdateThread:1169 [0xc44b00] UPnP keep alive: 小爱音箱-7643 [15:50:59.693877] UpdateThread:1169 [0xc46e28] UPnP keep alive: 小爱音箱-5260 [15:51:06.000332] UpdateThread:1110 Presence checking [15:51:06.201518] UpdateThread:1110 Presence checking [15:51:07.485246] Stop:1558 stopping squeezelite devices ... [15:51:07.485385] Stop:1562 terminate update thread ... [15:51:07.485714] Stop:1567 terminate main thread ... [15:51:07.485820] Stop:1571 stopping UPnP devices ... [15:51:12.507409] Stop:1574 un-register libupnp callbacks ... [15:51:12.507510] Stop:1576 end libupnp ...

houoop commented 2 years ago

this is the "Additional debugging"=All log

Retarting Squeeze2upnp after crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml [15:57:09.776280] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:57:09.778289] register_alac:541 using alac to decode alc [15:57:09.778372] register_mad:433 using mad to decode mp3 [15:57:09.778395] register_faad:647 using faad to decode aac [15:57:09.778415] register_vorbis:346 using vorbis to decode ogg [15:57:09.778435] register_pcm:339 using pcm [15:57:09.778456] register_flac:313 using flac to decode flc [15:57:09.778476] register_opus:286 using opus to decode ops [15:57:09.778495] register_m4a_thru:307 using mp4 to aac (ADTS) [15:57:09.778516] register_flac_thru:212 using flac [15:57:09.778536] register_thru:106 using thru [15:57:09.778555] register_soxr:394 using soxr for resampling [15:57:09.778577] Start:1536 Binding to 192.168.6.189:49154 (http:0) [15:57:12.690520] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-7643) [15:57:12.690604] GetProtocolInfo:359 [0xc44b00]: uPNP GetProtocolInfo [15:57:12.700196] GetProtocolInfo:370 [0xc44b00]: ProtocolInfo http-get:::* [15:57:12.700465] stream_thread_init:464 [0xbbb140] streambuf size: 1048576 [15:57:12.701604] output_thread_init:616 [0xbbb140] init output media renderer [15:57:12.701891] decode_thread_init:168 [0xbbb140]: init decode [15:57:12.702005] resample_init:345 [0xbbb140]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0

Retarting Squeeze2upnp after crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /config/logs/upnpbridge.log -d main=debug -x /config/prefs/upnpbridge.xml -i /config/prefs/upnpbridge.xml [15:57:16.175960] main:1774 Starting squeeze2upnp version: v1.82.0 (Jan 28 2022 @ 23:31:15) [15:57:16.177374] register_alac:541 using alac to decode alc [15:57:16.177454] register_mad:433 using mad to decode mp3 [15:57:16.177475] register_faad:647 using faad to decode aac [15:57:16.177495] register_vorbis:346 using vorbis to decode ogg [15:57:16.177514] register_pcm:339 using pcm [15:57:16.177534] register_flac:313 using flac to decode flc [15:57:16.177553] register_opus:286 using opus to decode ops [15:57:16.177572] register_m4a_thru:307 using mp4 to aac (ADTS) [15:57:16.177591] register_flac_thru:212 using flac [15:57:16.177611] register_thru:106 using thru [15:57:16.177630] register_soxr:394 using soxr for resampling [15:57:16.177651] Start:1536 Binding to 192.168.6.189:49154 (http:0) [15:57:21.416545] AddMRDevice:1423 [0xc44b00]: adding renderer (小爱音箱-5260) [15:57:21.416654] GetProtocolInfo:359 [0xc44b00]: uPNP GetProtocolInfo [15:57:21.438341] GetProtocolInfo:370 [0xc44b00]: ProtocolInfo http-get::: [15:57:21.438728] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:57:21.450007] MasterHandler:1054 [0xc44b00]: subscribe success [15:57:21.460427] AddMRDevice:1423 [0xc46e28]: adding renderer (小爱音箱-7643) [15:57:21.460503] GetProtocolInfo:359 [0xc46e28]: uPNP GetProtocolInfo [15:57:21.468399] GetProtocolInfo:370 [0xc46e28]: ProtocolInfo http-get::: [15:57:21.468732] UpdateThread:1273 Updating configuration /config/prefs/upnpbridge.xml [15:57:21.476002] MasterHandler:1054 [0xc46e28]: subscribe success [15:57:25.577468] UpdateThread:1169 [0xc46e28] UPnP keep alive: 小爱音箱-7643 [15:57:36.001314] UpdateThread:1110 Presence checking [15:57:36.202261] UpdateThread:1110 Presence checking [15:57:36.277394] UpdateThread:1169 [0xc44b00] UPnP keep alive: 小爱音箱-5260 [15:57:37.262440] UpdateThread:1169 [0xc44b00] UPnP keep alive: 小爱音箱-5260 [15:57:37.579845] Stop:1558 stopping squeezelite devices ... [15:57:37.579971] Stop:1562 terminate update thread ... [15:57:37.580286] Stop:1567 terminate main thread ... [15:57:37.580713] Stop:1571 stopping UPnP devices ... [15:57:42.581316] Stop:1574 un-register libupnp callbacks ... [15:57:42.581410] Stop:1576 end libupnp ...

philippe44 commented 2 years ago

Sorry, somethign wrong with the build, I'll fix it quickly

philippe44 commented 2 years ago

Version 1.82.1 should be visible soon. If it still does not fix the issue, I'll rethink about it tomorrow!

houoop commented 2 years ago

1- Does it solve the problem of not moving to next track with the configration above it have same problem. no change. 2- If you set HTTP mode to "no length" does it work not work 3- Different topic: if you remove the "extra mimetype" in the settings does it now plays mp3/flac normally can't play

philippe44 commented 2 years ago

argh... can you try for 3- to add in "Extra command line options" the following "-d all=info" and just restart the plugin (clean the log before is always good) so that I can see where the problem remains? It will likely require a few more logs but I'd like to start with that.

Skylakc commented 2 years ago

Hello Philippie! Happy Chinese New Year! My XiaoMi Soundbox Pro has same problem, it can't play anything by upnp bridge (both DMR and DMS). But It could be controlled by foobar2000 Upnp plugin. When I press the "play button", it doesn't work, and never entered in play mode. The logs look similar to @houoop and @laomao9000 .

----------------LOG--------------- [22:08:32.190793] ActionHandler:837 [0xc46e28]: Waited action StopResponse [22:08:32.196325] process:500 [0xbbf608] audg [22:08:32.196396] process_audg:406 [0xbbf608] (old) audg gainL: 46 gainR: 46 [22:08:32.197232] process:500 [0xbbf608] strm [22:08:32.197272] process_strm:238 [0xbbf608] strm command s [22:08:32.197291] process_strm:307 [0xbbf608], strm s autostart: 1 transition period: 10 transition type: 0 codec: m [22:08:32.197311] sendSTAT:169 [0xbbf608]: STAT:[STMf] msplayed 0 [22:08:32.197369] process_strm:322 [0xbbf608]: set fade mode: 0 [22:08:32.206471] sq_getmetadata:518 [0xbbf608]: idx 0 artist:Green Day album:21st Century Breakdown title:21 Guns genre:鏃犻煶涔愭洸椋� duration:321.123 size:0 cover:http://10.10.1.8:9001/music/a2ead641/cover.jpg [22:08:32.206559] process_start:1226 [0xbbf608]: something went wrong starting process 14 [22:08:32.206613] connect_socket:155 [0xbbf608] connecting to 10.10.1.8:9001 [22:08:32.206814] stream_sock:592 [0xbbf608] header: GET /stream.mp3?player=bb:bb:6b:17:5a:08 HTTP/1.0

[22:08:32.206848] sendSTAT:169 [0xbbf608]: STAT:[STMc] msplayed 0 [22:08:32.206899] process_strm:342 [0xbbf608] no matching codec m [22:08:32.206918] sendSTAT:169 [0xbbf608]: STAT:[STMn] msplayed 0 [22:08:32.206978] process:500 [0xbbf608] audg [22:08:32.207000] process_audg:406 [0xbbf608] (old) audg gainL: 46 gainR: 46 [22:08:32.210025] process:500 [0xbbf608] strm [22:08:32.210075] process_strm:241 [0xbbf608] strm command q [22:08:32.210093] decode_flush:208 [0xbbf608]: decode flush [22:08:32.210140] output_flush:611 [0xbbf608]: flush output buffer [22:08:32.210309] sendSTAT:169 [0xbbf608]: STAT:[STMf] msplayed 0 [22:08:32.210379] AVTStop:217 [0xc46e28]: uPNP stop (cookie 0x1d) [22:08:32.221958] ActionHandler:837 [0xc46e28]: Waited action StopResponse

Skylakc commented 2 years ago

Well, It works! Here are my config screenshot. image The most importent config is Additional MimeTypes image Thanks a lot everyone!

Skylakc commented 2 years ago

I found a new issue, When I call up my AI Sound Box, It will be interrupted. And the playing can't resume. I think the issue is similar to ""the player could't moving to next song". This looks like the LMS and the speaker are not getting the end signal from each other at the end of playback. Because the phenomenon is that the LMS web ui side shows thar it has been playing, but the speaker through the light indicates that it is entering the buffing. I capture the packets through wireshark and it looks like everything is fine.

philippe44 commented 2 years ago

That would be really great if one of you could give me the log here https://github.com/philippe44/LMS-to-uPnP/issues/57#issuecomment-1025058695 so that I can see why the first change I've made does not remove the need of setting "additional MimeTypes"

新年快樂 虎年行大運

image0

Skylakc commented 2 years ago

Here are my logs. and the config screenshot image

First, I play "Not Afraid-Eminem", and i change volume (turn it down and up),it works. (If I restart the plug-in at this time or manually click pause at the beginning or the next song, everything is fine) Then I dragged the music progress bar to the end. What you can see in the log is that the new audio stream is ready to be pushed, but the speaker is not responding.

I've been online this afternoon and may be able to help debug ---------------LOG----------- Starting Squeeze2upnp: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64 -Z -I -f /var/log/squeezeboxserver/upnpbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/upnpbridge.xml -d all=info [15:06:20.940420] main:1774 Starting squeeze2upnp version: v1.82.1 (Jan 29 2022 @ 00:03:57) [15:06:20.949505] output_init:652 success loading FLAC encoder [15:06:20.949779] register_alac:541 using alac to decode alc [15:06:20.950051] load_mad:392 dlerror: libmad.so.0: cannot open shared object file: No such file or directory [15:06:20.950322] load_faad:608 dlerror: libfaad.so.2: cannot open shared object file: No such file or directory [15:06:20.951191] load_vorbis:325 loaded libvorbisfile.so.3 [15:06:20.951228] register_vorbis:346 using vorbis to decode ogg [15:06:20.951243] register_pcm:339 using pcm [15:06:20.951266] load_flac:292 loaded libFLAC.so.8 [15:06:20.951280] register_flac:313 using flac to decode flc [15:06:20.951454] load_opus:251 dlerror: libopusfile.so.0: cannot open shared object file: No such file or directory [15:06:20.951481] register_m4a_thru:307 using mp4 to aac (ADTS) [15:06:20.951495] register_flac_thru:212 using flac [15:06:20.951505] register_thru:106 using thru [15:06:20.951515] register_soxr:394 using soxr for resampling [15:06:20.951541] Start:1536 Binding to 10.10.1.8:49154 (http:0) [15:06:21.000956] AddMRDevice:1423 [0x75d200]: adding renderer (瀹㈠巺鐢佃 DMR) [15:06:21.014357] resample_init:345 [0x6d3680]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [15:06:21.015190] MasterHandler:1054 [0x75d200]: subscribe success [15:06:21.166175] slimproto:861 squeezelite [0x6d3680] <=> player [0x75d200] [15:06:21.166329] slimproto:862 [0x6d3680] connecting to 10.10.1.8:3483 [15:06:21.166533] slimproto:892 [0x6d3680] connected [15:06:21.166581] sendHELO:135 [0x6d3680] cap: CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,flc,wav,aif,pcm,mp3 [15:06:35.384992] AddMRDevice:1423 [0x75f528]: adding renderer (灏忕埍闊崇-9033) [15:06:35.398775] resample_init:345 [0x6d7b48]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [15:06:35.399499] slimproto:861 squeezelite [0x6d7b48] <=> player [0x75f528] [15:06:35.399542] slimproto:862 [0x6d7b48] connecting to 10.10.1.8:3483 [15:06:35.399715] slimproto:892 [0x6d7b48] connected [15:06:35.399769] sendHELO:135 [0x6d7b48] cap: CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3 [15:06:35.406977] MasterHandler:1054 [0x75f528]: subscribe success [15:06:44.008551] AVTStop:217 [0x75f528]: uPNP stop (cookie (nil)) [15:06:44.066826] process_strm:238 [0x6d7b48] strm command s [15:06:44.066877] process_strm:307 [0x6d7b48], strm s autostart: 1 transition period: 10 transition type: 1 codec: m [15:06:44.066887] sendSTAT:169 [0x6d7b48]: STAT:[STMf] msplayed 0 [15:06:44.067116] cli_open_socket:186 [0x6d7b48]: opened CLI socket 9 [15:06:44.085018] thru_open:85 [0x6d7b48]: thru codec [15:06:44.085094] output_start:81 [0x6d7b48]: start thread 0 [15:06:44.085213] sq_callback:343 [0x75f528]: artist:Eminem album:Not Afraid title:Not Afraid (main) genre:鏃犻煶涔愭洸椋� duration:250.653 size:0 cover: offset:0 [15:06:44.085242] sq_callback:382 [0x75f528]: set current URI (s:0) http://10.10.1.8:49899/bridge-1.mp3 [15:06:44.085346] AVTSetURI:91 [0x75f528]: uPNP setURI http://10.10.1.8:49899/bridge-1.mp3 (cookie 0x1) [15:06:44.085817] process_start:1220 [0x6d7b48]: codec:*, ch:0, s:0, r:0 [15:06:44.085858] connect_socket:155 [0x6d7b48] connecting to 10.10.1.8:9001 [15:06:44.086011] stream_sock:592 [0x6d7b48] header: GET /stream.mp3?player=bb:bb:6b:17:5a:08 HTTP/1.0

[15:06:44.086244] sendSTAT:169 [0x6d7b48]: STAT:[STMc] msplayed 0 [15:06:44.117660] stream_thread:337 [0x6d7b48] headers: len: 490 HTTP/1.1 200 OK Server: Logitech Media Server (8.3.0 - 1641484361) Connection: close Content-Type: audio/mpeg Set-Cookie: Squeezebox-albumView=; path=/ Set-Cookie: Squeezebox-expandPlayerControl=true; path=/ Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/ Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/ Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/ Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=; path=/ Set-Cookie: Squeezebox-expanded-RADIO=0; path=/

[15:06:44.187622] output_http_thread:159 [0x6d7b48]: got HTTP connection 16 [15:06:45.302334] AVTSetPlayMode:167 [0x75f528]: uPNP set play mode (cookie 0x2) [15:06:45.302532] AVTPlay:151 [0x75f528]: uPNP play (cookie 0x3) [15:06:45.302588] CtrlSetVolume:245 [0x75f528]: uPNP volume 49 (cookie 0x3) [15:06:45.314435] thru_decode:56 [0x6d7b48]: setting track_start [15:06:45.345116] output_http_thread:188 [0x6d7b48]: drain is 2621440 (waited 1259) [15:06:45.345366] handle_http:485 [0x6d7b48]: received GET /bridge-1.mp3 HTTP/1.1 [15:06:45.345390] handle_http:488 [0x6d7b48]: HTTP headers Host: 10.10.1.8:49899 User-Agent: xiaoai Range: bytes=0- Connection: close Icy-MetaData: 1

HTTP/1.1 200 OK Server: squeezebox-bridge Connection: close Content-Type: audio/mp3 Transfer-Encoding: chunked

[15:06:45.880933] _SyncNotifState:687 灏忕埍闊崇-9033: uPNP playing [15:06:45.880978] sq_notify:598 [0x6d7b48] play notification [15:06:45.881195] sq_notify:715 [0x6d7b48] track 1 started by info at 572286718 [15:06:45.881275] sendSTAT:169 [0x6d7b48]: STAT:[STMs] msplayed 0 [15:06:56.831055] CtrlSetVolume:245 [0x75f528]: uPNP volume 19 (cookie 0x28) [15:07:02.136342] CtrlSetVolume:245 [0x75f528]: uPNP volume 49 (cookie 0x38) [15:07:10.247350] stream_thread:411 [0x6d7b48] end of stream (t:8730061) [15:07:14.209240] output_http_thread:391 [0x6d7b48]: end thread 0 (2949120 bytes) [15:07:14.209870] AVTStop:217 [0x75f528]: uPNP stop (cookie 0x5d) [15:07:14.210051] process_strm:238 [0x6d7b48] strm command s [15:07:14.210076] process_strm:307 [0x6d7b48], strm s autostart: 1 transition period: 10 transition type: 1 codec: m [15:07:14.210086] sendSTAT:169 [0x6d7b48]: STAT:[STMf] msplayed 0 [15:07:14.231245] thru_open:85 [0x6d7b48]: thru codec [15:07:14.231346] output_start:81 [0x6d7b48]: start thread 0 [15:07:14.231477] sq_callback:343 [0x75f528]: artist:Eminem album:Not Afraid title:Not Afraid (main) genre:鏃犻煶涔愭洸椋� duration:8.354 size:0 cover: offset:0 [15:07:14.231515] sq_callback:382 [0x75f528]: set current URI (s:1) http://10.10.1.8:54215/bridge-2.mp3 [15:07:14.231614] AVTSetURI:91 [0x75f528]: uPNP setURI http://10.10.1.8:54215/bridge-2.mp3 (cookie 0x5e) [15:07:14.231927] process_start:1220 [0x6d7b48]: codec:*, ch:0, s:0, r:0 [15:07:14.231981] connect_socket:155 [0x6d7b48] connecting to 10.10.1.8:9001 [15:07:14.232128] stream_sock:592 [0x6d7b48] header: GET /stream.mp3?player=bb:bb:6b:17:5a:08 HTTP/1.0

[15:07:14.232153] sendSTAT:169 [0x6d7b48]: STAT:[STMc] msplayed 0 [15:07:14.261838] stream_thread:337 [0x6d7b48] headers: len: 490 HTTP/1.1 200 OK Server: Logitech Media Server (8.3.0 - 1641484361) Connection: close Content-Type: audio/mpeg Set-Cookie: Squeezebox-albumView=; path=/ Set-Cookie: Squeezebox-expandPlayerControl=true; path=/ Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/ Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/ Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/ Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=; path=/ Set-Cookie: Squeezebox-expanded-RADIO=0; path=/

[15:07:14.402559] output_http_thread:159 [0x6d7b48]: got HTTP connection 16 [15:07:14.577344] _SyncNotifState:637 [0x75f528]: uPNP transition [15:07:15.538375] AVTSetPlayMode:167 [0x75f528]: uPNP set play mode (cookie 0x61) [15:07:15.538518] AVTPlay:151 [0x75f528]: uPNP play (cookie 0x62) [15:07:15.538568] CtrlSetVolume:245 [0x75f528]: uPNP volume 49 (cookie 0x62) [15:07:15.555866] thru_decode:56 [0x6d7b48]: setting track_start [15:07:15.556695] output_http_thread:188 [0x6d7b48]: drain is 2621440 (waited 1325) [15:07:15.557000] handle_http:485 [0x6d7b48]: received GET /bridge-2.mp3 HTTP/1.1 [15:07:15.557149] handle_http:488 [0x6d7b48]: HTTP headers Host: 10.10.1.8:54215 User-Agent: xiaoai Range: bytes=0- Connection: close Icy-MetaData: 1

HTTP/1.1 200 OK Server: squeezebox-bridge Connection: close Content-Type: audio/mp3 Transfer-Encoding: chunked

[15:07:15.816610] _SyncNotifState:687 灏忕埍闊崇-9033: uPNP playing [15:07:15.816658] sq_notify:598 [0x6d7b48] play notification [15:07:16.046598] stream_thread:411 [0x6d7b48] end of stream (t:285095) [15:07:16.047675] process_strm:238 [0x6d7b48] strm command u [15:07:16.047740] process_strm:287 [0x6d7b48] unpause at: 0 now: 572316885 [15:07:16.047783] sendSTAT:169 [0x6d7b48]: STAT:[STMr] msplayed 0 [15:07:16.057203] decode_thread:96 decode complete [15:07:16.057481] _checkfade:914 [0x6d7b48]: fade mode: 1 duration: 10 track-end

[15:07:16.109885] output_http_thread:391 [0x6d7b48]: end thread 0 (285095 bytes) [15:07:16.256028] sq_notify:715 [0x6d7b48] track 2 started by info at 572317093 [15:07:16.256167] sendSTAT:169 [0x6d7b48]: STAT:[STMs] msplayed 0 [15:07:17.257392] sendSTAT:169 [0x6d7b48]: STAT:[STMd] msplayed 0 [15:07:17.275272] process_strm:238 [0x6d7b48] strm command s [15:07:17.275358] process_strm:307 [0x6d7b48], strm s autostart: 1 transition period: 10 transition type: 1 codec: m [15:07:17.275384] sendSTAT:169 [0x6d7b48]: STAT:[STMf] msplayed 0 [15:07:17.294673] thru_open:85 [0x6d7b48]: thru codec [15:07:17.294965] output_start:81 [0x6d7b48]: start thread 0 [15:07:17.295275] sq_callback:343 [0x75f528]: artist:Green Day album:Warning: title:Misery genre:鏃犻煶涔愭洸椋� duration:305.867 size:0 cover: offset:1 [15:07:17.295342] sq_callback:369 [0x75f528]: next URI gapped (s:1) http://10.10.1.8:41041/bridge-3.mp3 [15:07:17.295367] process_start:1220 [0x6d7b48]: codec:*, ch:0, s:0, r:0 [15:07:17.295415] connect_socket:155 [0x6d7b48] connecting to 10.10.1.8:9001 [15:07:17.295624] stream_sock:592 [0x6d7b48] header: GET /stream.mp3?player=bb:bb:6b:17:5a:08 HTTP/1.0

[15:07:17.295661] sendSTAT:169 [0x6d7b48]: STAT:[STMc] msplayed 0 [15:07:17.359886] stream_thread:337 [0x6d7b48] headers: len: 490 HTTP/1.1 200 OK Server: Logitech Media Server (8.3.0 - 1641484361) Connection: close Content-Type: audio/mpeg Set-Cookie: Squeezebox-albumView=; path=/ Set-Cookie: Squeezebox-expandPlayerControl=true; path=/ Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/ Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/ Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/ Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=; path=/ Set-Cookie: Squeezebox-expanded-RADIO=0; path=/

[15:07:17.459950] thru_decode:56 [0x6d7b48]: setting track_start [15:07:17.882477] stream_thread:411 [0x6d7b48] end of stream (t:4894301) [15:07:17.883959] process_strm:238 [0x6d7b48] strm command u [15:07:17.884023] process_strm:287 [0x6d7b48] unpause at: 0 now: 572318721 [15:07:17.884046] sendSTAT:169 [0x6d7b48]: STAT:[STMr] msplayed 0

philippe44 commented 2 years ago

The problem of not moving to "next" track can be solved by setting "Gapless" to "force", but this is not great as you should see that the last track will not end.

For the rest, would you know how to copy the attached binary file and replace the existing one in /var/lib/squeezeboxserver/cache/InstalledPlugins/plugins/UPnPBridge/Bin and take a log on just trying to play one track without the additional mimetypes? squeeze2upnp-x86-64.zip

Skylakc commented 2 years ago

Hello, I'm back! I replaced my binary file by WinSCP and erase my config file. image Now I generate a new config file. But it crash all the time when I try to play.

-------------LOG-------------- Retarting Squeeze2upnp after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-x86-64-static -Z -I -f /var/log/squeezeboxserver/upnpbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/upnpbridge.xml [16:10:11.801741] main:1774 Starting squeeze2upnp version: v1.82.1 (Jan 29 2022 @ 00:03:57) [16:10:11.855127] register_alac:541 using alac to decode alc [16:10:11.855253] register_mad:433 using mad to decode mp3 [16:10:11.855284] register_faad:647 using faad to decode aac [16:10:11.855306] register_vorbis:346 using vorbis to decode ogg [16:10:11.855326] register_pcm:339 using pcm [16:10:11.855344] register_flac:313 using flac to decode flc [16:10:11.855363] register_opus:286 using opus to decode ops [16:10:11.855383] register_m4a_thru:307 using mp4 to aac (ADTS) [16:10:11.855400] register_flac_thru:212 using flac [16:10:11.855417] register_thru:106 using thru [16:10:11.855435] register_soxr:394 using soxr for resampling [16:10:11.855455] Start:1536 Binding to 10.10.1.8:49156 (http:0) [16:10:11.914492] AddMRDevice:1423 [0xc44b00]: adding renderer (瀹㈠巺鐢佃 DMR) [16:10:11.914598] GetProtocolInfo:359 [0xc44b00]: uPNP GetProtocolInfo [16:10:11.921946] GetProtocolInfo:370 [0xc44b00]: ProtocolInfo http-get::video/webm:,http-get::audio/x-ms-wma:,http-get::image/jpeg:,http-get::###############################################################################:,http-get::video/x-matroska:,http-get::image/gif:,http-get::image/x-ms-bmp:,http-get::audio/midi:,http-get::video/x-ms-wm:,http-get::application/x-shockwave-flash:,http-get::image/webp:,http-get::video/mp2ts:,http-get::video/x-msvideo:,http-get::video/m2ts:,http-get::video/x-flv:,http-get::image/pns:,http-get::audio/x-flac:,http-get::audio/x-wav:,http-get::audio/x-pn-realaudio:,http-get::video/dvd:,http-get::audio/x-aiff:,http-get::video/mp2p:,http-get::video/dat:,http-get::image/png:,http-get::video/avi:,http-get::application/octet-stream:,http-get::video/x-ms-asf:,http-get::video/3gpp:,http-get::video/x-pn-realvideo:,http-get::video/x-ms-wvx:,http-get::audio/aac:,http-get::application/vnd.android.package-archive:,http-get::audio/flac:,http-get::audio/mpeg:,http-get::image/mpo:,http-get::audio/ogg:,http-get::video/x-ms-wmv:,http-get::video/mpeg:,http-get::video/x-ms-wmx:,http-get::image/x-jps:,http-get::video/m4v:,http-get::video/mts:,http-get::video/quicktime:,http-get::video/mp4:, [16:10:11.922602] stream_thread_init:464 [0xbbb140] streambuf size: 1048576 [16:10:11.924577] output_thread_init:616 [0xbbb140] init output media renderer [16:10:11.924666] decode_thread_init:168 [0xbbb140]: init decode [16:10:11.925888] resample_init:345 [0xbbb140]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [16:10:11.925966] UpdateThread:1273 Updating configuration /var/lib/squeezeboxserver/prefs/upnpbridge.xml [16:10:11.925977] discover_server:809 [0xbbb140] sending discovery [16:10:11.926973] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:11.927208] discover_server:841 [0xbbb140] got response from: 10.10.1.8:3483 [16:10:11.927262] slimproto:861 squeezelite [0xbbb140] <=> player [0xc44b00] [16:10:11.927288] slimproto:862 [0xbbb140] connecting to 10.10.1.8:3483 [16:10:11.927388] MasterHandler:1054 [0xc44b00]: subscribe success [16:10:11.927472] slimproto:892 [0xbbb140] connected [16:10:11.927501] sendHELO:134 [0xbbb140] mac: bb:bb:bd:23:37:72 [16:10:11.927516] sendHELO:135 [0xbbb140] cap: CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,flc,wav,aif,pcm,mp3 [16:10:11.931519] process:500 [0xbbb140] strm [16:10:11.931585] process_strm:241 [0xbbb140] strm command q [16:10:11.931611] decode_flush:208 [0xbbb140]: decode flush [16:10:11.931635] output_flush:611 [0xbbb140]: flush output buffer [16:10:11.931655] sq_callback:316 [0xc44b00]: device off or not controlled by LMS [16:10:11.931704] UpdateThread:1273 Updating configuration /var/lib/squeezeboxserver/prefs/upnpbridge.xml [16:10:11.932160] process:500 [0xbbb140] setd [16:10:11.932197] sendSETDName:227 [7]: set playername: 瀹㈠巺鐢佃 DMR [16:10:11.932307] process:500 [0xbbb140] setd [16:10:11.932940] process:500 [0xbbb140] aude [16:10:11.932990] process_aude:392 [0xbbb140] on/off using aude 1 [16:10:11.933011] sq_callback:312 [0xc44b00]: device set on/off 1 [16:10:11.933314] process:500 [0xbbb140] audg [16:10:11.933383] process_audg:406 [0xbbb140] (old) audg gainL: 46 gainR: 46 [16:10:11.937610] CheckAndLock:273 device is NULL [16:10:11.937818] CheckAndLock:273 device is NULL [16:10:11.937873] CheckAndLock:273 device is NULL

[16:10:11.942140] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:11.950159] CheckAndLock:273 device is NULL [16:10:11.950679] CheckAndLock:273 device is NULL

[16:10:11.950865] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:12.549167] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:12.557936] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:12.569002] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:12.574362] UpdateThread:1169 [0xc44b00] UPnP keep alive: 瀹㈠巺鐢佃 DMR [16:10:15.001167] process:500 [0xbbb140] strm [16:10:15.001267] process_strm:241 [0xbbb140] strm command t [16:10:15.001301] sendSTAT:169 [0xbbb140]: STAT:[STMt] msplayed 0 [16:10:19.002449] process:500 [0xbbb140] strm [16:10:19.002537] process_strm:241 [0xbbb140] strm command t [16:10:19.002568] sendSTAT:169 [0xbbb140]: STAT:[STMt] msplayed 0 [16:10:20.597334] AddMRDevice:1423 [0xc46e28]: adding renderer (灏忕埍闊崇-9033) [16:10:20.597443] GetProtocolInfo:359 [0xc46e28]: uPNP GetProtocolInfo [16:10:20.611215] GetProtocolInfo:370 [0xc46e28]: ProtocolInfo http-get:::* [16:10:20.611570] stream_thread_init:464 [0xbbf608] streambuf size: 1048576 [16:10:20.613385] output_thread_init:616 [0xbbf608] init output media renderer [16:10:20.613498] decode_thread_init:168 [0xbbf608]: init decode [16:10:20.613785] resample_init:345 [0xbbf608]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [16:10:20.613849] UpdateThread:1273 Updating configuration /var/lib/squeezeboxserver/prefs/upnpbridge.xml [16:10:20.613854] discover_server:809 [0xbbf608] sending discovery [16:10:20.614697] discover_server:841 [0xbbf608] got response from: 10.10.1.8:3483 [16:10:20.614785] slimproto:861 squeezelite [0xbbf608] <=> player [0xc46e28] [16:10:20.614830] slimproto:862 [0xbbf608] connecting to 10.10.1.8:3483 [16:10:20.615228] slimproto:892 [0xbbf608] connected [16:10:20.615274] sendHELO:134 [0xbbf608] mac: bb:bb:6b:17:5a:08 [16:10:20.615297] sendHELO:135 [0xbbf608] cap: CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=48000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3 [16:10:20.617130] process:500 [0xbbf608] strm [16:10:20.617183] process_strm:241 [0xbbf608] strm command q [16:10:20.617207] decode_flush:208 [0xbbf608]: decode flush [16:10:20.617230] output_flush:611 [0xbbf608]: flush output buffer [16:10:20.617251] sq_callback:316 [0xc46e28]: device off or not controlled by LMS [16:10:20.617670] process:500 [0xbbf608] strm [16:10:20.617707] process_strm:241 [0xbbf608] strm command q [16:10:20.617728] decode_flush:208 [0xbbf608]: decode flush [16:10:20.617750] output_flush:611 [0xbbf608]: flush output buffer [16:10:20.618085] process:500 [0xbbf608] setd [16:10:20.618132] sendSETDName:227 [11]: set playername: 灏忕埍闊崇Pro [16:10:20.618312] process:500 [0xbbf608] setd [16:10:20.618511] process:500 [0xbbf608] aude [16:10:20.618542] process_aude:392 [0xbbf608] on/off using aude 1 [16:10:20.618556] sq_callback:312 [0xc46e28]: device set on/off 1 [16:10:20.618827] process:500 [0xbbf608] audg [16:10:20.618858] process_audg:406 [0xbbf608] (old) audg gainL: 75 gainR: 75 [16:10:20.620614] CheckAndLock:273 device is NULL [16:10:20.620992] MasterHandler:1054 [0xc46e28]: subscribe success [16:10:20.621836] CheckAndLock:273 device is NULL [16:10:20.621894] CheckAndLock:273 device is NULL [16:10:20.621920] CheckAndLock:273 device is NULL

[16:10:23.000470] process:500 [0xbbb140] strm [16:10:23.000575] process_strm:241 [0xbbb140] strm command t [16:10:23.000591] sendSTAT:169 [0xbbb140]: STAT:[STMt] msplayed 0 [16:10:23.000660] process:500 [0xbbf608] strm [16:10:23.000674] process_strm:241 [0xbbf608] strm command t [16:10:23.000706] sendSTAT:169 [0xbbf608]: STAT:[STMt] msplayed 0 [16:10:23.006529] UpdateThread:1169 [0xc46e28] UPnP keep alive: 灏忕埍闊崇-9033 [16:10:25.335104] process:500 [0xbbf608] strm [16:10:25.335200] process_strm:241 [0xbbf608] strm command q [16:10:25.335228] decode_flush:208 [0xbbf608]: decode flush [16:10:25.335253] output_flush:611 [0xbbf608]: flush output buffer [16:10:25.335275] AVTStop:217 [0xc46e28]: uPNP stop (cookie (nil)) [16:10:25.355551] process:500 [0xbbf608] audg [16:10:25.355643] process_audg:406 [0xbbf608] (old) audg gainL: 75 gainR: 75 [16:10:25.356855] process:500 [0xbbf608] strm [16:10:25.356920] process_strm:238 [0xbbf608] strm command s [16:10:25.356945] process_strm:307 [0xbbf608], strm s autostart: 1 transition period: 10 transition type: 0 codec: m [16:10:25.356968] sendSTAT:169 [0xbbf608]: STAT:[STMf] msplayed 0 [16:10:25.357054] process_strm:322 [0xbbf608]: set fade mode: 0 [16:10:25.357428] cli_open_socket:186 [0xbbf608]: opened CLI socket 9 [16:10:25.373601] sq_getmetadata:518 [0xbbf608]: idx 0 artist:Green Day album:21st Century Breakdown title:21 Guns genre:鏃犻煶涔愭洸椋� duration:321.123 size:0 cover:http://10.10.1.8:9001/music/a2ead641/cover.jpg [16:10:25.373673] process_start:1226 [0xbbf608]: something went wrong starting process 1 [16:10:25.373718] connect_socket:155 [0xbbf608] connecting to 10.10.1.8:9001 [16:10:25.373874] stream_sock:592 [0xbbf608] header: GET /stream.mp3?player=bb:bb:6b:17:5a:08 HTTP/1.0

[16:10:25.373901] sendSTAT:169 [0xbbf608]: STAT:[STMc] msplayed 0 [16:10:25.373944] process_strm:342 [0xbbf608] no matching codec * [16:10:25.373961] sendSTAT:169 [0xbbf608]: STAT:[STMn] msplayed 0 [16:10:25.374012] process:500 [0xbbf608] audg [16:10:25.374027] process_audg:406 [0xbbf608] (old) audg gainL: 75 gainR: 75 [16:10:25.376782] process:500 [0xbbf608] strm [16:10:25.376834] process_strm:241 [0xbbf608] strm command q [16:10:25.376855] decode_flush:208 [0xbbf608]: decode flush [16:10:25.377206] output_flush:611 [0xbbf608]: flush output buffer [16:10:25.377321] sendSTAT:169 [0xbbf608]: STAT:[STMf] msplayed 0 [16:10:25.377483] AVTStop:217 [0xc46e28]: uPNP stop (cookie 0x1) [16:10:25.390628] ActionHandler:837 [0xc46e28]: Waited action StopResponse [16:10:25.631467] _SyncNotifState:659 [0xc46e28]: uPNP stop [16:10:25.631590] sq_notify:651 [0xbbf608] notify STOP

philippe44 commented 2 years ago

No No, you are launching the "static" version because the version you have installed is not executable. Do a "sudo chmod +x squeeze2upnp-x86-64". You should see "x" appear with the other "r" and "w" attributes

Skylakc commented 2 years ago

Embarrassed.......,it was my mistake. I changed it. image image

----------LOG------- image

Skylakc commented 2 years ago

A Good News! After replace the Bin file, With "Force" Gapless, Additional MimeTypes, "chunked" HTTP mode. It works, both play and moving track automaticly. Of course, it is not a wisely solution. image

but sometimes playing progress will offset, the issue coun't be reproduced. I found that when the additional parameter is turned off, the error ”no matching codec“ occurs.

philippe44 commented 2 years ago

Can you try the same with that binary helper (same thing, need to make it executable). It will give me extra logs to try to understand why it fails. squeeze2upnp-x86-64.zip

Skylakc commented 2 years ago

Hello! I replace the new binary file. The main error still looks like "no matching codec"

--------Config-------- image image --------LOG-------- image

After I installed all codec logs. image

philippe44 commented 2 years ago

Thanks! I think I finally got it for that specific issue. Can you try this version squeeze2upnp-x86-64.zip

Skylakc commented 2 years ago

Hello! I used the newest binary file. It works! And now I can play songs without the Additional MimeTypes. But the track couldn't be switched automatically by parameter "Gapless YES or NO" ("Force"is OK) Log says "Error in action callback" for no reason doesn't look like a good thing. ------LOG----- image

philippe44 commented 2 years ago

The "Error in action callback" is a problem, but not the issue in that case. Now that I know that 1st issue is solved, I need to think of a solution to handle that speaker that does not signal when it has stopped playing a track, which is needed to move to next track (unless gapless works, which is kind of the case here, but that's not enough because last track will never end...)

philippe44 commented 2 years ago

Are you familiar enough with Wireshark to take a trace when playing only one track, let it play till the end, wait 10s and send me the captured packets?

Skylakc commented 2 years ago

Are you familiar enough with Wireshark to take a trace when playing only one track, let it play till the end, wait 10s and send me the captured packets?

OK! I wiil track it tomorrow.

Skylakc commented 2 years ago

Hello! I have been inexplicably unable to log in github for the past month. But I can upload my code by "git pull". It's strange. I captured the packet, they looks like normal. In _Force.pcap, I play the music, first then drag it to the last few seconds and wait for the switch, In _YES.pcap, I repeated the same job and finally paused. By rpcapd_linux and Wireshark in Windows 10. I think everything should be fine for the next github login. :scream: PacketTraced.zip