Re: [SlimDevices: Beta] Ver 7.9 Database Optimization Questions

2017-12-12 Thread Roland0

mherger wrote: 
> 
> > (every 100 tracks)
> 
> How so? No, the analyze is run all at the end, in one go.
> 
What I meant is that analyze is run at the end only if >100 changed
tracks have accumulated since the last analyze.
So one could increase OPTIMIZE_THRESHOLD to reduce the number of times
analyze is run



SW: 'extGUI4LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=108377

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Ver 7.9 Database Optimization Questions

2017-12-12 Thread Michael Herger

What exactly happens during the database optimization phase of

scanning?

It does run a "vacuum" on the database:


If I understand the code correctly, a SQL ANALYZE is executed as well


Ah, correct. That's actually taking much longer than the vacuum, iirc.


(every 100 tracks).


How so? No, the analyze is run all at the end, in one go.

--

Michael
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Ver 7.9 Database Optimization Questions

2017-12-12 Thread Roland0

mherger wrote: 
> > What exactly happens during the database optimization phase of
> scanning?
> 
> It does run a "vacuum" on the database:
> 
If I understand the code correctly, a SQL ANALYZE is executed as well
(every 100 tracks).
Not sure how long this takes, but according to the docs, a full table
scan will be done, so this may take some time if the DB is large,,,
Setting logging to info should show the relevant entries.



SW: 'extGUI4LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=108377

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Issue with UPnP / DLNA Media Interface on Synology NAS

2017-12-12 Thread pinkdot

Doesn't seem like an Synology issue. Something is triggering upnp to
unsubscribe. Question is what. 

Do you have Media Server active on your nas? If so, switch of Media
Server and see if that's interfering. 

(I'm still willing to clean up a package for you, but I doubt it will
fix the issue, just let me know).

Sent from my Redmi 3S using Tapatalk



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy + Raspotify' (https://www.mopidy.com/)),  Allo Boss DAC-
Exposure 3010S2 - PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=108364

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] LMS 7.9 and DSD

2017-12-12 Thread Linvincible

Hi Guys,
I'm a bit lost since I reinstalled my LMS server yesterday, DSD files
don't work anymore.
I did reinstall the DSDPlayer plugin and configure it for my player
(picoreplayer)
I had done a reinstall recently also, still with the Synology package,
and didn't have any issues
LMS is running on a Synology 415+
What's the latest on getting that to work?
Is the DSDPlayer in the plugin list the correct one or should I look for
an alternate repo where another plugin is available?
That was the case in the past with pinkdot's repo...
I find so many old threads about this I'm confused as per what to do
now!



Syno 415+ with LMS 7.9 -> Picoreplayer 3.11 with Audio-GD I2S hdmi
output -> PS Audio DirectStream -> Pass Labs XP20 -> Pass Labs XVR-1 ->
2 x Karan KA S 400 -> XTZ Divine 100.49 -> happiness

Linvincible's Profile: http://forums.slimdevices.com/member.php?userid=63198
View this thread: http://forums.slimdevices.com/showthread.php?t=101641

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Issue with UPnP / DLNA Media Interface on Synology NAS

2017-12-12 Thread doncmdr

> I wouldn't take the docker route, yet. What Nas do you have? 
> I'm willing to build a cleaned up version of the package.
@pinkdot: Thank you for offering your help. I have a DS416play.

Yesterday I did some more testing about the issue.
I installed an older LMS 7.9.0 - 1453293926 package on the Synology to
see if the issue was introduced with the latest build.
I also installed the latest nightly 7.9.1 - 1512734075 on my MACmini.
After that things did not change.  UPnP Mediaserver on MACmini still
always available and on the Synology dissappearing after 30min.

I also found out that not only restarting LMS brings the Mediaserver
back but also unplugging the Ethernet cable on my AV Receiver for a few
seconds seems to trigger an update
of the list of available Media servers. 
I don't know enough about UPnP protocol to know if this is related, but
I found the following in the log files after plugging in the Ethernet
cable again:

Code:


  17-12-11 17:15:46.8001 Slim::Plugin::UPnP::Discovery::_read (194) M-SEARCH 
from 192.168.11.131:38583 for upnp:rootdevice (mx: 3)
  [17-12-11 17:15:47.2153] Slim::Plugin::UPnP::Discovery::__ANON__ (497) 
Replying to 192.168.11.131:38583: "HTTP/1.1 200 OK\r\nCache-Control: 
max-age=1800\r\nDate: Mon, 11 Dec 2017 16:15:46 GMT\r\nExt: \r\nLocation: 
http://192.168.11.141:9002/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A26%3A15%3Aaa\r\nServer:
 Linux/x86_64-linux UPnP/1.0 DLNADOC/1.50 
