[App] Libraries for the OnlineTV app E/F/H

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

[App] Libraries for the OnlineTV app E/F/H

Post by wluczykijwf »

This topic is open only for libraries for the Online TV app.
Probably most of them will be doesn't matter without use the OnlineTV app.
List of lib's:
  1. OnlineTVExText - the app gets a extended text from EPG.
  2. OnlineTVDataForGUIDE - the app gets a data for current programs and extended text from EPG.
  3. LogRCkey mod for OnlineTV - the app loging and count a RC kay press.
  4. HideDimScreen - the patch hide dimming screen in widget mode.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

[Lib for OnlineTV] OnlineTVExText E/F/H

Post by wluczykijwf »

The app gets a extended text from EPG and saves it to /mtd_rwcommon/common/OnlineTV/ExtendedText.txt

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 archive and copy OnlineTVExText.so to /mnt/opt/privateer/usr/libso/libOnlineTV (create folder if needed)
  • Execute

    Code: Select all

    samyGOso -d -A -B -r -l /mnt/opt/privateer/usr/libso/libOnlineTV/libOnlineTVExText.so
    Logfile containing informations is written to /dtv/OnlineTVExText.log

    The app must inject always AFTER injection the libEPG app.

    Example autostart script for libEPG and libOnlineTVExText here
@zoelechat and @sectroyer thank you for all the advice in the creation of my first library :D.
*Changelog:

Code: Select all

31.01.2016
v0.1.1 - Set a larger buffer
			Fixed new line break
21.01.2016
v0.1.0 - First public release
You do not have the required permissions to view the files attached to this post.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
piotrdvb
SamyGO Project Donor
Posts: 20
Joined: Wed Sep 23, 2015 2:17 pm
Location: Poland

Re: [App] Libraries for the OnlineTV app E/F/H

Post by piotrdvb »

Everything works. Good job wluczykijwf :)
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] Libraries for the OnlineTV app E/F/H

Post by wluczykijwf »

sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

[Lib for OnlineTV] OnlineTVDataForGUIDE E/F/H

Post by wluczykijwf »

The app gets data from EPG and save it.
App cooperate with OnlineTV v. 1.1.5 or last version.
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 archive and copy libOnlineTVDataForGUIDE.so to /mnt/opt/privateer/usr/libso/libOnlineTV (create folder if needed)
  • Execute

    Code: Select all

    samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libOnlineTV/libOnlineTVDataForGUIDE.so [arg]
  • Sample manual usage:
    • 1. Gets data from EPG for current programs

      Code: Select all

      samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libOnlineTV/libOnlineTVDataForGUIDE.so CURRENT_LIST_EPG
      A libEPG.config must be created via libEPG_xml2josn v. 1.5.0.2. or last version
      Data is save to:
      • on E/F series: /mtd_rwcommon/common/OnlineTV/DataForChannels.txt
      • on H series: /mtd_unirw/rwcommon/widgets/common/OnlineTV/DataForChannels.txt
      2. Gets extend text from EPG for current channel and current program

      Code: Select all

      samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libOnlineTV/libOnlineTVDataForGUIDE.so CURRENT_CHANNEL_EPG:0
      If set params of arg CURRENT_CHANNEL_EPG:1 the app gets next program
      If set params of arg CURRENT_CHANNEL_EPG:2 the app gets next+1 program, etc.
      Extend text is save to:
      • on E/F series: /mtd_rwcommon/common/OnlineTV/ExtendedText.txt
      • on H series: /mtd_unirw/rwcommon/widgets/common/OnlineTV/ExtendedText.txt
    Logfile containing informations is written to /dtv/OnlineTVDataForGUIDE.log

    The app must be use always AFTER injection the libEPG app.
The lib based on:
  • libSchedulePVR v0.3.2.2 by @sectroyer
  • libChanList v0.2.2 by @zoelechat
    Thanks for your pretty codes :D
*Changelog:

Code: Select all

27.11.2016
v0.1.4 - Fixed bug with navmode
26.11.2016
v0.1.3 - Current list returns all channels for current channel list
       - Added new options for a future application
15.10.2016
v0.1.2 - Current list returns only short information but for two next program for channel
01.10.2016
v0.1.1 - Added for sync file OK
20.02.2016
v0.1.0 - First public release
You do not have the required permissions to view the files attached to this post.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] Libraries for the OnlineTV app E/F/H

