Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-29 Thread Daverz

Hmmm, the server didn't tell me a new plugin update was available like
it usually does.  Seems to start OK now (log attached).  We'll see how
a scan goes.


+---+
|Filename: server.log.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12669|
+---+

-- 
Daverz

Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-28 Thread Daverz

Custom scan is still completely broken for me.  Recent log attached.


+---+
|Filename: server.log.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12666|
+---+

-- 
Daverz

Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-28 Thread erland

Daverz;665918 Wrote: 
 Custom scan is still completely broken for me.  Recent log attached.
 
Could you try if the 2.8.3601 version I just released solves it ?

For some reasons it looks like some of the Custom Scan tables has been
removed in your database and the previous version only checked for
customscan_track_attribute and if it exists it ignore to create the
other Custom Scan table. The 2.8.3601 version should solve this by
always recreating the Custom Scan tables if they don't already exists.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-24 Thread Daverz

erland;664989 Wrote: 
 Could you try to enable INFO level logging on Custom Scan, activate
 startup refresh and post the log after a SBS restart so we can see
 which part of the refresh operation that takes time.

Attached.  Also shows a traceback when I try to run the Custom Scan
Info database query.


+---+
|Filename: server.log.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12662|
+---+

-- 
Daverz

Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-24 Thread PasTim

My Custom browse menus for custom scan items are currently behaving
well, but initial startup is very low (10 minutes or so).  I am
beginning to wonder whether some recent change in custom scan may be
causing the custom scan data to be read into memory at startup, thus
obviating the need for a lot of disc reads and delays when first using
the menus.

This behaviour is OK for me.  I'm much happier waiting a while at boot
time than having music interrupted when I'm listening.

I can't be sure that the CB menus are now OK, but they haven't given me
problems for some days now.

I am on the latest versions of all plugins.


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-24 Thread PasTim

I spoke too soon.  Having booted up my PC and checked the menus were OK
early today I was then busy doing other stuff and not using SBS at all.
When I tried to run the same CB menu that was OK this morning, it took
1 1/4 minutes or thereabouts.  

It's as if there is some disk cache flushing going on somewhere.


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-24 Thread erland

PasTim;665095 Wrote: 
 My Custom browse menus for custom scan items are currently behaving
 well, but initial startup is very low (10 minutes or so).  I am
 beginning to wonder whether some recent change in custom scan may be
 causing the custom scan data to be read into memory at startup, thus
 obviating the need for a lot of disc reads and delays when first using
 the menus.
 
It optimize the database at startup, that was introduced in one of the
latest versions. I suppose SQLite might load a lot of data into memory
when doing this, which could give the positive side effect it results
in.

I still think I need to find a solution for this because neither a
startup time of 10 minutes or slow queries is acceptable, even though
it might work as a temporary work around.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-23 Thread erland

Just to make sure, you both have the Startup refresh and Rescan
refresh options in Various Settings enabled ?

Is it possible for you to install the Database Query plugin and run its
Custom Scan Statistics report and post the result ? If you have
already posted it earlier, just link to that post.
I'd like to see the number entries for each tag in your library to make
it easier for me to simulate something similar in my own setup.

Does the issues only appear after you have used the system for a while
or do they also happen immediately after a rescan has finished ?

Do you have automatic rescans enabled in SBS
Settings/Advanced/Performance ? If so, could you try to disable it for
a while to see if that solves the issues ?

As a bit of background information:
- Custom Scan runs an analyze at SBS startup if the Startup refresh
option has been enabled, the purpose of this is to optimize the
database access based on the latest data.
- The same analyze operation is also executed at end of a rescan

I've seen issues where changing data without running this analyze
operation can result in slow queries laater, however, as long as you
have the Startup refresh option enabled, restarting SBS should solve
that.

These kind of issues never happened in 7.5 with the MySQL database, so
I'm pretty sure it's somehow related to the database backend. They
could probably be solved by manually switching 7.6 back to use MySQL
but that requires some manual configuration and it's not officially
supported by Logitech so there might be bugs.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-23 Thread PasTim

erland;664929 Wrote: 
 Just to make sure, you both have the Startup refresh and Rescan
 refresh options in Various Settings enabled ?