LogitechMediaServer/7.9.0/1453293926\r\nST: upnp:rootdevice\r\nUSN: 
uuid:ED65BBE1-1982-C86F-89EB-450D777CDA45::upnp:rootdevice\r\n\r\n"
  [17-12-11 17:15:47.2274] Slim::Plugin::UPnP::MediaRenderer::description (214) 
MediaRenderer.xml for 00:04:20:26:15:aa requested by dLeyna/0.5.0 GUPnP/0.20.13 
DLNADOC/1.50
  [17-12-11 17:15:47.3015] Slim::Plugin::UPnP::Discovery::_read (194) M-SEARCH 
from 192.168.11.131:38583 for upnp:rootdevice (mx: 3)
  [17-12-11 17:15:47.5009] Slim::Plugin::UPnP::Discovery::__ANON__ (497) 
Replying to 192.168.11.131:38583: "HTTP/1.1 200 OK\r\nCache-Control: 
max-age=1800\r\nDate: Mon, 11 Dec 2017 16:15:47 GMT\r\nExt: \r\nLocation: 
http://192.168.11.141:9002/plugins/UPnP/MediaRenderer.xml?player=00%3A04%3A20%3A28%3A4e%3A37\r\nServer:
 Linux/x86_64-linux UPnP/1.0 DLNADOC/1.50 
LogitechMediaServer/7.9.0/1453293926\r\nST: upnp:rootdevice\r\nUSN: 
uuid:997EC018-A870-E981-ABCF-A418EFB85C4C::upnp:rootdevice\r\n\r\n"
  [17-12-11 17:15:47.5140] Slim::Plugin::UPnP::MediaRenderer::description (214) 
MediaRenderer.xml for 00:04:20:28:4e:37 requested by dLeyna/0.5.0 GUPnP/0.20.13 
DLNADOC/1.50
  [17-12-11 17:15:47.8017] Slim::Plugin::UPnP::Discovery::_read (194) M-SEARCH 
from 192.168.11.131:38583 for upnp:rootdevice (mx: 3)
  [17-12-11 17:15:48.3055] Slim::Plugin::UPnP::Discovery::__ANON__ (497) 
Replying to 192.168.11.131:38583: "HTTP/1.1 200 OK\r\nCache-Control: 
max-age=1800\r\nDate: Mon, 11 Dec 2017 16:15:47 GMT\r\nExt: \r\nLocation: 
http://192.168.11.141:9002/plugins/UPnP/MediaServer.xml\r\nServer: 
Linux/x86_64-linux UPnP/1.0 DLNADOC/1.50 
LogitechMediaServer/7.9.0/1453293926\r\nST: upnp:rootdevice\r\nUSN: 
uuid:31587DD1-0AAD-4594-9B21-A074D0318BC4::upnp:rootdevice\r\n\r\n"
  [17-12-11 17:15:48.3408] Slim::Plugin::UPnP::MediaServer::description (99) 
MediaServer.xml requested by dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50
  [17-12-11 17:15:48.3528] Slim::Plugin::UPnP::Discovery::__ANON__ (497) 
Replying to 192.168.11.131:38583: "HTTP/1.1 200 OK\r\nCache-Control: 
max-age=1800\r\nDate: Mon, 11 Dec 2017 16:15:46 GMT\r\nExt: \r\nLocation: 
http://192.168.11.141:9002/plugins/UPnP/MediaServer.xml\r\nServer: 
Linux/x86_64-linux UPnP/1.0 DLNADOC/1.50 
LogitechMediaServer/7.9.0/1453293926\r\nST: upnp:rootdevice\r\nUSN: 
uuid:31587DD1-0AAD-4594-9B21-A074D0318BC4::upnp:rootdevice\r\n\r\n"
  [17-12-11 17:15:48.3825] Slim::Plugin::UPnP::SOAPServer::processControl (136) 
Invoking 
Slim::Plugin::UPnP::MediaServer::ContentDirectory->GetSearchCapabilities( undef 
)
  [17-12-11 17:15:48.5128] Slim::Plugin::UPnP::SOAPServer::processControl (136) 
Invoking 
Slim::Plugin::UPnP::MediaServer::ContentDirectory->GetSortCapabilities( undef )
  [17-12-11 17:15:48.5397] Slim::Plugin::UPnP::SOAPServer::processControl (99) 
SOAPServer: Slim::Plugin::UPnP::MediaServer::ContentDirectory does not 
implement GetSortExtensionCapabilities
  [17-12-11 17:15:48.5438] Slim::Plugin::UPnP::SOAPServer::fault (227) UPnP 
fault: 401 / Invalid Action
  [17-12-11 17:15:48.5442] Slim::Plugin::UPnP::SOAPServer::fault (228) Result: 
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/;>s:ClientUPnPError401Invalid 
Action
  [17-12-11 17:15:48.5563] Slim::Plugin::UPnP::SOAPServer::processControl (99) 
SOAPServer: Slim::Plugin::UPnP::MediaServer::ContentDirectory does not 
implement