Page 1 of 1

[App] libSubtitles. Font Size Color Patch.

Posted: Fri Apr 24, 2015 7:38 pm
by sectroyer
Patch sets subtitles size and color.

Usage:
  • Get latest samyGOso from there and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
  • Set permissions if needed (usually not if overwritten)

    Code: Select all

    chmod +x /mnt/opt/privateer/usr/bin/samyGOso
  • Extract attached archives and copy libSubtitles.so to /mnt/opt/privateer/usr/libso.
  • Execute

    Code: Select all

    samyGOso -d -r -A -l /mnt/opt/privateer/usr/libso/libSubtitles.so ADD_TO_SIZE:px FONT_COLOR:ARGB
    Commandline takes two args:
    • ADD_TO_SIZE:n - Add n pixels to font size.
    • FONT_COLOR:ARGB - Expected font color in ARGB format (e.g. 0xFFFF0F010)
    Logfile is written to /dtv/Subtitles.log
  • Autostart
    • Copy 99_97_Subtitles.init to /mnt/etc/init.d
    • Set permissions

      Code: Select all

      chmod +x /mnt/etc/init.d/99_97_Subtitles.init
    • You can change options values on top of script, default is

      Code: Select all

      ADD_TO_SIZE=20
      FONT_COLOR=0xFFFF0F010