Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


I'm trying to get the Ocean Digital WR230S working as a uPnP device with
LMS.
It looks like philippe_44s squeeze3upnp has been around for a long
while. There are hundreds of posts on that announcement.
This thread seems to be the one relevant to amd64-freebsd.

My LMS is Logitech Media Server Version: 7.9.0 - 1425041484 @ Sun Mar 1
04:18:16 UTC 2015
Platform: amd64-freebsd
Perl Version: 5.18.4 - amd64-freebsd-thread-multi

The 3rd party Plugins found: UPnP/DLNA bridge (v1.20.0)
As per other Forum info, I turned off Andy Grundman's UPnP/DLNA Media
Interface, enabled philippe_44's plugin, and restarted.
I had to restart multiple times before the plug-in showed as enabled.

When I go to the settings page, it does not show as much as what 11max's
screen shots show.

28073

So I figure that  I've not got all the pieces.

I looked through the "Squeeze2upnp - UPnP/DLNA bridge - User Guide" but
couldn't quite connect the dots.

What am I missing?

Thanks in advance!


+---+
|Filename: upnp-screen.jpeg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28073|
+---+


wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


philippe_44 wrote: 
> Usually these device have "decent" support in being a UPnP Renderer, but
> are really bad at being a UPnP Control Point or Server. BTW, I did not
> mean Andy's work was bad at all, it's just that UPnP itself is a mess
> and trying to use the server side of it is a joke, IMHO

I totally agree.

I may have to learn WireShark and complain to Ocean Digital with logs
and chapter/verse of the protocol document if I can isolate when their
playback just falls over.

I've also considered building a piCorePlayer.  I was sort of hoping I
could jailbreak the WR230S and feed it piCore.  But my pointy hat needs
to grow a few inches before that's a possibility.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


Hi Philippe,

Since I have my production system back running, I can give you the os
details:

I added this line:

Code:


  $log->warn("OS Values: OS: $os->{'os'}, osName: $os->{'osName'}, osArch: 
$os->{'osArch'}, binArch: $os->{'binArch'}, uid: $os->{'uid'}.");
  
  



just after the call to 


Code:


  my $os = Slim::Utils::OSDetect::details();
  
  



and got these results:


Code:


  Plugins::UPnPBridge::Squeeze2upnp::binaries (22) OS Values: OS: Unix, osName: 
freebsd, osArch: amd64-freebsd, binArch: amd64-freebsd-thread-multi, uid: lms.
  




wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


If those other offerings are Linux, then yes, it was incorrect for me to
have moved them.
With the clearer sense of what freebsd looks like, your updated code
seems most correct to me.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


Perhaps this was fixed in a version of LMS more recent than a nightly
snapshot of 7.9.0 from a couple year ago.
Although there is Windows, Mac, and Linux setup code in LMS, there' is
nothing mentioning FreeBSD in the startup of LMS, 
not to mention whether or not there would be such code in your PlugIn...



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


[19-09-01 16:50:03.8866] Slim::Utils::Misc::msg (1220) Warning:
[16:50:03.8861] Use of uninitialized value in join or string at
/usr/local/lms/CPAN/Log/Log4perl/Appender.pm line 164.
[19-09-01 16:50:03.8871] Slim::Utils::Misc::msg (1220) Warning:
[16:50:03.8869] Use of uninitialized value in join or string at
/usr/local/lms/CPAN/Log/Log4perl/Appender.pm line 164.
[19-09-01 16:50:03.8873] Plugins::UPnPBridge::Settings::handler2 (266)
reading config: 
[19-09-01 16:50:28.0716] Plugins::UPnPBridge::Squeeze2upnp::stop (197)
killing squeeze2upnp
[19-09-01 16:50:43.1193] Plugins::UPnPBridge::Settings::handler2 (266)
reading config: .common.
[19-09-01 16:50:43.1899] Plugins::UPnPBridge::Settings::handler2 (266)
reading config: .common.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


I figured out why modified versions of Squeeze2upnp were being ignored:
After you edit the file you have to restart the lms server.
The lms server does not detect the change.
There is no way to restart the lms server from the web interface (unless
you get the moribund SrvrPowerCtrl plugin).
So now I'm restarting the server with:

/usr/local/etc/rc.d/lms restart

After doing that, I get modified code live.

The value of $os->{'os'} is "Unix".

This makes sense because of code I read in Utils::OSDetect.pl which sets
the "os" string to "Unix" if nothing gets set from existing tests.
(This supports my early theory that, owing to no explicit test for
freebsd, that we fall through to some default.)

The hard-coded binary is found, but the functionality isn't quite
there.
Here are the info-level log lines now:

[19-09-01 20:57:43.4153] main::init (392) Starting Logitech Media Server
(v7.9.0, 1425041484, Sun Mar  1 04:18:16 UTC 2015) perl 5.018004
[19-09-01 20:57:43.8827] Slim::Utils::Misc::msg (1220) Warning:
[20:57:43.8821] DBIx::Class::ResultSet::update_or_create(): Query
returned more than one row.  SQL that returns multiple rows is
DEPRECATED for ->find and ->single at /usr/local/lms/Slim/Schema.pm line
1877
[19-09-01 20:57:46.] Plugins::NPRRadio::Metadata::init (21) Register
NPR meta provider, default icon= 
[19-09-01 20:58:16.6001]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
upnp://192.168.1.43:51114/09%20Crocodile%20Rock.mp3 found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't exist
on disk - skipping!
[19-09-01 20:58:16.6017]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
file:///mnt/pool/share/upnp:/192.168.1.43:51114/09%2520Crocodile%2520Rock.mp3
found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't exist
on disk - skipping!
[19-09-01 20:58:25.4977] Plugins::UPnPBridge::Squeeze2upnp::binaries
(51) OS type: Unix
[19-09-01 20:58:25.4981] Plugins::UPnPBridge::Squeeze2upnp::binaries
(51) OS type: Unix



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


I do know perl, but I'm having trouble getting any kind of change to
what is displayed.

I'm editing
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge/Squeeze2upnp.pm

Editing line 90 to change the warn string to print the OS value.  But
even changing the text is having no effect.

I think the update is present because I do see at lines 51 and 52:

if ($os->{'os'} eq 'freebsd') {
return qw( squeeze2upnp-bsd-x64
squeeze2upnp-bsd-x64-static);

There's something very basic about how plugins work that I'm missing.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


Perhaps I am misunderstanding the next step.
As shown by the log trace in my previous post, two devices were found:

List of players currently in configuration file - Note that more devices
might have been discovered

SHIELD Android TV@ES(192.168.1.190)  bb:bb:58:af:bb:9c  
uuid:ed019537-813c-7249--38b27980SHIELD Android
TV@ES(192.168.1.190)
Denon AVR-X6200W bb:bb:1f:76:77:32  
uuid:5f9ec1b3-ff59-19bb-8530-0005cd682a68Denon AVR-X6200W

Shouldn't I find one or both of these devices in the "Player" pull down
so that I could actually try playing to them?



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


I enabled "Additional Debugging" in the setup menu.

Oddly, it showed up in the terminal window I used to restart lms rather
than the logfile I'm watching in another window.

I did "Erase" and "Generate" the config file, figuring that the one we
had from running 1.20.0 was bad.  Here is the log output:

[19-09-01 21:12:40.0788] main::init (392) Starting Logitech Media Server
(v7.9.0, 1425041484, Sun Mar  1 04:18:16 UTC 2015) perl 5.018004
# [21:14:35.599454] main:1654 Starting squeeze2upnp version: v1.20.0
(Aug  4 2019 @ 14:55:39)
[21:14:35.601984] Start:1421 Binding to 192.168.1.23:49152
[21:14:39.374285] AddMRDevice:1308 [0xb67940]: adding renderer (Denon
AVR-X6200W)
[21:14:39.481441] MasterHandler:990 [0xb67940]: subscribe success
[21:14:49.737603] AddMRDevice:1308 [0xb69b20]: adding renderer (SHIELD
Android TV@ES(192.168.1.190))
[21:14:49.737649] SendARP:359 No SendARP build for this platform
[21:14:49.737660] AddMRDevice:1320 [0xb69b20]: cannot get mac SHIELD
Android TV@ES(192.168.1.190), creating fake 9cbbaf58
[21:14:49.785026] MasterHandler:990 [0xb69b20]: subscribe success
[21:14:49.794582] XMLGetFirstDocumentItem:182 (BUG)
ixmlNode_getFirstChild(tmpNode) returned NULL
[21:16:34.273991] Stop:1442 stopping squeezelite devices ...
[21:16:34.274212] slimproto_close:927 [0xae3680] slimproto stop for
Denon AVR-X6200W
.[21:16:34.503102] slimproto:855 squeezelite [0xae3680] <=> player
[0xb67940]
[21:16:34.503204] slimproto:856 [0xae3680] connecting to 0.0.0.0:0
[21:16:34.513476] output_close:598 [0xae3680] close media renderer
[21:16:34.619219] slimproto_close:927 [0xae7890] slimproto stop for
SHIELD Android TV@ES(192.168.1.190)
.[21:16:34.619266] output_close:598 [0xae7890] close media renderer
[21:16:34.811469] Stop:1446 terminate update thread ...
[21:16:34.811742] Stop:1451 terminate main thread ...
[21:16:34.811888] Stop:1455 stopping UPnP devices ...
[21:16:35.048488] main:1654 Starting squeeze2upnp version: v1.20.0 (Aug 
4 2019 @ 14:55:39)
[21:16:35.048924] main:1662 

!! ERROR LOADING CONFIG FILE !

[21:16:35.050183] Start:1421 Binding to 192.168.1.23:49152
[21:16:37.591477] AddMRDevice:1308 [0xb67940]: adding renderer (Denon
AVR-X6200W)
[21:16:37.591534] SendARP:359 No SendARP build for this platform
[21:16:37.591544] AddMRDevice:1320 [0xb67940]: cannot get mac Denon
AVR-X6200W, creating fake 3277761f
[21:16:37.699687] MasterHandler:990 [0xb67940]: subscribe success
[21:16:43.223850] AddMRDevice:1308 [0xb69b20]: adding renderer (SHIELD
Android TV@ES(192.168.1.190))
[21:16:43.223898] SendARP:359 No SendARP build for this platform
[21:16:43.223908] AddMRDevice:1320 [0xb69b20]: cannot get mac SHIELD
Android TV@ES(192.168.1.190), creating fake 9cbbaf58
[21:16:43.247927] MasterHandler:990 [0xb69b20]: subscribe success
[21:16:43.254932] XMLGetFirstDocumentItem:182 (BUG)
ixmlNode_getFirstChild(tmpNode) returned NULL
[21:16:56.253086] Stop:1442 stopping squeezelite devices ...
[21:16:56.253251] Stop:1446 terminate update thread ...
[21:16:56.262825] Stop:1451 terminate main thread ...
[21:16:56.262942] Stop:1455 stopping UPnP devices ...
[21:16:57.087019] main:1654 Starting squeeze2upnp version: v1.20.0 (Aug 
4 2019 @ 14:55:39)
[21:16:57.088700] Start:1421 Binding to 192.168.1.23:49153
[21:16:58.616737] AddMRDevice:1308 [0xb67940]: adding renderer (SHIELD
Android TV@ES(192.168.1.190))
[21:16:58.636645] MasterHandler:990 [0xb67940]: subscribe success
[21:16:58.643643] XMLGetFirstDocumentItem:182 (BUG)
ixmlNode_getFirstChild(tmpNode) returned NULL



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


Note that we hard-coded a path to a binary we built, while waiting for
an update from you.
I still don't see a useful OS name in this log output.  :-(

[19-09-01 17:00:54.3307] Plugins::UPnPBridge::Squeeze2upnp::stop (197)
killing squeeze2upnp
[19-09-01 17:01:01.7028] main::init (392) Starting Logitech Media Server
(v7.9.0, 1425041484, Sun Mar  1 04:18:16 UTC 2015) perl 5.018004
[19-09-01 17:01:01.7227] Slim::Utils::Misc::msg (1220) Warning:
[17:01:01.7222] cannot remove path when cwd is
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge/Bin for
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge:  at
/usr/local/lms/Slim/Utils/PluginDownloader.pm line 91.
[19-09-01 17:01:03.7942] Slim::Utils::Misc::msg (1220) Warning:
[17:01:03.7937] DBIx::Class::ResultSet::update_or_create(): Query
returned more than one row.  SQL that returns multiple rows is
DEPRECATED for ->find and ->single at /usr/local/lms/Slim/Schema.pm line
1877
[19-09-01 17:01:06.7236] Plugins::NPRRadio::Metadata::init (21) Register
NPR meta provider, default icon= 
[19-09-01 17:01:36.1801]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
upnp://192.168.1.43:51114/09%20Crocodile%20Rock.mp3 found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't exist
on disk - skipping!
[19-09-01 17:01:36.1816]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
file:///mnt/pool/share/upnp:/192.168.1.43:51114/09%2520Crocodile%2520Rock.mp3
found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't exist
on disk - skipping!
[19-09-01 17:02:08.4106] Slim::Plugin::Extensions::Settings::handler
(33) attemp



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


I just tried restarting (by clicking on "Not Running" and hitting
"Apply"

It's not offering me binaries and the log says there's no binary set.

[19-09-01 17:14:42.0462] Plugins::UPnPBridge::Squeeze2upnp::start (90)
no binary set



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


My husband and I are looking inside the perl code.
Let us know the change you are making, and we can probably tweak it
too.

Is the following useful log output for you?

[19-09-01 14:35:41.3868] main::init (392) Starting Logitech Media Server
(v7.9.0, 1425041484, Sun Mar  1 04:18:16 UTC 2015) perl 5.018004
[19-09-01 14:35:43.3698] Slim::Utils::Misc::msg (1220) Warning:
[14:35:43.3693] DBIx::Class::ResultSet::update_or_create(): Query
returned more than one row.  SQL that returns multiple rows is
DEPRECATED for ->find and ->single at /usr/local/lms/Slim/Schema.pm line
1877
[19-09-01 14:35:46.3758] Plugins::NPRRadio::Metadata::init (21) Register
NPR meta provider, default icon=
[19-09-01 14:36:14.1474]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
upnp://192.168.1.43:51114/09%20Crocodile%20Rock.mp3 found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't
exist on disk - skipping!
[19-09-01 14:36:14.1486]
Slim::Formats::Playlists::Base::playlistEntryIsValid (120) Warning:
file:///mnt/pool/share/upnp:/192.168.1.43:51114/09%2520Crocodile%2520Rock.mp3
found in playlist:
file:///var/db/lms/prefs/clientplaylist_0004201f2adf.m3u doesn't
exist on disk - skipping!
[19-09-01 14:46:17.0645] Slim::Networking::IO::Select::__ANON__ (131)
Error: Select task failed calling Slim::Web::HTTP::processHTTP:
open(/var/db/lms/prefs/upnpbridge.xml): Permission denied at
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge/Settings.pm line
181.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x8144f5a68)
[19-09-01 14:47:25.2781] Slim::Networking::IO::Select::__ANON__ (131)
Error: Select task failed calling Slim::Web::HTTP::processHTTP:
open(/var/db/lms/prefs/upnpbridge.xml): Permission denied at
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge/Settings.pm line
181.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x814861198)
[19-09-01 14:52:02.3502] Plugins::UPnPBridge::Squeeze2upnp::start (85)
no binary set



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


The upnp plugin log level is currently set to Warn.

I'm not sure where to look, but does the following from the Log page
give you what you need?

Logitech Media Server Version: 7.9.0 - 1425041484 @ Sun Mar 1 04:18:16
UTC 2015
Hostname: lms_1
IP: 192.168.1.23
HTTP Port: 9000
OS: freebsd - EN - UTF-8
Platform: amd64-freebsd
Perl Version: 5.18.4 - amd64-freebsd-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 1



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-01 Thread wcattey


The debug log seems only to be telling about what config file parsing it
did...

[19-09-01 17:23:22.9828] Plugins::UPnPBridge::Settings::handler (61)
save settings required
[19-09-01 17:23:22.9878] Plugins::UPnPBridge::Settings::handler (118)
current: .common.previous: .common.
[19-09-01 17:23:22.9883] Plugins::UPnPBridge::Settings::handler (169)
writing XML config
[19-09-01 17:23:22.9891] Plugins::UPnPBridge::Settings::handler (170)
$VAR1 = {
'upnp_socket' => '?',
'main_log' => 'info',
'decode_log' => 'warn',
'stream_log' => 'warn',
'common' => {
'max_volume' => '100',
'send_metadata' => '1',
'remove_timeout' => '120',
'codecs' => 'aac,ogg,ops,flc,alc,aif,pcm,mp3',
'streambuf_size' => '524288',
'send_coverart' => '1',
'roon_mode' => '0',
'seek_after_pause' => '0',
'auto_play' => '0',
'forced_mimetypes' => 'HASH(0x8148e48b8)',
'raw_audio_format' => 'raw,wav,aif',
'server' => '?',
'volume_on_play' => '1',
'sample_rate' => '48000',
'L24_format' => '1',
'mode' => 'thru',
'volume_feedback' => '1',
'accept_nexturi' => '1',
'stream_length' => '-3',
'output_size' => '4194304',
'resample_options' => {},
'flac_header' => '1',
'enabled' => '1',
'send_icy' => '1'
},
'log_limit' => '-1',
'device' => [
{
'enabled' => '1',
'udn' =>
'uuid:f28ef8a7-b7f9-4b6b-bcd3-dcd3c27b42c0',
'mac' => 'bb:bb:1c:4d:b7:bf',
'name' => '[TV] Samsung 8 Series (65)',
'friendly_name' => '[TV] Samsung 8 Series
(65)'
},
{
'mac' => 'bb:bb:1f:76:77:32',
'udn' =>
'uuid:5f9ec1b3-ff59-19bb-8530-0005cd682a68',
'enabled' => '1',
'friendly_name' => 'Denon AVR-X6200W',
'name' => 'Denon AVR-X6200W'
}
],
'output_log' => 'info',
'slimmain_log' => 'warn',
'slimproto_log' => 'info',
'upnp_log' => 'info',
'util_log' => 'warn'
};
[19-09-01 17:23:22.9895] Plugins::UPnPBridge::Settings::handler (190)
full processing
[19-09-01 17:23:22.9898] Plugins::UPnPBridge::Settings::waitEndHandler
(214) helper stopped, processing with callback
[19-09-01 17:23:22.9902] Plugins::UPnPBridge::Settings::__ANON__ (180)
write file now
[19-09-01 17:23:22.9919] Plugins::UPnPBridge::Settings::waitEndHandler
(222) updating page
[19-09-01 17:23:22.9960] Plugins::UPnPBridge::Settings::handler2 (266)
reading config: .common.
[19-09-01 17:23:22.9966] Plugins::UPnPBridge::Settings::handler2 (267)
$VAR1 = [
{
'udn' => '.common.',
'name' => '[common parameters]'
},
{
'mac' => 'bb:bb:1c:4d:b7:bf',
'udn' => 'uuid:f28ef8a7-b7f9-4b6b-bcd3-dcd3c27b42c0',
'enabled' => '1',
'friendly_name' => '[TV] Samsung 8 Series (65)',
'name' => '[TV] Samsung 8 Series (65)'
},
{
'udn' => 'uuid:5f9ec1b3-ff59-19bb-8530-0005cd682a68',
'mac' => 'bb:bb:1f:76:77:32',
'enabled' => '1',
'friendly_name' => 'Denon AVR-X6200W',
'name' => 'Denon AVR-X6200W'
}
];
[19-09-01 17:23:22.9970] Plugins::UPnPBridge::Settings::handler2 (272)
reading: upnp_socket ?
[19-09-01 17:23:22.9975] Slim::Utils::Misc::msg (1220) Warning:
[17:23:22.9972] Use of uninitialized value in join or string at
/usr/local/lms/CPAN/Log/Log4perl/Appender.pm line 164.
[19-09-01 17:23:22.9980] Slim::Utils::Misc::msg (1220) Warning:
[17:23:22.9977] Use of uninitialized value in join or string at
/usr/local/lms/CPAN/Log/Log4perl/Appender.pm line 164.
[19-09-01 17:23:22.9981] Plugins::UPnPBridge::Settings::handler2 (272)
reading: cli_port 
[19-09-01 17:23:22.9984] Plugins::UPnPBridge::Settings::handler2 (272)
reading: log_limit -1
[19-09-01 17:23:30.7736] Plugins::UPnPBridge::Settings::handler (61)
save settings required
[19-09-01 17:23:30.7781] Plugins::UPnPBridge::Settings::handler (118)
current: .common.previous: .common.
[19-09-01 17:23:30.7786] Plugins::UPnPBridge::Settings::handler (169)
writing XML config
[19-09-01 17:23:30.7797] Plugins::UPnPBridge::Settings::handler (170)
$VAR1 = {
'slimmain_log' => 'warn',
'output_log' => 'info',
'device' => [
{
'friendly_name' => '[TV] Samsung 8 Series
(65)',
'name' => '[TV] Samsung 8 Series (65)',
'udn' =>
'uuid:f28ef8a7-b7f9-4b6b-bcd3-dcd3c27b42c0',
'mac' => 'bb:bb:1c:4d:b7:bf',
'enabled' => '1'
},
{
'mac' => 'bb:bb:1f:76:77:32',
'udn' =>
'uuid:5f9ec1b3-ff59-19bb-8530-0005cd682a68',
'enabled' => '1',
'friendly_name' => 'Denon AVR-X6200W',
'name' => 'Denon AVR-X6200W'
}
],
'upnp_log' => 'info',
'util_log' => 'warn',
'slimproto_log' => 'info',
'common' => {
'L24_format' => '1',
'mode' => 'thru',
'accept_nexturi' => '1',
'volume_feedback' => '1',
'flac_header' => '1',
'stream_length' => '-3',
'resample_options' => {},
'output_size' => '4194304',
'enabled' => '1',
'send_icy' => '1',
'max_volume' => '100',
'codecs' => 'aac,ogg,ops,flc,alc,aif,pcm,mp3',
'send_metadata' => '1',
'remove_timeout' => '120',
'auto_play' => '0',
'seek_after_pause' => '0',
'streambuf_size' => '524288',
'roon_mode' => '0',
'send_coverart' => '1',
'server' => '?',
'raw_audio_format' => 'raw,wav,aif',
'forced_mimetypes' => 'HASH(0x8148e48b8)',
'volume_on_play' => '1',
'sample_rate' => '48000'
},
'decode_log' => 'warn',
'stream_log' => 'warn',
'main_log' => 'info',
'upnp_socket' => '?',
'log_limit' => '-1'
};
[19-09-01 17:23:30.7802] 

Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


I did some more digging.
Apparently the UPNP devices were not showing up until a fix for bug 8113
was made in January 2016.
My lms hasn't been  updated since Feb of 2015.

Detail: 
Bug report: http://bugs.slimdevices.com/show_bug.cgi?id=8113
Commit:
https://github.com/Logitech/slimserver/commit/a7f6142af539af8d3ddd7e0d1833e4479cf2ce2e

So I need to update to an LMS version younger than 4 years old.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


There is code that offers says that it offers all linux options:


Code:


  # fallback to offering all linux options for case when architec$
  return qw(squeeze2upnp-x86-64 squeeze2upnp-x86-64-static squeez$
  squeeze2upnp-sparc squeeze2upnp-sparc-static squeeze2upnp-aarch$
  



But as we see, there is sparc, and aarch in that list.

I suggest that code be moved outside the Linux block, after the test for
Windows.  Something like this:


Code:


  # diff -c Squeeze2upnp.pm.orig Squeeze2upnp.pm
  *** Squeeze2upnp.pm.orig  Mon Sep  2 15:02:25 2019
  --- Squeeze2upnp.pm   Mon Sep  2 14:59:29 2019
  ***
  *** 19,25 
  
  sub binaries {
my $os = Slim::Utils::OSDetect::details();
  - 
if ($os->{'os'} eq 'Linux') {
  
if ($os->{'osArch'} =~ /x86_64/) {
  --- 19,24 
  ***
  *** 44,58 
return qw( squeeze2upnp-sparc-static 
squeeze2upnp-sparc);
}

  - # fallback to offering all linux options for case when 
architecture detection does not work
  - return qw(squeeze2upnp-x86-64 squeeze2upnp-x86-64-static 
squeeze2upnp-x86 squeeze2upnp-x86-static squeeze2upnp-armv6hf 
squeeze2upnp-armv6hf-static squeeze2upnp-armv5te squeeze2upnp-armv5te-static 
squeeze2upnp-ppc squeeze2upnp-ppc-static
  - squeeze2upnp-sparc squeeze2upnp-sparc-static 
squeeze2upnp-aarch64 squeeze2upnp-aarch64_static);
}

  - if ($os->{'os'} eq 'freebsd') {
  - return qw( squeeze2upnp-bsd-x64 squeeze2upnp-bsd-x64-static);
  - }   
  - 
if ($os->{'os'} eq 'Darwin') {
return qw( squeeze2upnp-osx-multi-static 
squeeze2upnp-osx-multi);
}
  --- 43,50 
  ***
  *** 60,65 
  --- 52,61 
if ($os->{'os'} eq 'Windows') {
return qw(squeeze2upnp-win.exe);
}   
  + 
  + # fallback to offering all linux options for case when architecture 
detection does not work
  + return qw(squeeze2upnp-x86-64 squeeze2upnp-x86-64-static 
squeeze2upnp-x86 squeeze2upnp-x86-static squeeze2upnp-armv6hf 
squeeze2upnp-armv6hf-static squeeze2upnp-armv5te squeeze2upnp-armv5te-static 
squeeze2upnp-ppc squeeze2upnp-ppc-static squeeze2upnp-sparc 
squeeze2upnp-sparc-static squeeze2upnp-aarch64 squeeze2upnp-aarch64_static 
squeeze2upnp-bsd-x64 squeeze2upnp-bsd-x64-static);
  + 

  }
  
  




wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-02 Thread wcattey


Since I was editing files, I decided to install my favorite editor,
unfortunately most distributions include an elephant, a kitchen sink,
and various other bits of nastiness when one installs emacs.  It updated
perl and god knows what else.  I've been trying to get back to a working
7.9.0 system, but
at this point it's simpler to blow the jail away and start over with
7.9.2 nightly.

I DO understand how this stuff fits together MUCH better now.



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-05 Thread wcattey


I'm sending this note in the hopes that someone has traveled this route
and knows the answer, rather than my discovering it from yet another
painful learning experience (like my earlier post on recovering from a
perl update.)

If I do a fresh install of LMS in a new FreeBSD jail, what config files
do I need to copy out of my old jail?

I think in the dusty realms of the past, I actually linked a few config
files out to a shared volume, so I'm VERY fearful that, if I run my new
LMS server in my new deployment jail, I'll trash my running old version
because I'll overwrite customizations I've built up since 2015.

Any pointers to docs or inventories of active config files that are
set/modified in the operation of LMS would be most welcome!



wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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


Re: [SlimDevices: Plugins] LMS-to-uPnP on FreeBSD 11.1 - squeeze2upnp-amd64 - won't work

2019-09-06 Thread wcattey


Hi Philippe,

I was having trouble updating to the new version.
I kept getting errors of the form:

[19-09-06 11:01:08.8739] Slim::Utils::Misc::msg (1220) Warning:
[11:01:08.8734] cannot remove path when cwd is
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge for
/var/db/lms/cache/InstalledPlugins/Plugins/UPnPBridge:  at
/usr/local/lms/Slim/Utils/PluginDownloader.pm line 91.

I think you noticed that error and flagged it earlier in this thread.

I checked the ownership and the file modes of the directory and the
files therein. Everything was owned by lms and writeable to lms.

Finally I moved the UPnPBridge  directory aside, restarted LMS a couple
times, and finally got it to blow out saying it could not find the
plugin.
Then I moved the UPnPBridge back into place, performed the update,
(which also took a couple restarts before it actually happened)
and FINALLY got 1.20.2 in place.

After that all happened, I checked the pull-down and the right files are
present.

*QUESTION*:  Does the plugin have a running process that is started when
the current working directory is the install directory?
That might be what PluginDownloader.pm is complaining about.



LMS 7.9 - 2xSB2, 2xBoom, 2xKodi, Ocean Digital WR2300S, Denon
AVR-X6200W, SHIELD Android TV

wcattey's Profile: http://forums.slimdevices.com/member.php?userid=7506
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