Post by wluczykijwf »

I need a help.
If I use my app OnlineTVDataForGUIDE for DTV channel which have overwrite EPG via libEPG by @sectroyer then I have restart TV and a log very strange:
SpoilerShow

Code: Select all

[OnlineTVDataForGUIDE] SamyGO E/F/H libOnlineTVDataForGUIDE v0.1.0 - (c) wluczykijwf 2016
[OnlineTVDataForGUIDE] The lib based on:
[OnlineTVDataForGUIDE] 	- libSchedulePVR v0.3.2.2 by sectroyer
[OnlineTVDataForGUIDE] 	- libChanList v0.2.2 by zoelechat
[OnlineTVDataForGUIDE] lib_init, TV Model: F Series
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '?H-????(?M?p ?8 ?' failed.
[OnlineTVDataForGUIDE] dlsym 'xH-????' failed.
[OnlineTVDataForGUIDE] dlsym 'pH-????,?M?@ ?( ?' failed.
[OnlineTVDataForGUIDE] dlsym '?H-?????M?` ?0K?p ?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '?M-???? ?M?p ?  ?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '?C?h ?????????P???C??=??<??<?`7???????????U???' failed.
[OnlineTVDataForGUIDE] dlsym 'pH-????,?M?@ ?( ?' failed.
[OnlineTVDataForGUIDE] dlsym '??????U???' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '0H-????(?M?@ ?' failed.
[OnlineTVDataForGUIDE] dlsym '?I-????$?M?p ?? ?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?H-?' failed.
[OnlineTVDataForGUIDE] dlsym '0H-????P???M?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '$??' failed.
[OnlineTVDataForGUIDE] dlsym 'xH-?' failed.
[OnlineTVDataForGUIDE] dlsym '?I-?' failed.
[OnlineTVDataForGUIDE] dlsym 'H-????@??' failed.
[OnlineTVDataForGUIDE] dlsym '?H-?' failed.
[OnlineTVDataForGUIDE] dlsym '0H-?' failed.
[OnlineTVDataForGUIDE] dlsym 'H-?' failed.
[OnlineTVDataForGUIDE] dlsym '0H-????' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym 'H-?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym 'H-????' failed.
[OnlineTVDataForGUIDE] dlsym '0???-?' failed.
[OnlineTVDataForGUIDE] dlsym 'xH-???????` ?' failed.
[OnlineTVDataForGUIDE] dlsym '?H-????' failed.
[OnlineTVDataForGUIDE] dlsym 'L1??H-?????M?' failed.
[OnlineTVDataForGUIDE] dlsym '?I-????' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '?O-? ????M?' failed.
[OnlineTVDataForGUIDE] dlsym '?O-?$??????' failed.
[OnlineTVDataForGUIDE] dlsym '?-?' failed.
[OnlineTVDataForGUIDE] dlsym '' failed.
[OnlineTVDataForGUIDE] EPG for current channel id:0
[OnlineTVDataForGUIDE] EPG save>>>
What is wrong?
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Libraries for the OnlineTV app E/F/H

Post by sectroyer »

bug in lib :) Some buffer overflow IMHO :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Libraries for the OnlineTV app E/F/H

Post by zoelechat »

Repeated resident injections of same lib? Use of -r when unneeded? Same definitions in different libs?

Code: Select all

#define LIB_HOOKS Same_Name_hooks
#define hCTX Same_Name_hook_ctx
I do NOT receive any PM. Please use forum.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] Libraries for the OnlineTV app E/F/H

Post by wluczykijwf »

sectroyer wrote:bug in lib :) Some buffer overflow IMHO :)
Well, yes for sure :D.
zoelechat wrote:Repeated resident injections of same lib? Use of -r when unneeded?
Probably not.
zoelechat wrote:Same definitions in different libs?

Code: Select all

#define LIB_HOOKS Same_Name_hooks
#define hCTX Same_Name_hook_ctx
I'll check it.

Thanks you for answers :).
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [App] Libraries for the OnlineTV app E/F/H

Post by wluczykijwf »

Only for a report.
It turned out that the error does not result from lib.
The reason for the overflow buffer was double call lib.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500

Post Reply

Return to “[F] Software”