Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-11 Thread bstrulo


mherger wrote: 
> > So, pretty clear, the web ui updates the lastActivityTime on the
> > displayed player and thereby prevents sleep.
> 
> What web UI are you using? Can you figure out (using the browser's dev 
> tools) what requests the web UI is sending?

I use classic and material but this was classic.

This is what I got by copying the request, and then the response - it
looks like the JSONRPC one does update the time:


Code:

http://192.168.1.100:9000/jsonrpc.js
  POST /jsonrpc.js HTTP/1.1
  Connection: keep-alive
  Content-Length: 69
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  Cookie: Squeezebox-expandPlayerControl=true; Squeezebox-expanded-MY_MUSIC=1; 
Squeezebox-expanded-FAVORITES=0; Squeezebox-expanded-PLUGINS=0; 
Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=0; Squeezebox-expanded-RADIO=1; 
Squeezebox-enableHiDPI=1.25; Squeezebox-expanded-activePlugins=1; 
Squeezebox-expanded-inactivePlugins=1; Squeezebox-expanded-otherPlugins0=1; 
Squeezebox-playersettings=null; 
Squeezebox-advancedsettings=settings/server/debugging.html%3F; 
Squeezebox-albumView=; Squeezebox-player=00%3A04%3A20%3A12%3A45%3A0c
  X-Requested-With: XMLHttpRequest
  
  
{"params":["",["serverstatus","0","999"]],"method":"slim.request","id":1,"result":{"other
 player count":0,"httpport":"9000","info total albums":3115,"player 
count":2,"ip":"192.168.1.100","version":"8.3.1","players_loop":[{"seq_no":0,"playerid":"00:04:20:12:45:0c","displaytype":"graphic-320x32","connected":1,"ip":"192.168.1.62:38762","model":"squeezebox3","name":"Kitchen","firmware":137,"uuid":null,"isplayer":1,"canpoweroff":1,"isplaying":0,"playerindex":"0","power":0,"modelname":"Squeezebox
 
Classic"},{"seq_no":"11","playerid":"00:04:20:26:6c:d2","displaytype":"none","connected":1,"ip":"192.168.1.133:59116","model":"baby","name":"Squeezebox
 
Radio","firmware":"8.0.1-r16907","uuid":"32f41c9fa9c2ca28e57c1e44ecc1","isplayer":1,"canpoweroff":1,"isplaying":1,"playerindex":1,"power":1,"modelname":"Squeezebox
 Radio"}],"uuid":"864f0003-a2dd-44cd-b2d9-806eb0a4a09d","sn player 
count":0,"info total artists":2266,"info total 
songs":24095,"lastscan":"1670733289","info total genres":13
 5,"info total duration":8005338.77200013,"mac":"30:85:a9:9e:be:96"}}



I also looked at what material did - it seems to be using cometd.  I
think that one DOESN'T update the lastActivityTime:  


Code:

http://192.168.1.100:9000/cometd/connect
  POST /cometd/connect HTTP/1.1
  Connection: keep-alive
  Content-Length: 93
  Content-Type: application/json;charset=UTF-8
  Cookie: Squeezebox-expandPlayerControl=true; Squeezebox-expanded-MY_MUSIC=1; 