Yes - both.  Note that startup can be very slow (several minutes) if I
have changed something without a rescan.

 Is it possible for you to install the Database Query plugin and run its
 Custom Scan Statistics report and post the result ? If you have
 already posted it earlier, just link to that post.
 I'd like to see the number entries for each tag in your library to make
 it easier for me to simulate something similar in my own setup.

Attached (in xml format but with .txt extension since the upload
doesn't like .xml).

 Does the issues only appear after you have used the system for a while
 or do they also happen immediately after a rescan has finished ?
In my system response times are fine after a rescan.  It's when I have
stopped SBS, and restarted the PC and then SBS that it is worst.

 Do you have automatic rescans enabled in SBS
 Settings/Advanced/Performance ? If so, could you try to disable it for
 a while to see if that solves the issues ?
Not available on Windows.


+---+
|Filename: custom scan inconsistency.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12647|
+---+

-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-23 Thread Daverz

erland;664929 Wrote: 
 Just to make sure, you both have the Startup refresh
 

I turned off startup refresh because it was taking way too much time
during server startup.

 
 and Rescan refresh options in Various Settings enabled ?
 

Yes, I never turned that off.

 
 Is it possible for you to install the Database Query plugin and run its
 Custom Scan Statistics report and post the result ? 
 

If I have time later I'll try that.


-- 
Daverz

Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-23 Thread erland

Daverz;664959 Wrote: 
 I turned off startup refresh because it was taking way too much time
 during server startup.
 

Could you try to enable INFO level logging on Custom Scan, activate
startup refresh and post the log after a SBS restart so we can see
which part of the refresh operation that takes time.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-23 Thread PasTim

erland;664989 Wrote: 
 Could you try to enable INFO level logging on Custom Scan, activate
 startup refresh and post the log after a SBS restart so we can see
 which part of the refresh operation that takes time.

Startup rescan attached.  

I also enabled 'info' on custom browse, but when I opened a menu this
time it ran very quickly.  I haven't quite fathomed precisely when it
is that it runs slowly and causes problems.


+---+
|Filename: sbs startup.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12652|
+---+

-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


Re: [SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-22 Thread Daverz

I've been having the same problem.  Custom Browse is slower and less
stable, making my server unusable for minutes at a time.  I'll often
see message like


[11-10-17 20:46:36.8808]
Slim::Networking::SqueezeNetwork::Players::_players_error (317) Unable
to get players from SN: Connect timed out: , retrying in 300 seconds
[11-10-17 20:46:36.8835]
Slim::Networking::SqueezeNetwork::Players::_players_error (317) Unable
to get players from SN: Connect timed out: , retrying in 600 seconds
[11-10-17 20:46:36.8863]
Slim::Networking::SqueezeNetwork::Players::_players_error (317) Unable
to get players from SN: Connect timed out: , retrying in 900 seconds
[11-10-17 20:46:36.]
Slim::Networking::SqueezeNetwork::Players::_players_error (317) Unable
to get players from SN: Connect timed out: , retrying in 1200 seconds
[11-10-17 20:46:36.8914]
Slim::Networking::SqueezeNetwork::Players::_players_error (317) Unable
to get players from SN: Timed out waiting for data

in my logs.  This is CB v2.12.3650, SBS 7.6.1 on Ubuntu 11.04.


-- 
Daverz

Daverz's Profile: http://forums.slimdevices.com/member.php?userid=32335
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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


[SlimDevices: Plugins] Custom Browse / Scan features interrupting music

2011-10-11 Thread PasTim

With the current versions of CB and CS (the latter being Alpha for
testing but the pukka release version was no different) I'm getting
more breaks in music playing whilst using menus.

For instance, I just tried to go to the Custom Scan menu and select
'Various settings'.  My music playing stopped for 20 seconds or so.

As I have reported before, Custom Browse menus which use custom tags
can break music playing for 30 seconds or more (usually after an
initial delay of over 30 seconds), sometimes taking over 1 minute to
show the menu.

My current set-up for Custom scan is that all 'refresh' and 'rescan'
options are set to Yes. 

Under 'Performance' I have the High model (4GB memory), server at -6
above normal, scanner at 0 normal.

What else can I try to fix this?  It's a problem that doesn't hit me
for a while because I haven't been searching for stuff whilst playing. 
Then when I do, and I get long breaks, it is really quite a nuisance.

Am I the only one to have this type of issue?  It would be useful to
know since in that case I'll have to dig into my Windows set-up to see
if there's anything causing this.


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=90840

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