Solved Font problem in external player
#1
I try run external audio player (QMMP) from XBMC.
If XBMC was started from Gnome desktop then QMMP is working OK.
If XBMC was started as session then QMMP shows track names by small unreadable font.
The same I have with other audio players (DeaDBeeF, Audacious).

playercorefactory.xml
Code:
<playercorefactory>
  <players>
    <player name="QMMP" type="ExternalPlayer" audio="true" video="false">
      <filename>/usr/bin/qmmp</filename>
      <hidexbmc>true</hidexbmc>
    </player>
</players>
</playercorefactory>

/usr/share/xsessions/XBMC.desktop
Code:
[Desktop Entry]
Name=XBMC
Comment=This session will start XBMC Media Center
Exec=/home/xbmc/bin/xbmc.sh
TryExec=/home/xbmc/bin/xbmc.sh
Type=Application

/home/xbmc/bin/xbmc.sh
Code:
#!/bin/sh
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ru &
/home/xbmc/xbmc/xbmc.bin

Edit: I installed default font in .gtkrc file (for DeaDBeeF).
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
Reply

Logout Mark Read Team Forum Stats Members Help
Font problem in external player0