Squeezebox-expanded-FAVORITES=0; Squeezebox-expanded-PLUGINS=0; 
Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=0; Squeezebox-expanded-RADIO=1; 
Squeezebox-enableHiDPI=1.25; Squeezebox-expanded-activePlugins=1; 
Squeezebox-expanded-inactivePlugins=1; Squeezebox-expanded-otherPlugins0=1; 
Squeezebox-playersettings=null; 
Squeezebox-advancedsettings=settings/server/debugging.html%3F; 
Squeezebox-albumView=; Squeezebox-player=00%3A04%3A20%3A12%3A45%3A0c
  
  [{"timestamp":"Sun, 11 Dec 2022 14:15:02 
GMT","clientId":"649d0956","channel":"/meta/connect","id":"25","advice":{"interval":0},"successful":true},{"data":{"seq_no":0,"mixer
 
volume":100,"player_name":"Kitchen","playlist_tracks":1,"player_connected":1,"time":0,"mode":"stop","playlist_timestamp":1670708541.75329,"rate":1,"can_seek":1,"power":0,"playlist
 mode":"off","playlist 
repeat":0,"duration":398.573,"playlist_cur_index":"0","signalstrength":0,"digital_volume_control":1,"playlist
 
shuffle":0,"player_ip":"192.168.1.62:38762"},"id":"7","channel":"/649d0956/slim/playerstatus/00:04:20:12:45:0c","ext":{"priority":""}}]




bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-10 Thread bstrulo


mherger wrote: 
> A web UI polling for player state would 
> probably happen to keep it "active".

OK, looks like that might be what's happening.  I put the logging back
into the PreventSystemStandby plugin and shut down the web ui. 
lastActivityTime not increasing.  Opened up the web ui (classic) and the
first of my two players is now having its lastActivityTime updated quite
regularly - more than once a minute.  This is the player being displayed
in the web ui.  Switch the web ui to the other player and that one gets
updated.

So, pretty clear, the web ui updates the lastActivityTime on the
displayed player and thereby prevents sleep.

Any chance of getting that changed?  It doesn't seem to be correct
behaviour to me.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-10 Thread bstrulo


mherger wrote: 
> > The Windows server itself sometimes has a browser running which could
> be
> > using the web ui, so if that was the issue then it could wake up and
> > then keep itself awake.  But can the web ui keep the server awake? 
> I'm
> 
> Yes. See the links I provided. A web UI polling for player state would 
> probably happen to keep it "active".

I haven't tested that that is the case. But if it is, it seems to me to
qualify as a bug.  The PreventSystemStandby plugin docs strongly suggest
that it is intended to stop standby when players are playing, not if
they are all off.  Perhaps the code could be changed so that the time is
only updated if the player is actually active or changed in some way by
the request.  A simple poll shouldn't imply "active" in my opinion.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-09 Thread bstrulo


Well, I do use the web ui and Squeezelite-X.  When the logging was being
done, the computer with Squeezelite-X was off, but this one (the one for
posting to the forums :-)) was on and I probably had a tab with the web
UI open on it.  Yes, I certainly did because I was checking the log.

The Windows server itself sometimes has a browser running which could be
using the web ui, so if that was the issue then it could wake up and
then keep itself awake.  But can the web ui keep the server awake?  I'm
not 100%  sure that matches the symptoms I'm seeing but it could do, I
suppose.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-09 Thread bstrulo


mherger wrote: 
> > 
> As you're able to modify code you could add a log statement to the 
> callers of lastActivityTime($timestamp). It's only called in a few
> places:
> 

Sorry, I could modify the Plugin code because it's actually in the
install but the rest is compiled - I'm not able to compile the server
from source at present.

Could you find the logging that would reveal those calls?  For example I
can switch on plugin.cli logging to detect if it's that (and that one
doesn't seem to be the issue).



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-09 Thread bstrulo


mherger wrote: 
> 
> You should try to understand what is causing the lastActivityTime to be
> 
> true. That's why I was asking about control apps or the like: any action
> 
> some client does for that player would bump it's lastActivityTime
> value.
> ?

So it's less urgent now that I have a workaround. But I'm willing to try
to help debug this.  What's the next step to try to trace the problem? 
Something is bunping the value but I can't see anything happening in the
interface that might be doing it.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-09 Thread bstrulo

So I wrote a quick Python program to find all the long paths and
manually renamed them.  Now everything scans.

I actually quite like to use Windows these days - I find it stable and
mostly pretty easy to use and quite configurable.  But it's a bit
annoying that it officially supports long paths but then various
programs - even Explorer - don't function entirely properly with them. 
Maybe it's time to consider a platform switch.

d6jg wrote: 
> From your example it looks like you are trying to use folder names as
> some kind of database structure rather than tags.
> I know Classical is much more difficult than other music but why not
> simplify the folder structure in favour of more tagging?
> If your tags are correct then LMS really only needs albums in individual
> folders.
> 
> Edit. This assumes that you are only using LMS to play music ie
> database. If you are also using something that only supports basic
> folder structures then I’m wrong

I use the Artist/Album tags for Composer and Work.  But I like to also
keep information about the physical CD/LP which I keep in the folder
structure (as well as some less standard tags).  So I keep each CD (or
in this case, box set) in its own folder. This makes things easier when,
for example, ripping or copying to other devices.  But the names of the
folders and even the files aren't that important - I can certainly
shorten them.  I just used a simple convention (taking the names from
the tags via foobar2k) as a quick way of setting the folders and files
up which led to the long names and paths.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


bpa wrote: 
> What version of Windows ?
> 
> IIRC 256 used to be the limit for a command prompt lines so if a file
> path had many levels of directory it caused problems.

It's Windows 10 (pretty much up to date).

Reading up on it, there is a historical limitation to 260 chars but you
can set a switch (which is set on my system) to remove it.  But perhaps
the API functions that SqueezeSvr is using are still restricted.  Or
worse some of them might be and others not.

https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

Might have to try to reduce the long paths.  Though I don't know which
ones are too long. :-(



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


mherger wrote: 
> >Are they just above 256, or really much longer? After quickly skimming
> 
> the scanner's code I wouldn't have expected the path length to be a 
> problem before 1024 characters. Maybe double byte characters etc. add 
> some to yours. But would you reach 1k?

I looked through a selection and the cut-off does seem to be at 256 or
very close to it.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


bpa wrote: 
> If this is Windows - then enabling 8.3 names used to solve some weird
> issues but this may be out of date as I haven't dealt with Windows for a
> long time.

I enabled 8.3 on the volume and added 8.3 names to one folder: the one
that has that particular file in.  Rescan hasn't fixed the problem and
it still can't be seen when I browse the folder (via the "Music Folder"
browse option).

I'm not particularly keen to copy my entire music tree to get 8.3 names
on all of them.  I could, but after this experiment it seems like it's
unlikely to work.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


bpa wrote: 
> If this is Windows - then enabling 8.3 names used to solve some weird
> issues but this may be out of date as I haven't dealt with Windows for a
> long time.

Yeah I'm just trying that but it's not so easy since all the files need
to be re-copied I think to get an 8.3 name.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


No - this is one of them and its 275 I think.  Configured as utf-8 so
that should be roughly how long it is in bytes:


Code:

D:\AudioMaster\Classical New\Mozart\Piano Concertos\Alfred Brendel, The 
Academy Of St. Martin-in-the-Fields, Sir Neville Marriner, Ingrid Haebler, Ton 
Koopman\2.01. Harpsichord Concerto In D Major, K 107 No.1 (after J.C.Bach, 
Sonata, op.5 no.2) (Ton Koopman) - 1. Allegro.mp3



I wonder if it is something to do with finding the file in the Windows
API.  There was a similar problem with asian characters so it was not
the name itself that was the problem but that the name wasn't being
carried properly between scan and read. Or something like that.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


[SlimDevices: SqueezeCenter] Scanner ignoring files with long paths

2022-12-08 Thread bstrulo


Just noticed something wrong in my music library - a bunch of files with
really long paths (above 256) are being skipped by the scanner and also
not shown if I browse the folder.

I don't have 8.3 names enabled on the file system so that might be
what's causing it ...

Using 8.3.1.  Not sure how long this has been going on but potentially
for some time - months - but not years.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117188

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-08 Thread bstrulo


During the logging period there were only two players on the network. 
Both were off and neither were synced.  No music was playing anywhere. 
One's an SB3 and the other a Radio.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


Both players are "off" in the sense of showing the clock - not paused or
stopped but also not electrically off.  I have other players which are
completely switched off electrically and they don't appear: presumably
not even in the clients list.

I'm going to temporarily comment out the lastActivityTime check which
means that PreventServerStandby will fail to detect some short periods
of play.  But that should be OK as a temporary workaround.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


OK Last post before bedtime, I promise.  So I worked out it must be the
times.  So I rewrote the debug like this just to be 100% sure:


Code:

my $a = $client->isUpgrading();
my $b = $client->isPlaying();
my $c = Time::HiRes::time() - $client->lastActivityTime;
my $d = $a || $b || ($c <= INTERVAL);
  # if ( $client->isUpgrading() || $client->isPlaying() || 
(Time::HiRes::time() - $client->lastActivityTime <= INTERVAL) ) {
if ( $d && 1) {
main::DEBUGLOG && $log->is_debug && $log->debug("Player 
" . $client->name() . " is busy...");
main::DEBUGLOG && $log->is_debug && $log->debug("Player 
upgrading " . $a . " playing " . $b . " time " . $c . " result " . $d);
return 1;
}
  



And this is the result


Code:

[22-12-07 23:31:40.0114] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(164) Player Kitchen is busy...
  [22-12-07 23:31:40.0119] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(165) Player upgrading 0 playing  time 54.7731530666351 result 1
  [22-12-07 23:31:40.0122] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 23:31:40.0124] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 23:32:40.0111] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(164) Player Squeezebox Radio is busy...
  [22-12-07 23:32:40.0115] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(165) Player upgrading 0 playing  time 8.22161316871643 result 1
  [22-12-07 23:32:40.0117] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 23:32:40.0120] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 23:33:40.0035] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(164) Player Kitchen is busy...
  [22-12-07 23:33:40.0038] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(165) Player upgrading 0 playing  time 8.58207488059998 result 1
  



So clearly the lastActivityTime keeps being updated even though the
players are off.  That is what is causing the staying awake, though I
have no idea why that is happening.

Does that help find out what's going on?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


So not feeling sleepy - I installed 8.2.1 and the problem persists.  So,
I wondered if I could home in on the right part of the code in
PreventStandby\Plugin.pm

The relevant bit of code seems to be


Code:

if ( $client->isUpgrading() || $client->isPlaying() || 
(Time::HiRes::time() - $client->lastActivityTime <= INTERVAL) ) {
main::DEBUGLOG && $log->is_debug && $log->debug("Player 
" . $client->name() . " is busy...");
main::DEBUGLOG && $log->is_debug && $log->debug("Player 
upgrading " . $client->isUpgrading() . " playing " . $client->isPlaying() . " 
end");
  



That second debug statement was added by me.  This is what I am now
seeing in the log:


Code:

[22-12-07 23:14:01.0108] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 23:14:01.0112] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(160) Player upgrading 0 playing  end



Is that right?  I was expecting to see a zero between "playing" and
"end" whereas actually there seems to be an empty string.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


So I left the logging on and came back later this evening - this is the
last section (which is typical of all the rest):


Code:

[22-12-07 22:07:35.0101] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Squeezebox Radio is busy...
  [22-12-07 22:07:35.0104] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 22:07:35.0107] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:08:35.0139] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (116) Incrementing 
idle counter. 2 minutes left in allowed idle period.
  [22-12-07 22:08:35.0142] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:09:35.0110] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (116) Incrementing 
idle counter. 1 minutes left in allowed idle period.
  [22-12-07 22:09:35.0113] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:10:35.0083] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (131) Players have 
been idle for 3 minutes. Allowing System Standby...
  [22-12-07 22:11:35.0021] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 22:11:35.0025] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 22:11:35.0027] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:12:35.0007] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 22:12:35.0011] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 22:12:35.0014] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:13:35.0136] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (116) Incrementing 
idle counter. 2 minutes left in allowed idle period.
  [22-12-07 22:13:35.0139] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:14:35.0111] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 22:14:35.0114] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 22:14:35.0117] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 22:15:35.0062] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (116) Incrementing 
idle counter. 2 minutes left in allowed idle period.
  [22-12-07 22:15:35.0065] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...




What seems to be happening is that I am regularly seeing the
_playersBusy message even though both players are actually off.  

So it's nothing to do with SqueezePlay - that's just a coincidence that
I got the Mac about the same time - sorry about the red herring.

I guess I could go back to an earlier version of the server software to
try to find out when this started but I won't have time to try lots of
versions at the minute - maybe at the weekend.  Anything else I can look
at or try?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


OK no sorry my amateur diagnosis attempts were way off base.

I switched off the Mac, turned on logging and rebooted the server.  It
won't sleep.  This is what's in the log:


Code:

[22-12-07 19:12:34.6733] Slim::Utils::Misc::msg (1325) Warning: 
[19:12:34.6731] Constant subroutine Plugins::BBCSounds::ProtocolHandler::EBADF 
redefined at /Exporter/Lite.pm line 56.
  [22-12-07 19:12:35.4693] Slim::Plugin::PreventStandby::Plugin::initPlugin 
(81) System standby now allowed after 3 minutes of player idle time.
  [22-12-07 19:12:35.4698] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (116) Incrementing 
idle counter. 2 minutes left in allowed idle period.
  [22-12-07 19:12:35.4700] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 19:13:35.0109] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 19:13:35.0111] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 19:13:35.0112] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 19:14:35.0093] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 19:14:35.0096] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 19:14:35.0098] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...
  [22-12-07 19:15:35.0055] Slim::Plugin::PreventStandby::Plugin::_playersBusy 
(159) Player Kitchen is busy...
  [22-12-07 19:15:35.0059] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (109) Resetting idle 
counter.3 minutes left in allowed idle period.
  [22-12-07 19:15:35.0062] 
Slim::Plugin::PreventStandby::Plugin::checkClientActivity (126) Preventing 
System Standby...



Which is weird because the Kitchen player is an SB3 and I can see it is
off.  So I turned KItchen off and on again and got nothing else in the
log.

So I don't know what's going on.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


mherger wrote: 
> What 3rd party plugins are you using? I could imagine that eg. Spotty in
> 
> Connect mode could keep the machine awake, too.

I have BBC Sounds, material, a few others but nothing that has changed
recently.  Not spotty.  It does seem to be related to the SqueezePlay
client - the problem seems to start once I start it up.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


[SlimDevices: SqueezeCenter] LMS keeping Windows server awake

2022-12-07 Thread bstrulo


Sorry, this is one of those perennial and hard to debug issues.  Still,
any help would be appreciated:

I run LMS on a Windows 10 server set to sleep when no player is playing
- Prevent System Standby is installed with 3 minute idle time but set to
sleep even if players are on but not playing.  This has worked fine for
years but the server is now staying awake.  I think this started when I
started using a SqueezePlay client on a new Mac.

To test I did the following:

The Mac was asleep (and the SqueezePlay client was off)

I installed the latest 8.3.1

Checked on the server - no power requests

Woke the Mac from sleep - immediately a power request appeared on the
server.
I tried switching on the SqueezePlay client and playing music and then
stopping and even quitting the SqueezePlay client entirely.  But the
power request just stays there and the server won't sleep.

So it seems like a buggy interaction between SqueezePlay and LMS or at
least the Prevent System Standby plugin.

Anyone any ideas of the problem?  Is there a different client on Mac?
Any other possible workaround?

Thanks!



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=117181

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


Re: [SlimDevices: SqueezeCenter] Titles when browsing Random Albums

2021-11-01 Thread bstrulo


RobbH wrote: 
> So are you saying that this setting did change that as you wanted?

Yes.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=115346

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


Re: [SlimDevices: SqueezeCenter] Titles when browsing Random Albums

2021-11-01 Thread bstrulo


RobbH wrote: 
> I also find that artists are still displayed when browsing Albums or
> Random Albums in the default skin, even when the "Show Artist with
> Albums" option is disabled.

Sorry - I wasn't clear - I was referring to the interface on my SB3
hardware player.  That was the setting I needed.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=115346

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


Re: [SlimDevices: SqueezeCenter] Titles when browsing Random Albums

2021-11-01 Thread bstrulo


RobbH wrote: 
> In the default interface, if you go to the Settings page, under the
> Interface tab, you should see an option to show artists with albums. Is
> it enabled?
> 

That's the one!  Thank you very much.  Just couldn't work out where it
was.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=115346

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


[SlimDevices: SqueezeCenter] Titles when browsing Random Albums

2021-10-31 Thread bstrulo


Pretty sure this is a stupid question but here goes ...

I just re-installed LMS from scratch and set all my options back to how
I like it.  But then I noticed that when I browse Random Albums, I am
seeing only the Album Title.  I'm sure I used to see Artist as well and
I much prefer that.  But I can't find the setting for it.  Or maybe I'm
just confused ...

Incidentally I really love the browse Random Albums function - I'm sure
it didn't used to be available.  Where did it come from?  Is it just a
new cool thing that Michael has added or is it in a plugin or something?
Whoever did it - thank you!



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=115346

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-09-04 Thread bstrulo


Ahh.

So I guess it might be time to retire it entirely?  I've already stopped
it from starting on my installation.

The only thing I thought I needed it for was configuring the server
whether or not to start on boot as a service.  Making the command line
for that more obvious (perhaps at the end of the install process?  Or a
link to documentation in the web ui?) would solve that.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-09-04 Thread bstrulo


Are there any step-by-step instructions for setting up a development
environment to build the program?  I'm not confident but I do have some
coding experience and I can easily reproduce the problem so I might be
able to help.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread bstrulo


mherger wrote: 
> If you started the panel from the command line, would you get to see any
> 
> error? Or in the event log?

Start from the command line: immediately returns, then splash screen,
then nothing.

Nothing in the event log.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread bstrulo


So I think I may have tracked down the reason it crashes for me (and not
for others).

The problem seems to be that I have my code page set to UTF-8 following
this procedure

> Change Windows to the UTF-8 locale. To do this go to the Control Panel >
> "Change date, time or number formats" > Administrative tab and then the
> "Change system locale ..." button. In there you check the "Beta: Use
> Unicode UTF-8 for worldwide language support" box and press OK.

Revert that setting and it runs fine.  When the OS is set to UTF-8 then
the Control Panel gets as far as the splash screen but then silently
crashes.

Since it turns out I don't need the Control Panel then I'll keep my
Windows set to UTF-8 but hopefully this report will help others or even
lead to a fix.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-29 Thread bstrulo


slartibartfast wrote: 
> I seem to remember having to run control panel as administrator although
> not doing so normally produces an error.
> 

No, that doesn't seem to be the problem - it doesn't work then either.

It just shows the splash and then disappears.

Incidentally it's not as urgent as I thought: the program has been
installed as a service so presumably it is already starting on boot and
I can do all the rest of the config through the web interface, so I've
got it working for now.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-29 Thread bstrulo


I'm still seeing this problem with Logitech Media Server Version: 8.2.0
- 1627922070 @ Tue Aug 3 11:28:42 WEDT 2021

I re-installed the whole server (on Windows 10 Pro 20H2) from scratch
and the Control Panel won't start as described above.

This is now causing a specific problem: I need to set the server to
become a service and start on boot.  But I need the Control Panel to do
that and I can't get it to start.

Can anyone help please!!



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-04-17 Thread bstrulo


chirhonix wrote: 
> Hi,
> maybe the program is just minimiized. After selecting the icon type
> + then there should be a menu to maximize the program.
> Another possibility would be that the program is located outside the
> vivible desktop. With the above combination then you cold move the
> program windown with the arrow keys.

No, I have the same issue and the Control Panel is definitely not
running - you can see the program start and then die in the Task
Manager.  Double click on squeezeboxcp.exe - the splash appears and then
shortly after vanishes and the program disappears from task manager. 
Can't see any logging anywhere, not even Windows Event Viewer.

