Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    14

    Picoreplayer Japanese/Chinese characters display as pinyin?

    Just installed PCP on a pi zero to test for use as an LMS server playing off my NAS and I must say it's brilliant in terms of playback on my old but trusty SB3 player (which has the slim devices logo on the fascia!). The primary reason to use this was that the NAS (a buffalo linkstation quad) has only a cut down (and now old) version of LMS and wouldn't display non English characters at all and the plug ins didn't work either.

    Anyway on the SB3 (using PCP) Japanese and Chinese characters in my music tags show up in pinyin form (ie romanised characters eg the character 明 shows up as "ming" instead of the character). From google searches it would seem that I need to replace certain fonts in LMS but I can't seem to access this on the pi (I have direct access to the pi and can find my way around linux a bit but can't seem to find where the LMS files are). I might add that when looking at the media files on my windows pc browser pointing to the LMS address XX.XX.XX.XX:9000 will show the characters properly.

    Can anyone help me fix this?

    As a secondary issue the time on the PCP home page doesn't display correctly - I'm stuck in 1970 so it's not picking up the time at bootup.

    Edit: and I'm on the latest 3.2b5
    Last edited by gadgetwiz; 2017-04-06 at 18:18.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,729

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    > Anyway on the SB3 (using PCP) Japanese and Chinese characters in my
    > music tags show up in pinyin form (ie romanised characters eg the
    > character 明 shows up as "ming" instead of the character). From google
    > searches it would seem that I need to replace certain fonts in LMS but I
    > can't seem to access this on the pi (I have direct access to the pi and


    Would you get those characters when running LMS from a different
    platform (PC or Mac)?

    I don't think the issue is the font. The references you found most
    likely apply to the Squeezeplay based devices. But for display on the
    Classic I thought we had a more or less complete font. The problem here
    is that it requires a Perl module which might be missing from pCP.

    > As a secondary issue the time on the PCP home page doesn't display
    > correctly - I'm stuck in 1970 so it's not picking up the time at bootup.


    What if you restarted LMS only (not pCP)?

    --

    Michael

  3. #3
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    Quote Originally Posted by mherger View Post
    Would you get those characters when running LMS from a different
    platform (PC or Mac)?
    Do you mean hosting LMS on a windows pc? If so I haven't done that.

    But when I access LMS from a windows pc I can see the fonts render correctly.

    I don't think the issue is the font. The references you found most
    likely apply to the Squeezeplay based devices. But for display on the
    Classic I thought we had a more or less complete font. The problem here
    is that it requires a Perl module which might be missing from pCP.
    As a test I have just installed LMS 7.9 directly on the pi zero running jessie lite but ended up with the same font/pinyin issue (but it did solve my time problem :-)). So perhaps not an issue with Tiny Core or pcp.

    Doing a search for this issue raised a solitary thread from 2014 which discusses the same issue as I have (unfortunately not resolved):
    https://forum.synology.com/enu/viewtopic.php?t=84577

    Prior to installing the NAS quite some years ago I was using a pc running clarkconnect and LMS's incarnation at the time which was squeezebox server. What version it was I can't recall but would have definitely have been pre V7. And the fonts displayed perfectly on the SB3.

    Edit: Found this other thread which seems to have a solution - I will try later tonight.
    http://forums.slimdevices.com/showth...-LMS-7-9/page2
    Last edited by gadgetwiz; 2017-04-07 at 03:46.

  4. #4
    Junior Member
    Join Date
    Mar 2011
    Posts
    14

    Solved!

    Thanks mherger (seeing as it was yours and kezz's solution!). I referenced this old thread

    http://forums.slimdevices.com/showth...latest-LMS-7-9

    and followed the instructions which were simply:

    sudo perl -MCPAN -e 'install Font::FreeType'

    and then

    sudo rm -rf /usr/share/squeezeboxserver/Font

    has the SB3 displaying asian characters as they should be!

    Now - how do I do the same within the tiny core distro and pcp? (Although running jessie lite doesn't really incur much of a performance penalty - only a little longer to wait before LMS starts)
    Last edited by gadgetwiz; 2017-04-07 at 06:11.

  5. #5
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Its a bit harder on pCP, as you will need a full set of compile tools. I can make an extension for you later today.


    Michael,

    Is this a package we should install on pCP by default?

    Paul

  6. #6
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    That would be great if it could be incorporated into the build as pcp is so easy to install and configure (excellent job BTW guys!)

  7. #7
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    810
    Quote Originally Posted by gadgetwiz View Post
    That would be great if it could be incorporated into the build as pcp is so easy to install and configure (excellent job BTW guys!)
    Well that was a little bit of a challange. There are many dependencies for freetype. As this is a fairly heavy install, I'm not including it by default.

    From the Main Menu, you need to be in advanced mode (or beta mode)
    • Select the "Extensions" button
    • Select the "piCoreplayer sourceforge repository", the press the "Set" button
    • In the list of Available Extensions, find "perl_font_freetype.tcz", then press the Load button


    Make sure your file system is expanded, this download is about 22MB.

    Let me know how this works for you on pCP LMS.

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,729

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    >> Would you get those characters when running LMS from a different
    >> platform (PC or Mac)?

    >
    > Do you mean hosting LMS on a windows pc? If so I haven't done that.


    Yes, that's what I was asking.

    > But when I access LMS from a windows pc I can see the fonts render
    > correctly.


    It's not about the display where you're seeing the characters, but about
    the server. SB3 is a dumb device. All content is rendered on the server.
    Therefore the server needs to be able to render your characters. I would
    expect this to work on a PC, but fail on many other systems.

    --

    Michael

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,729

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    > Well that was a little bit of a challange.

    Thanks a lot for accepting it :-). This and the little request I saw led
    me to give up on building it for newer systems...

    But then pCP comes with its own Perl build anyway, doesn't it? You're
    using 5.24?

    Thanks a lot!
    --

    Michael

  10. #10
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    Quote Originally Posted by paul- View Post

    Make sure your file system is expanded, this download is about 22MB.

    Let me know how this works for you on pCP LMS.
    Brilliant! I will test it out tonight when I'm home and post back.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •