I didn't found any suitable uPnP plugin for FreeBSD 11.1 amd64
architecture and therefore i have compiled it from source  LMS-to-uPnP.

The plugin files (see below) have been created successfully, also the
Bridge starts up successfully too.
After a network scan was done my uPnP Players are recognized by LMS.

For example: the LMS information details:

Player Information : Information on all identified devices connected to
Logitech Media Server

DABMAN i200 CD
Player Model: SqueezeLite
Player Type: squeezelite
Player IP Address: 192.168.10.33
Player MAC Address: bb:bb:8c:f2:a0:38

But streaming to the client fails. The client display details:

Connecting....
Buffering 25%..100%...
Stop Playing

The LMS debug log details at least: device off or not controlled by LMS

[12:05:20.022017] stream_sock:421 [0x64b850] header: GET
/wdr/wdr4/live/mp3/128/stream.mp3?ar-distributor=f0a1 HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: */*
Host: wdr-wdr4-live.cast.addradio.de
User-Agent: iTunes/4.7.1 (Unix; N; freebsd; amd64-freebsd; EN; utf8)
SqueezeCenter, Squeezebox Server, Logitech Media
Server/7.9.1/1502265250
Icy-Metadata: 1

[12:05:20.022069] sq_callback:266 [0x6aa960]: device off or not
controlled by LMS

Actually i do not recognized what can be wrong here. Maybe the log file
helps to see more.

I also created the plugins for an RPI3 running FreeBSD on arm64. The
behaviour on arm64 is the same like an amd64. Maybe i have someting made
wrong during compilation.
FreeBSD raspberry 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r326378: Thu Nov
30 13:34:13 UTC 2017    
r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC 
arm64


$ cd
/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
$ ls -ltr
.....
-rwxr-xr-x  1 lms  lms   303032 Jan 23 10:25 squeeze2upnp-amd64
-rwxr-xr-x  1 lms  lms  1328440 Jan 23 10:25 squeeze2upnp-amd64-static

$ file squeeze2upnp-amd64
squeeze2upnp-amd64: ELF 64-bit LSB executable, x86-64, version 1
(FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for
FreeBSD 11.1, FreeBSD-style, stripped

$ ps auxww | grep -i  upnp
lms        91671   0.0  0.0   29316    4212  -  S    11:46      0:00.02
/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-amd64
-Z -I -b 192.168.10.33 -f /Library/LMS/slimserver/Logs/upnpbridge.log -d
all=debug -x /Library/LMS/slimserver/prefs/upnpbridge.xml



root@raspberry:~ # ls -ltr
/Library/LMS/slimserver/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin
....
-rwxr-xr-x  1 lms  lms   396752 Jan 23 10:30 squeeze2upnp-arm64
-rwxr-xr-x  1 lms  lms  1479544 Jan 23 10:30 squeeze2upnp-arm64-static


+-------------------------------------------------------------------+
|Filename: freebsd.png                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24421|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
x11max's Profile: http://forums.slimdevices.com/member.php?userid=30554
View this thread: http://forums.slimdevices.com/showthread.php?t=108612

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to