Not sure when the problem started but fairly recently.

Version: Logitech Media Server Version: 8.1.2 - 1617991245 @ Fri Apr 9
20:47:54 WEDT 2021
Windows 10 20H2 fully up to date.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)

2020-01-05 Thread bstrulo


reinholdk wrote: 
> I have exactly the same LMS server info and I'm at Win10 v1903, but the
> 8dot3name info looks interesting: it's enabled for my disk!

OK - so that was the clue I needed.  This thread describes what seems to
be the same problem as I have:
https://forums.slimdevices.com/showthread.php?106886-All-music-files-with-Chinese-and-Japanese-names-missing-after-scan/page2

This lists two possible workarounds:

The first and probably most sensible is to enable "8dot3name" for the
volume.  You can do that using the "fsutil" command and it probably
makes sense for most people.  I haven't tried it but that thread
strongly suggests that will work.

More interesting to me, however, was the option to set the Windows
locale to UTF-8.  This is an experimental feature in Windows 10 since
1803 and although it was originally quite buggy, it seems to be getting
better.  So I'm giving that a try.  For anyone else who wants to go down
this route, these are the steps:

  
- *Change your Logitech Media Server service to start with the UTF-8
  charset*.  To do this, start "regedit" and navigate to this key   
Code:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\squeezesvc\IMAGEPATH 

 and append " --charset=utf8" to the value.  You need a space before
  the hyphens, of course.
- *Change Windows to the UTF-8 locale*.  To do this go to the Control
  Panel > "Change date, time or number formats" > Administrative tab and
  then the "Change system locale ..." button.  In there you check the
  "Beta: Use Unicode UTF-8 for worldwide language support" box and press
  OK.
-  *Cross your fingers and reboot*.
  

Bear in mind that this does carry some risk of interfering with the
operation of other older programs you might be running.

Hope this helps someone!



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=111436

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


Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)

2020-01-04 Thread bstrulo


So this is all the relevant config I could think of:

Squeeze server info:


Code:

Logitech Media Server Version: 7.9.2 - 1575296326 @ Mon Dec 2 15:38:15 WEST 
2019
  Operating system: Windows 10 - EN - utf8
  Platform Architecture: 8664
  Perl Version: 5.14.1 - MSWin32-x86-multi-thread
  Audio::Scan: 0.95
  IO::Socket::SSL: 2.024
  Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)



Operating System:


Code:

Windows 10 Pro
  Version 1909
  OS build 18353.535
  
  Regional: United Kingdom
  Display Language: English (United Kingdom) (but US also installed)
  



Disk -  NTFS with 8dot3name support disabled:


Code:


  PS C:\WINDOWS\system32> fsutil fsinfo volumeinfo d:
  Max Component Length : 255
  File System Name : NTFS
  Not Thinly-Provisioned
  Supports Case-sensitive filenames
  Preserves Case of filenames
  Supports Unicode in filenames
  
  PS C:\WINDOWS\system32> fsutil 8dot3name query D:
  The volume state is: 1 (8dot3 name creation is disabled).
  The registry state is: 2 (Per volume setting - the default).
  
  Based on the above settings, 8dot3 name creation is disabled on D:
  PS C:\WINDOWS\system32>
  



Any other config to check?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=111436

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


Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)

2020-01-04 Thread bstrulo


reinholdk wrote: 
> for a test, you could start SqueezeSvr.exe manually with argument
> --charset=utf8
> 

That sounded like the right thing and I did it: the server information
page now says 


Code:

Operating system: Windows 10 - EN - utf8



so I think that's right (it used to be cp1252) but the file is still not
working - it still won't scan.  Since it works for you we must be close:
there must be some config difference.  Any idea what it might be?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=111436

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


Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)

2020-01-04 Thread bstrulo

Just to add some more info in case it's useful:

If I turn on logging during the scan I get this:


Code:

[20-01-04 13:32:09.3480] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found D:\AudioMaster\Classical New\J.S. Bach\Piano and Violin Concertos No 1 
(RIchter and Hlavacek)\01 - Violin Concerto No. 1 in A minor (Hlavá?ek) - I. 
Allegro Moderato.flac
  



where you can see that the special "c" character has been replaced by a
"?".  From then on the file is not mentioned in the log: so it's not
read for its tags.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=111436

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


[SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)

2020-01-04 Thread bstrulo

I think this might be a known issue but I couldn't find a clear
statement in the forums - maybe someone can help me out ...

I'm running LMS 7.9.2 - 1575296326 on Windows 10 with my music on a
local NTFS drive.

If I use non-Latin (I think specifically non CP-1252) characters in
filenames, LMS can't see them, even if I just Browse Music Folder. 
Here's an example:

01 - Violin Concerto No. 1 in A minor (Hlaváek) - I. Allegro
Moderato.flac

I can rename them of course: filenames are not that important and the
tags work fine with Unicode.  But by default I often use artist names in
filenames so it could easily re-occur and I might not notice which will
be generally annoying.

Any ideas?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=111436

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


Re: [SlimDevices: SqueezeCenter] Problem triggered by DST change

2016-10-31 Thread bstrulo

Guess what!

Six months later and the same thing.

So I woke up this morning ... and selected "Music Library - Music Folder
-> ..." and the server process got stuck.  Everything non-responsive
just like before.  As before, seems to be because of DST changes.

As before, no big deal: I took the opportunity to upgrade the server and
run a scan from scratch and so I won't be back with problems for six
months :-)

But, if it's any help, here's the details:

Logitech Media Server (v7.9.0, 1467524616, Sun Jul  3 05:51:14 CUT 2016)
perl 5.014001 - MSWin32-x86-multi-thread

server.log:

