mherger wrote:
> > I'll give it a go.
>
> Ok. There's CPAN/Template/Filters.pm somewhere in your LMS installation
> path. Can't tell where it is on your system. Find it :-).
>
> Open the file in vi (or your preferred editor. Scroll down to line 23:
>
> https://github.com/Logitech/slimserver/blob/public/7.9/CPAN/Template/Filters.pm#L23
>
> Put a # in front of the "use warnings", or add "no warnings 'locale';"
> after that line (to only disable some of the warnings). Save the change
> and restart LMS.
>
> This is not going to fix the issue, but it will prevent the spilling of
> the log file. The problem seems to stem from rendering web pages with
> wide characters content (accented or non-latin etc.). Alas I couldn't
> see any problem rendering the web UI in Chinese, or list Japanese radio
> stations. Therefore I'm going to silence the warning away...
>
> --
>
> Michael
Michael
Done that, like this:
Code:
--------------------
package Template::Filters;
use strict;
use warnings;
no warnings 'locale';
use locale;
use base 'Template::Base';
use Template::Constants;
use Scalar::Util 'blessed';
our $VERSION = 2.86;
our $AVAILABLE = { };
--------------------
Restart LMS, go to settings > server log, just one warning now which
I've seen a few times before recently:
Code:
--------------------
[17-05-17 22:46:35.4345] main::init (387) Starting Logitech Media Server
(v7.9.1, 1494667952, Sat May 13 09:43:23 UTC 2017) perl 5.024000 -
arm-linux-gnueabihf-thread-multi-64int
[17-05-17 22:46:39.2987] Slim::Utils::Misc::msg (1244) Warning:
[22:46:39.2975] Unescaped left brace in regex is deprecated, passed through in
regex; marked by <-- HERE in m/
([a-zA-Z\$0-9]+)\s*:\s*function
\(([a-z,]+)\){ <-- HERE ([^}]+)}
/ at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
line 378.
--------------------
LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20beta7, playlists and LMS
cache on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)
------------------------------------------------------------------------
kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107414
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter