Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread jasc


Thank you bpa for the context, I appreciate it!

I'll revert back to the UTF-8 version.

Best regards,
jasc



audio chain: 'raspberry pi 4b 8gb'
(https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) >
'picoreplayer 7.0.1 64-bit' (https://picoreplayer.org/) > 'logitech
media server 8.2.0'
(http://downloads.slimdevices.com/nightly/index.php?ver=8.2) >
'upnp/dlna bridge'
(https://forums.slimdevices.com/showthread.php?103728-announce-upnpbridge-integrate-upnp-dlna-players-with-lms-(squeeze2upnp))
> 'linn majik dsm/2'
(https://docs.linn.co.uk/wiki/index.php/majik_dsm_/2_(2015_variant)) >
'linn majik exaktbox-i'
(https://docs.linn.co.uk/wiki/index.php/majik_exaktbox-i) > 'linn majik
140 aktiv' (https://www.linn.co.uk/music-systems/majik/140)

jasc's Profile: http://forums.slimdevices.com/member.php?userid=69223
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread bpa


There are multiple ways of encoding "Pi" symbol. See 
https://www.compart.com/en/unicode/U+220F (html, UTF-8, UTF-16 and
UTF-32) 

Checking the encoding of PI symbol in my working version - cut and paste
from your forum post  - it is UTF-8 ( 0xE2 0x88 0x8F  ) where your  log
message says the encoding is UTF-16 (0x220F)

So you can have the symbol Pi in your menu as long as you copy and paste
the UTF-8 version of Pi symbol.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread bpa


I added you entry to my Favorites.

I'm using 8.1.2 from 4 Apr.

No error logged when playing the station on WebUI on a Radio or on
Material.

Touch cannot show Pi in menu but no error logged  - yet displays Pi
correctly on the "Now Playing" screen.

There is something else you're using/doiung that's causing the error s-
it may be a plugin or a particular activity.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread jasc


The Favorite was created manually by copying and pasting the name and
stream URL and saving it.

The entry containing the  which triggered the warning message
looked like this:


Code:

http://stream.p-node.org/dab.mp3; 
icon="html/images/favorites.png" text=" Node Mulhouse / Paris (320 
kbps)" type="audio" />



I have now changed the "" to "Pi" so the entry now looks like
this, and the warning message is no longer triggered in server.log:


Code:

http://stream.p-node.org/dab.mp3; 
icon="html/images/favorites.png" text="Pi Node Mulhouse / Paris (320 kbps)" 
type="audio" />



Best regards,
jasc



audio chain: 'raspberry pi 4b 8gb'
(https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) >
'picoreplayer 7.0.1 64-bit' (https://picoreplayer.org/) > 'logitech
media server 8.2.0'
(http://downloads.slimdevices.com/nightly/index.php?ver=8.2) >
'upnp/dlna bridge'
(https://forums.slimdevices.com/showthread.php?103728-announce-upnpbridge-integrate-upnp-dlna-players-with-lms-(squeeze2upnp))
> 'linn majik dsm/2'
(https://docs.linn.co.uk/wiki/index.php/majik_dsm_/2_(2015_variant)) >
'linn majik exaktbox-i'
(https://docs.linn.co.uk/wiki/index.php/majik_exaktbox-i) > 'linn majik
140 aktiv' (https://www.linn.co.uk/music-systems/majik/140)

jasc's Profile: http://forums.slimdevices.com/member.php?userid=69223
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread bpa


jasc wrote: 
> Yes of course... the culprit is in one of my favorited radio stations,
> see below. Changed the  to "Pi" instead of ('U+220F'
> (https://www.compart.com/en/unicode/U+220F)) and the warning has
> disappeared. Too bad,  looked pretty cool.
> 
> I would change the title to "Solved: ..." but I cannot seem to do so.

Not solved but showing a path to fixing it.

Not sure whether the problem is with what created the Favorite or
somnweher in LMS processingit. The fact it is displayed OK shows the
problem is quite isolated (possible to a single line of code) and not
fatal.

How was the Favorite created - e.g. from Tune-in ? RadioNet ? manually ?

Can you copy the problem entry from favorites.opml file  (it is in the
prefs directory) - the single line entry begins with "" and
ends ""

As a a more direct approach. You could create an "issue" (ie. bug
report) in Slimserver github  ( 
https://github.com/Logitech/slimserver/issues ) logging the details and
favorites entry.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-25 Thread jasc


Sigh. This is resolved. I just now understood this:

> The character is in fact Capital PI.

Yes of course... the culprit is in one of my favorited radio stations,
see below. Changed the  to "Pi" instead of ('U+220F'
(https://www.compart.com/en/unicode/U+220F)) and the warning has
disappeared. Too bad,  looked pretty cool. ;)

I would change the title to Solved: but I cannot seem to do so.

Thanks again,
jasc

34385


+---+
|Filename: Pi Node.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34385|
+---+


audio chain: 'raspberry pi 4b 8gb'
(https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) >
'picoreplayer 7.0.1 64-bit' (https://picoreplayer.org/) > 'logitech
media server 8.2.0'
(http://downloads.slimdevices.com/nightly/index.php?ver=8.2) >
'upnp/dlna bridge'
(https://forums.slimdevices.com/showthread.php?103728-announce-upnpbridge-integrate-upnp-dlna-players-with-lms-(squeeze2upnp))
> 'linn majik dsm/2'
(https://docs.linn.co.uk/wiki/index.php/majik_dsm_/2_(2015_variant)) >
'linn majik exaktbox-i'
(https://docs.linn.co.uk/wiki/index.php/majik_exaktbox-i) > 'linn majik
140 aktiv' (https://www.linn.co.uk/music-systems/majik/140)

jasc's Profile: http://forums.slimdevices.com/member.php?userid=69223
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-24 Thread jasc


Thank you both.

> To identify the code (e.g. plugin) to fix, what was playing when the
> error was logged?

Nothing playing at all, actually. The error comes up also right after
restarting LMS and playing nothing:

[21-04-25 06:32:48.4447] main::init (389) Starting Logitech Media Server
(v8.2.0, 1618550339, Fri Apr 16 07:52:14 CEST 2021) perl 5.032000 -
aarch64-linux-thread-multi
[21-04-25 06:34:09.0741] Slim::Utils::Misc::msg (1324) Warning:
[06:34:09.0737] Wide character (U+220F) in uc at
/usr/local/slimserver/CPAN/Template/Filters.pm line 53.

Recent plugin updates:


-  UPnP/DLNA Bridge (v.1.49.13) - see 'here'
  
(https://forums.slimdevices.com/showthread.php?103728-Announce-UPnPBridge-integrate-UPnP-DLNA-players-with-LMS-(squeeze2upnp))
  and 'here' (https://sourceforge.net/projects/lms-plugins-philippe44/)
-  Mixcloud (v.0.6) - see 'here'
  (https://forums.slimdevices.com/showthread.php?88286-Mixcloud-plugin/page39)
  

Best regards,
jasc



audio chain: 'raspberry pi 4b 8gb'
(https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) >
'picoreplayer 7.0.1 64-bit' (https://picoreplayer.org/) > 'logitech
media server 8.1.2'
(http://downloads.slimdevices.com/nightly/index.php?ver=8.1) >
'upnp/dlna bridge'
(https://forums.slimdevices.com/showthread.php?103728-announce-upnpbridge-integrate-upnp-dlna-players-with-lms-(squeeze2upnp))
> 'linn majik dsm/2'
(https://docs.linn.co.uk/wiki/index.php/majik_dsm_/2_(2015_variant)) >
'linn majik exaktbox-i'
(https://docs.linn.co.uk/wiki/index.php/majik_exaktbox-i) > 'linn majik
140 aktiv' (https://www.linn.co.uk/music-systems/majik/140)

jasc's Profile: http://forums.slimdevices.com/member.php?userid=69223
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-24 Thread bpa


SpiderJon wrote: 
> Looks like it, yes.
> 
> 
"What is a "wide character"?
> 
> "This is a term used for characters occupying more than one byte.
> 
> "The Perl warning "Wide character in ..." is caused by such a character.
> With no specified encoding layer, Perl tries to fit things into a single
> byte. When it can't, it emits this warning (if warnings are enabled),
> and uses UTF-8 encoded data instead."
> 
> 
> 
> From 
> https://perldoc.perl.org/perlunifaq#What-is-a-%22wide-character%22?

The character is in fact Capital PI.

Metadata in stream can be UTF encoded and so can get wide characters. 
Occasionally BBC used to put a wide character which was a wide space.

LMS now normally handle UTF characters OK. Support ofr UTF was added
over the years.  This could be a piece of code that was forgotten or the
source is using UT when it shoudlnt;/

To identify the code (e.g. plugin) to fix, what was playing when the
error was logged ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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


Re: [SlimDevices: SqueezeCenter] New warning message in server.log after 8.2 update

2021-04-24 Thread SpiderJon


jasc wrote: 
> Probably nothing to get nervous about, but after updating from 8.1.2 to
> 8.2.0, I started seeing warning messages like the below show up in
> server.log:
> 
> > > > [21-04-24 17:22:32.3410] Slim::Utils::Misc::msg (1324) Warning:
> > [17:22:32.3406] Wide character (U+220F) in uc at
> > /usr/local/slimserver/CPAN/Template/Filters.pm line 53.> > 
> 
> I am running piCorePlayer 7.0.1 but posting here since I assume this
> is more with LMS than with pCP (but could be wrong). I am guessing it
> is related to UTF-8 and Perl.

Looks like it, yes.


"What is a "wide character"?

"This is a term used for characters occupying more than one byte.

"The Perl warning "Wide character in ..." is caused by such a character.
With no specified encoding layer, Perl tries to fit things into a single
byte. When it can't, it emits this warning (if warnings are enabled),
and uses UTF-8 encoded data instead."



>From 
https://perldoc.perl.org/perlunifaq#What-is-a-%22wide-character%22?



Duet x 3, via various hi-fi. LMS on Raspberry Pi OS (Debian 10) on a
Pi4.

SpiderJon's Profile: http://forums.slimdevices.com/member.php?userid=21798
View this thread: http://forums.slimdevices.com/showthread.php?t=114446

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