[16-10-31 13:52:15.7467] Slim::Utils::Scanner::Local::rescan (181)
Discovering audio files in D:\AudioMaster
[16-10-31 13:52:15.7817] Slim::Utils::Scanner::Local::__ANON__ (193)
Start processing found tracks
[16-10-31 13:52:15.7821] Slim::Utils::Scanner::Local::__ANON__ (201)
Connect do DB
[16-10-31 13:52:15.7823] Slim::Utils::Scanner::Local::__ANON__ (204) Get
latest ID
[16-10-31 13:52:15.7828] Slim::Utils::Scanner::Local::__ANON__ (226)
Delete temporary table if exists
[16-10-31 13:52:15.7837] Slim::Utils::Scanner::Local::__ANON__ (229)
Re-build temporary table
[16-10-31 13:52:16.0108] Slim::Utils::Scanner::Local::__ANON__ (271) DST
has changed since last scan - fix timestamps in tracks table
[16-10-31 13:52:16.4607] Slim::Utils::Scanner::Local::__ANON__ (278) Get
deleted tracks count
[16-10-31 13:52:16.4609] Slim::Utils::Scanner::Local::__ANON__ (285) Get
new tracks count
[16-10-31 13:52:16.4612] Slim::Utils::Scanner::Local::__ANON__ (290) Get
changed tracks count
[16-10-31 13:52:16.6694] Slim::Utils::Scanner::Local::__ANON__ (296)
Removing deleted audio files (0)
[16-10-31 13:52:16.6696] Slim::Utils::Scanner::Local::__ANON__ (374)
Scanning new audio files (0)
[16-10-31 13:52:16.6698] Slim::Utils::Scanner::Local::__ANON__ (454)
Rescanning changed audio files (21918)

The first line was triggered by me trying to browse the Music Folder. 
The last line shows that it thinks everything needs to be rescanned.  I
killed and upgraded after that.  No other messages before me killing
it.

Ben



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105393

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-07 Thread bstrulo

bpa wrote: 
> 
> If it has gone away then don't bother yourself anymore about the why.

Thanks for helping.

I had a similar odd and intermittent problem before, also fixed by
turning off cross fade, so I should have tried it. I do think there may
be some obscure bug lurking in the cross fade/sample rate corner but
since I can't reproduce it I can't be sure.

Thanks again.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

bpa wrote: 
> Also make sure in WebUI Setting/Player/Audio
> 
> Crossfade - none
> Bit rate limiting - No Limit.

So now I don't know what's going on!  It was definitely on no sync, and
also no crossfade or bit rate limiting.  But smart crossfade was
enabled.  I disabled it and it is now working!  But then I turned smart
crossfade back on again and it still works.  In fact, now I can't stop
it working ...

So thanks for fixing it - but I wish I knew how it had gone wrong.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

bpa wrote: 
> Do a Xilinx reset just to be sure.

Just did that and it said "programming xilinx" and then came up as
normal - but still with the problem.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

bpa wrote: 
> I noticed in the log that you seemed to have played BBCiPlayer stream
> before the MP3.  BBCiPlayer is 48Khz Flac - so if it plays OK - I doubt
> hardware is at fault. Do a Xilinx reset just to be sure.

Yes, iplayer has always worked fine.  Can you remind me how to do a
Xilinx reset please?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

bpa wrote: 
> Is the player synced ?

No, I unsynced them all before all the testing.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

OK so this is a bit weird.

I have another SB3 which I don't use as much.  I just got it out and
tried it, and it will play the 48kHz mp3s fine.

Two explanations spring to mind:

1) There is something incorrectly defined for the MAC address of the
failing player.  Can I  make the server "forget" the player and recreate
its config from scratch?

2) There is something wrong with the hardware of the player.  Although
this seems unlikely, one reason it might be possible is because, for
some time, I have been getting occassional crashes.  It comes up with a
message, sometimes "nb alloc failed in slimproto", sometimes a different
one about "make_space" and then reboots.  It usually comes back fine and
continues where it left off.

For now, I'm going to swap the two over and see how I get on.  But it
would be good to know if the other one is on it's way out. I suppose I
can't expect them to last forever ...



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

bstrulo wrote: 
> 
> I don't think I've changed my convert.conf but looking in it it has a
> section which says:
> 
> > 
Code:

  >   > # special case for smart bitrates on mp3 input
  > mp3 mp3 transcode *
  > # IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
  > [lame] --silent -q $QUALITY$ $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -

> > 
> 
> Presumably that's standard but maybe not?  I don't see lame running
> when it's failing to play. But maybe I haven't even told the server
> where lame is - I don't do any transcoding normally.
> 

Just added lame.exe to my server bin directory and that doesn't seem to
have changed anything.

Ben



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-06 Thread bstrulo

garym wrote: 
> have you done anything special like added a custom convert.conf file or
> edited your LMS convert.conf file? or changed anything in LMS > Settings
> > Advanced > File Types? What happens if you install 7.8 or 7.7? Any
> difference? Are you using a DAC or just analog outs of SB3?


Brilliant - thanks for replying.

I haven't deliberately done anything special but I do recall a lot of
fiddling to get the iPlayer working when the BBC changed it.  Don't
think I did anything myself beyond the instructions though.

I am just using the analog outs.  I also have a Duet - I don't use it
much but I just tested and that plays the 48kHz ones fine.

I looked at the File Types section and that says MP3 = Native.

I don't think I've changed my convert.conf but looking in it it has a
section which says:


Code:

# special case for smart bitrates on mp3 input
  mp3 mp3 transcode *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[lame] --silent -q $QUALITY$ $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -



Presumably that's standard but maybe not?  I don't see lame running when
it's failing to play. But maybe I haven't even told the server where
lame is - I don't do any transcoding normally.

If I had a custom convert.conf is there somewhere else it might be (ie
not in the server directory)?

I'll try installing a different version tonight, if I get time, but I
haven't done it so far because I'm nervous I'll lose all my config.  On
the other hand, I think the only important customisations are iPlayer
and spotify, so they are probably not too difficult to recreate.  Maybe
I should also try reinstalling from scratch with 7.9

Thanks again

Ben



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


Re: [SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-07-05 Thread bstrulo

Bump: sorry to nag but does anyone have any ideas? This is starting to
annoy me now; turns out there are more 48khz tracks in my library than I
realised!



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


[SlimDevices: SqueezeCenter] SB3 won't play 48 kHz MP3s anymore

2016-06-12 Thread bstrulo

As the title says, they appear to start but no sound - then once it gets
to six seconds or so it just restarts - so it just sits there playing
nothing.

I know they used to work a long time ago and I know they don't work now
(on some 7.9 versions including the latest nightly: 7.9.0 - 1465358341)
but I don't really know when they stopped working because I don't listen
to them very often.

I blame a server upgrade, but it's not impossible that I've messed up
some config somewhere.

I don't see anything in the server log, but of course that's with
default logging.

Anyone any ideas?

Ben



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105741

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


[SlimDevices: SqueezeCenter] Problem triggered by DST change

2016-03-28 Thread bstrulo

The clocks went forward today.  This afternoon I selected "Music Folder"
on my SB3 and the server hung completely - all the devices lost their
connections.  On the server I could see the SqueezeSvr using loads of
CPU (but not the scanner) and looking in the server log I could see:

[16-03-28 16:37:56.0161] Slim::Utils::Scanner::Local::rescan (178)
Discovering audio files in D:\AudioMaster
[16-03-28 16:38:03.2442] Slim::Utils::Scanner::Local::__ANON__ (189)
Start processing found tracks
[16-03-28 16:38:03.2444] Slim::Utils::Scanner::Local::__ANON__ (197)
Connect do DB
[16-03-28 16:38:03.2447] Slim::Utils::Scanner::Local::__ANON__ (200) Get
latest ID
[16-03-28 16:38:03.2454] Slim::Utils::Scanner::Local::__ANON__ (222)
Delete temporary table if exists
[16-03-28 16:38:03.2462] Slim::Utils::Scanner::Local::__ANON__ (225)
Re-build temporary table
[16-03-28 16:38:03.5097] Slim::Utils::Scanner::Local::__ANON__ (267) DST
has changed since last scan - fix timestamps in tracks table
[16-03-28 16:38:03.8585] Slim::Utils::Scanner::Local::__ANON__ (274) Get
deleted tracks count
[16-03-28 16:38:03.8587] Slim::Utils::Scanner::Local::__ANON__ (281) Get
new tracks count
[16-03-28 16:38:03.8589] Slim::Utils::Scanner::Local::__ANON__ (286) Get
changed tracks count
[16-03-28 16:38:04.0394] Slim::Utils::Scanner::Local::__ANON__ (292)
Removing deleted audio files (0)
[16-03-28 16:38:04.0396] Slim::Utils::Scanner::Local::__ANON__ (370)
Scanning new audio files (0)
[16-03-28 16:38:04.0399] Slim::Utils::Scanner::Local::__ANON__ (450)
Rescanning changed audio files (21917)

However, this didn't seem to finish.  Maybe it would have done if I'd
left it long enough.  Anyway, that was on v7.9.0, 1450801618, Tue Dec 22
16:33:24 CUT 2015 (on Windows 10, music on NTFS).

Since then I've updated to v7.9.0, 1458661067, Tue Mar 22 15:46:29 CUT
2016 and cleared and fully rescanned. It's now fully working.

So, obviously this is not high priority, since it's all working.  But I
thought the 'bugs' (http://bugs.slimdevices.com/show_bug.cgi?id=18078)
in this area had been fixed.  Maybe my db was out of date or something?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=105393

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


Re: [SlimDevices: SqueezeCenter] Problem with SB3 - stops playing

2015-12-31 Thread bstrulo

OK so this is pretty weird:

I've more or less given up - I've bought a Duet to replace the SB3.  But
something was still bothering me.  The problem seemed to only crop up in
certain specific circumstances - transitioning between some but not all
tracks.  Internet radio never goes wrong, for example.

So, I fiddled around and narrowed it down to  wait for it, drum-roll
 cross-fade.  It seems it reliably happens during a cross fade and
never seems to happen any other time.  Which was particularly confusing
because I had smart cross fade on.

I've disabled cross fade and it's been running now for a while with no
problems.

So that sounds like software, but I have an essentially identical other
SB3 which never goes wrong, even with plenty of cross fades, which
implies something in the player hardware.

Does anyone know how cross fade is sent to the player: what parts of the
player are used specifically and not used in normal play?



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=104885

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


Re: [SlimDevices: SqueezeCenter] Problem with SB3 - stops playing

2015-12-30 Thread bstrulo

bpa wrote: 
> Bad WLAN card in SB3 can cause strange problems ultiimatley stopping an
> SB3 totally.  The WLAN card is easily removed but you need a Torx T10
> (IIRC) to open the unit.  SB3 will work without a WLAN card installed.
> See http://lowtek.ca/roo/2011/squeezebox-classic-repair/

OK You convinced me :-)

Removed the WLAN card and still get the problem.  :-(

Still the good news is that I've found a Duet for sale.  So I might be
back in business next week ...



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=104885

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


Re: [SlimDevices: SqueezeCenter] Problem with SB3 - stops playing

2015-12-30 Thread bstrulo

I'll attach the full log, though I feel a bit guilty expecting you to
look through it ...

By jammed I mean it responds fully to all commands: I can browse all the
menus and so on.  But the VU meter on the right stays always showing
(even when it shouldn't be there) and always shows the same level.  If I
hit play on another track, the Now Playing display changes but the VU
meter stays jammed and nothing plays.  It does respond to web GUI
changes.  It's as if everything is working except the actual audio
part.

Here's a log extract when it went wrong on its own (rather than because
I hit skip to next):


Code:


  [15-12-30 12:59:20.0038] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-strm: fullness=215954, output_fullness=3483840, 
elapsed=995.139
  [15-12-30 12:59:20.4997] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=194962, output_fullness=3505344, 
elapsed=995.636
  [15-12-30 12:59:21.5018] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=150930, output_fullness=3512896, 
elapsed=996.636
  [15-12-30 12:59:22.4998] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=109458, output_fullness=3487808, 
elapsed=997.636
  [15-12-30 12:59:23.5000] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=69012, output_fullness=3495488, 
elapsed=998.636
  [15-12-30 12:59:24.4997] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=19350, output_fullness=3503040, 
elapsed=999.636
  [15-12-30 12:59:24.9680] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMd: fullness=0, output_fullness=3490048, 
elapsed=1000.091
  [15-12-30 12:59:25.4097] Slim::Player::Squeezebox::stream_s (542) stream_s 
called: format: flc url: 
file:///D:/AudioMaster/Classical/Aaron%20Copland/Fanfare%20for%20the%20Common%20Man%20(Copland%20LSO)/03-Fanfare%20for%20the%20common%20man.flac
  [15-12-30 12:59:25.4109] Slim::Player::Squeezebox::stream_s (974) Starting 
decoder with format: f flags: 0x0 autostart: 1 buffer threshold: 255 output 
threshold: 0 samplesize: ? samplerate: ? endian: ? channels: ?
  [15-12-30 12:59:25.4139] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:12:45:0c: STAT-STMt: fullness=0, output_fullness=3517096, elapsed=0.000
  [15-12-30 12:59:25.4142] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:12:45:0c: STAT-strm: fullness=0, output_fullness=3517096, elapsed=0.000
  [15-12-30 12:59:25.4155] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMf: fullness=0, output_fullness=3327616, 
elapsed=1000.551
  [15-12-30 12:59:25.4173] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMc: fullness=0, output_fullness=3327104, 
elapsed=1000.553
  [15-12-30 12:59:25.4181] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-strm: fullness=0, output_fullness=3326848, 
elapsed=1000.554
  [15-12-30 12:59:25.4193] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-audg: fullness=0, output_fullness=3326208, 
elapsed=1000.555
  [15-12-30 12:59:25.4252] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=0, output_fullness=3325312, 
elapsed=1000.558
  [15-12-30 12:59:25.4256] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-strm: fullness=0, output_fullness=3325056, 
elapsed=1000.559
  [15-12-30 12:59:25.4266] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMe: fullness=0, output_fullness=3324288, 
elapsed=1000.561
  [15-12-30 12:59:25.4279] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMh: fullness=0, output_fullness=3323264, 
elapsed=1000.564
  [15-12-30 12:59:25.4299] Slim::Networking::Slimproto::_http_response_handler 
(554) Squeezebox got HTTP response:
  HTTP/1.1 200 OK
  
  Server: Logitech Media Server (7.9.0 - 1450801618)
  
  Connection: close
  
  Content-Type: audio/x-flac
  
  
  
  [15-12-30 12:59:25.5007] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=137012, output_fullness=3297664, 
elapsed=1000.636
  [15-12-30 12:59:26.5007] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=1976896, output_fullness=2944896, 
elapsed=1001.636
  [15-12-30 12:59:27.4997] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=3144896, output_fullness=2592128, 
elapsed=1002.636
  [15-12-30 12:59:28.4995] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=3144896, output_fullness=2239232, 
elapsed=1003.636
  [15-12-30 12:59:29.4997] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:4d:fe: STAT-STMt: fullness=3144896, output_fullness=1886464, 
elapsed=1004.636
  [15-12-30 12:59:30.0021] 

Re: [SlimDevices: SqueezeCenter] Problem with SB3 - stops playing

2015-12-30 Thread bstrulo

bpa wrote: 
> IIRC The VU meter (and spectrum analyser) is driven by firmware in the
> player by reading the PCM stream. I think some of the other "now
> playing" screen are driven by LMS. By changing the screen - I'd like to
> know if progress bar changes when playing a track.
> edit:
> 
> I have presumed you have done a Xilinx reset as well as afactory reset.

I did a Xilinx reset but thinking back - maybe I only did it on the
wired one?  I'll try again.

After swapping them, it is now the wired one (that used to be wireless)
that is going wrong.  So I think it may be a hardware/firmware problem
with that particular SB3 - nothing to do with wireless or network.  It's
just done it again.  Oh dear ...

Incidentally, I tried your suggestion.  The web gui successfully changed
the progress bar but the VU meter stayed unchanged (even though in the
web gui I had switched it to spectrum).



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=104885

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


Re: [SlimDevices: SqueezeCenter] Problem with SB3 - stops playing

2015-12-26 Thread bstrulo

bpa wrote: 
> Rather than pull power plugin - try holding < (left arrow) on remote for
> a long time and force player into firmware menu.
> 
> Next time when jammed - enable logging network.protocol.slimproto to
> INFO and see what messages are being sent to player.

Thanks - sounds like good advice.

With the wired one only working now, the problem hasn't reoccurred yet. 
So maybe your original diagnosis was right and it was something to do
with the wireless.  Not sure.

I'll report back if it happens again.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=104885

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


Re: [SlimDevices: SqueezeCenter] How to handle duplicates (MP3 / FLAC) files?

2015-12-26 Thread bstrulo

I have three directories:

Master: which contains anything which is original, typically in FLAC,
but also some other formats where I got it in a lossy format.  So this
does have some MP3s in it.  This is what I point LMS at.

MP3: which contains MP3 recodes of things that exist in the Master
directory.  I can delete this at any time and re-create it with a little
script which just runs lame.

Lowqview: which contains links to MP3 for everything in there, plus
links to Master for all the ones which are actually mastered in MP3. 
This is the directory I point phones and other players to.

You can make hard links in windows with mklink.

Both Master and Lowqview have exactly the same tree structure which is
just how I like to see my music.  The MP3 directory is just a kind of
cache which I never use directly.

Maybe it's a bit overkill but it works smoothly now and gives me
everything I need.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=104882

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