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.7777] 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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to