Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    May 2015
    Posts
    21

    Transporter only displays phonatic translation of Chinese (pinyin).

    HI there,

    NAS: Readynas RN31400
    Readynas OS: 6.10.2
    LMS version: 7.9.3 nightly
    perl version on the NAS: 5.20.2

    I have been struggling to get this work. I just bought a Readynas RN314 and trying to set it up as a LMS. Everything works fine except the display of Chinese on the Transporter. However, my logitech Radio displays Chinese perfectly correct under the same LMS. I have researched the forum here and recognized the mismatch of "freetype font". I am unable to fix it as I would need a more step by step instruction.

    Here is bit more detail. The server starts fine without an player running.Once I tried to start the Transporter, the line of log would show up:

    Code:
    [20-01-24 06:22:19.3014] Slim::Display::Lib::Fonts::__ANON__ (84) Warning: Unable to load TrueType font support: Can't locate loadable object for module Font::FreeType in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20.2/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20.2/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 83.
    Compilation failed in require at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 83.
    I have tried different ways of installation (the stock 7.9 and two step installation with the nightly first then lms.xxx.deb. No difference.

    your help is greatly appreciated.

    I Have also tried Qnap TVS471 with @digimaster 's qLMS, with same result. So is with a Docker. The only way it works right now is running the LMS on Win10 Virtual machine.

    Thanks
    Last edited by tigs; 2020-01-24 at 07:50.

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

    Transporter only displaysphonatic translation of Chinese (pinyin).

    > I have been struggling to get this work. I just bought a Readynas RN314
    > and trying to set it up as a LMS. Everything works fine except the
    > display of Chinese on the Transporter. However, my logitech Radio
    > displays Chinese perfectly correct under the same LMS. I have researched


    Did you install additional fonts for the Radio? Because I thought the
    stock fonts did not support Chinese.

    Please note that the font handling between Radio and Transporter is
    completely different. Radio would display text using its own fonts.
    Transporter (and Classic, Boom) would receive bitmaps from the server.
    In the latter case LMS would convert a font into bitmaps, not the player.

    > [20-01-24 06:22:19.3014] Slim:isplay::Lib::Fonts::__ANON__ (84) Warning: Unable to load TrueType font support: Can't locate loadable object for module Font::FreeType in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20.2/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20.2/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.20 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/loc

    al/

    Yeah, that module... I think I didn't always include it because it
    caused problems and nobody was using it anyway. You prove me wrong on
    the second part...

    There wouldn't be dev tools on that box, would there? Like compiler, git
    etc.?

    --

    Michael

  3. #3
    Junior Member
    Join Date
    May 2015
    Posts
    21
    Quote Originally Posted by mherger View Post
    > I have been struggling to get this work. I just bought a Readynas RN314
    > and trying to set it up as a LMS. Everything works fine except the
    > display of Chinese on the Transporter. However, my logitech Radio
    > displays Chinese perfectly correct under the same LMS. I have researched


    Did you install additional fonts for the Radio? Because I thought the
    stock fonts did not support Chinese.

    Yeah, that module... I think I didn't always include it because it
    caused problems and nobody was using it anyway. You prove me wrong on
    the second part...

    There wouldn't be dev tools on that box, would there? Like compiler, git
    etc.?

    --

    Michael
    Thank you so much for jumping in to help.

    1. Yes, I have installed the Androidsan font on the radio.

    2. I have no clue what this means, "There wouldn't be dev tools on that box, would there? Like compiler, git
    etc.?" as I am not really a computer person. So the answer is "I don't really know. "
    3. It has always worked correctly with synology Boxes.

    Again, the for helping out.

    Michael,
    Would you consider including the module in future releases? Or make a version within included?

    Thanks
    Last edited by tigs; 2020-01-24 at 14:18.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,422

    Transporter only displaysphonatic translation of Chinese (pinyin).

    > 2. I have no clue what this means, "There wouldn't be dev tools on that
    > box, would there? Like compiler, git
    > etc.?" as I am not really a computer person. So the answer is "I don't
    > really know. "


    If there were tools on the NAS to compile stuff, you could have tried to
    build the necessary library yourself. I wouldn't even know whether I
    still have that Perl version around somewhere.

    --

    Michael

  5. #5
    Junior Member
    Join Date
    May 2015
    Posts
    21
    Quote Originally Posted by mherger View Post
    > 2. I have no clue what this means, "There wouldn't be dev tools on that
    > box, would there? Like compiler, git
    > etc.?" as I am not really a computer person. So the answer is "I don't
    > really know. "


    If there were tools on the NAS to compile stuff, you could have tried to
    build the necessary library yourself. I wouldn't even know whether I
    still have that Perl version around somewhere.

    --

    Michael
    Thanks Michael.

    That sounds quite daunting to me. The readynas OS 6.10.2 is based on Debian Jessie. Whether it has a compiler, I don't really know how to tell.

    1. Do you recall which version has that module included? I don't have to use the latest. I believe the time around version 7.8 is the time when perl 5.20 existed.
    2. Is there anything in the Synology package that can be borrowed or learned?
    3. Any referrence to a step-by-step instruction to compile?


    here is the link to the person maintaining the Readynas package:

    https://github.com/nastools/logitechmediaserver

    it is 7.9,not the latest. I am fine. Does this make it easier to add the module? what is exactly the module you are referring to?

    Thanks

    I am trying to compile referring to this link.

    https://forums.slimdevices.com/showt...e-font-support


    will report back.

    I don't think I was successful.
    Attached Files Attached Files
    Last edited by tigs; 2020-01-26 at 01:07.

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,422

    Transporter only displaysphonatic translation of Chinese (pinyin).

    > 1. Do you recall which version has that module included? I don't have to
    > use the latest. I believe the time around version 7.8 is the time when
    > perl 5.20 existed.


    The issue is not the LMS version, but the OS/Perl version you're using.
    And you can't change that.

    > 2. Is there anything in the Synology package that can be borrowed or
    > learned?


    Synology uses a much more recent Perl version.

    > 3. Any referrence to a step-by-step instruction to compile?


    If it was simple, I had included it when I built the binaries. I think I
    dropped support for that module when it got painfully complicated to build.

    --

    Michael

  7. #7
    Junior Member
    Join Date
    May 2015
    Posts
    21
    Quote Originally Posted by mherger View Post
    > 1. Do you recall which version has that module included? I don't have to
    > use the latest. I believe the time around version 7.8 is the time when
    > perl 5.20 existed.


    The issue is not the LMS version, but the OS/Perl version you're using.
    And you can't change that.

    > 2. Is there anything in the Synology package that can be borrowed or
    > learned?


    Synology uses a much more recent Perl version.

    > 3. Any referrence to a step-by-step instruction to compile?


    If it was simple, I had included it when I built the binaries. I think I
    dropped support for that module when it got painfully complicated to build.

    --

    Michael
    Thank you michael for your time answering. It is good that i now know i can stop searching for answers.

  8. #8
    Junior Member
    Join Date
    May 2015
    Posts
    21
    For those of you having the similar issue or requirement, I have found a solution - docker image. It worked well with unicode display. Mine was running on a netgear RadyNAS 6.10.3. This is image I use:

    https://hub.docker.com/r/apnar/logitech-media-server

Posting Permissions

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