katergo wrote: 
> I'm trying to compile squeeze2upnp on Linux 64 (ubuntu) still I have
> some problem :
> 
> ubuntu@ubuntudev:~/squeeze2upnp/LMS-to-uPnP/application$ cc -Wall -fPIC
> -ggdb -m64 -O2  -I/usr/include/x86_64-linux-gnu -I.
> -I../valgrind/memcheck -I../valgrind/include -I./squeezetiny -I./tools
> -I./squeeze2upnp -I./squeeze2upnp/inc -I../libupnp/1.6.19/ixml/inc
> -I../libupnp/1.6.19/upnp/inc -I../libupnp/1.6.19/build/inc
> -I../libupnp/1.6.19/threadutil/inc -D_FILE_OFFSET_BITS=64 -DNO_CODEC 
> -I. -I../valgrind/memcheck -I../valgrind/include -I./squeezetiny
> -I./tools -I./squeeze2upnp -I./squeeze2upnp/inc
> -I../libupnp/1.6.19/ixml/inc -I../libupnp/1.6.19/upnp/inc
> -I../libupnp/1.6.19/build/inc -I../libupnp/1.6.19/threadutil/inc
> ./squeeze2upnp/webserver.c -c -o bin/x86-64/webserver.o
> In file included from ./squeeze2upnp/webserver.c:25:0:
> ./squeeze2upnp/inc/webserver.h:34:53: warning: ‘struct
> Extra_Headers’ declared inside parameter list
> int WebSetExtraHeaders(const char *FileName, struct Extra_Headers
> *Headers);
> ^
> ./squeeze2upnp/inc/webserver.h:34:53: warning: its scope is only this
> definition or declaration, which is probably not what you want
> ./squeeze2upnp/webserver.c: In function ‘WebGetInfo’:
> ./squeeze2upnp/webserver.c:38:38: error: ‘struct File_Info’
> has no member named ‘extra_headers’
> struct Extra_Headers *Headers = Info->extra_headers;
> ^
> ./squeeze2upnp/webserver.c:40:16: error: dereferencing pointer to
> incomplete type ‘struct Extra_Headers’
> while (Headers->name) {
> ^
> ./squeeze2upnp/webserver.c:77:10: error: increment of pointer to an
> incomplete type ‘struct Extra_Headers’
> Headers++;
> 
> Any Idea ?
> 
> I need to compile this because I have some problem for connecting
> squeeze2upnp to upmpdcli for playing music (need to see what's going on
> putting more logs)
> 
> squeeze2upnp log side
> [17:59:14.952347] process_strm:216 [0x730d70] strm command s
> [17:59:14.952436] process_strm:290 [0x730d70], strm s autostart: 1
> transition period: 0 transition type: 0 codec: p
> [17:59:14.952482] sendSTAT:143 [0x730d70]: STAT:[STMf] msplayed 0
> [17:59:14.952884] sq_callback:281 [0x78f770]: codec:p, ch:2, s:16,
> r:44100
> [17:59:14.953003] sq_callback:296 [0x78f770]: no matching codec in
> player
> [17:59:14.953046] sendSTAT:143 [0x730d70]: STAT:[STMn] msplayed 0
> [17:59:15.100224] XMLGetFirstDocumentItem:69 (BUG)
> ixmlNode_getFirstChild(tmpNode) returned NULL
> [17:59:15.100292] XMLGetFirstDocumentItem:69 (BUG)
> ixmlNode_getFirstChild(tmpNode) returned NULL
> [17:59:15.102009] SyncNotifState:479 UpMpd: uPNP stop
> [17:59:15.102043] sq_notify:1098 [0x730d70] notify STOP
> 
> Thanks and Best Regards

You need to apply the patches to the libupnp (based on 1.6.19). Other
than that, as said on github, the problem is clear in the log

Code:
--------------------
    
  [17:59:14.952884] sq_callback:281 [0x78f770]: codec:p, ch:2, s:16, r:44100
  [17:59:14.953003] sq_callback:296 [0x78f770]: no matching codec in player
  
--------------------

You are trying to send PCM and upmpdcli does not accept the pcm format
you have set. Look at the manual and parameter <raw_audio_format>.
Search for "protocolinfo" in the logfile when you set all logs to debug.
It will tell you what upnpdcli supports



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
------------------------------------------------------------------------
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to