[App] libAirToSat D/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.

monsieurxu
SamyGO Project Donor
Posts: 11
Joined: Wed Jan 07, 2015 11:05 am

Re: [App] libAirToSat D/E/F/H

Post by monsieurxu »

Hello, i'm interested of a kind of patch but with small modifications. I have a STB source on HDMI1 and a TV (air). As i have no sat tuner, i'd like a patch setting the TV able to automatically switch (at startup, without any command) on HDMI1 when STB is on, on TV source in other case.
Do you think this could be possible?
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libAirToSat D/E/F/H

Post by zoelechat »

monsieurxu wrote:Hello, i'm interested of a kind of patch but with small modifications. I have a STB source on HDMI1 and a TV (air). As i have no sat tuner, i'd like a patch setting the TV able to automatically switch (at startup, without any command) on HDMI1 when STB is on, on TV source in other case.
Do you think this could be possible?
Theoretically everything is possible, but this has nothing to do with current patch which is just filling a gap: the severe lack of "switch to sat" button on all Samsung TVs. On the contrary, HDMI key (and even HDMI1) is already existing :)
I guess what you expect should be HDMI-CEC's job, or as workaround you still can ping your STB if it's alive then send HDMI key using samyGOrc in a startup script (switch wouldn't be done exactly on startup though, but as soon as SamyGO is loaded).
I do NOT receive any PM. Please use forum.
orlinm
SamyGO Project Donor
Posts: 36
Joined: Mon Feb 03, 2014 7:41 am

Re: [App] libAirToSat D/E/F/H

Post by orlinm »

Hm, strange results ... script libAirToSat works for me manually. But when I try to activate it via libRCremap with CMD support I receive log:

Code: Select all

[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_2' to command: '/mnt/opt/privateer/usr/bin/CMD_libAirToSat'
[RCremap] error init_rckeymap_config '/mnt/opt/privateer/usr/libso/libRCremap.config' 0
When I used original/test libRCremap.config.config ( that with changing VolUP - VolDN creating tst and other ) it worked fine
When I use my config - for example

Code: Select all

[
    {
        "KEY_2": "CMD:/mnt/opt/privateer/usr/bin/CMD_libAirToSat"
    }
]
appears that error and not work at all.
Someone can help me ?
UE40C6000
UE40F7000
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libAirToSat D/E/F/H

Post by zoelechat »

orlinm wrote:When I use my config - for example

Code: Select all

[
    {
        "KEY_2": "CMD:/mnt/opt/privateer/usr/bin/CMD_libAirToSat"
    }
]
appears that error and not work at all.
Someone can help me ?
Yeah, such issue/bug has already been noticed, you must not use any CMD as first (or only) remap in config. So if you don't expect to remap any other key, first remap any key to itself (e.g. "KEY_1": "KEY_1" then "KEY_2": "CMD:....")
I do NOT receive any PM. Please use forum.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] libAirToSat D/E/F/H

Post by sectroyer »

orlinm wrote:Hm, strange results ... script libAirToSat works for me manually. But when I try to activate it via libRCremap with CMD support I receive log:

Code: Select all

[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_2' to command: '/mnt/opt/privateer/usr/bin/CMD_libAirToSat'
[RCremap] error init_rckeymap_config '/mnt/opt/privateer/usr/libso/libRCremap.config' 0
When I used original/test libRCremap.config.config ( that with changing VolUP - VolDN creating tst and other ) it worked fine
When I use my config - for example

Code: Select all

[
    {
        "KEY_2": "CMD:/mnt/opt/privateer/usr/bin/CMD_libAirToSat"
    }
]
appears that error and not work at all.
Someone can help me ?
IMHO you lack enter at the end of file ;)
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] libAirToSat D/E/F/H

Post by zoelechat »

sectroyer wrote:IMHO you lack enter at the end of file ;)
Just in case, but that's not sufficient, if you don't remember ;) : viewtopic.php?f=70&t=8469&start=250#p67500
I do NOT receive any PM. Please use forum.
orlinm
SamyGO Project Donor
Posts: 36
Joined: Mon Feb 03, 2014 7:41 am

Re: [App] libAirToSat D/E/F/H

Post by orlinm »

It's work now like charm :)
Thank you very much for support !
Now it's time to do some experiments with EPG API libEPG
UE40C6000
UE40F7000
rromcic
SamyGO Project Donor
Posts: 65
Joined: Mon Nov 18, 2013 7:26 pm

Re: [App] libAirToSat D/E/F/H

Post by rromcic »

Then I switch CABLE/SAT on my ES7000, "Weak or No Signal" appear, and need to zap up/down for ok signal

AirToSat.log
SpoilerShow
[AirToSat] SamyGO D/E/F/H libAirToSat v0.2.4 - (c) zoelechat 2015
[AirToSat] lib_init, Setting to CABLE/SAT mode!
[AirToSat] dlsym '_ZN5TCAPI9GetWindowEN8TCWindow7EWindowE' failed.
[AirToSat] g_pAppWindow [0x85a0df8].
[AirToSat] _ZN9TCChannelC2Ev [0x10dc600].
[AirToSat] _ZN9TCChannelD2Ev [0x10d8a18].
[AirToSat] _ZNK9TCChannel5MajorEv [0x10dadd8].
[AirToSat] _ZN8TCWindow12GetTVChannelEP9TCChanneli [0x109136c].
[AirToSat] _ZN8TCWindow9GetTvModeEPii [0x1091260].
[AirToSat] _ZN8TCWindow9SetTvModeEii [0x1091284].
[AirToSat] _ZN8TCWindow10SetChannelEPK9TCChannelii [0x1093e78].
[AirToSat] dlsym '_ZN13TCWindowProxy12GetTVChannelEP9TCChanneli' failed.
[AirToSat] dlsym '_ZN13TCWindowProxy9GetTvModeEPii' failed.
[AirToSat] dlsym '_ZN13TCWindowProxy9SetTvModeEii' failed.
[AirToSat] dlsym '_ZN13TCWindowProxy10SetChannelEPK9TCChannelii' failed.
[AirToSat] lib_init, Switched to antenna: 3, channel: 316
[AirToSat] init done...
[AirToSat] >>> lib_deinit
[AirToSat] <<< lib_deinit
TV: UE55ES7000 - T-ECPDEUC-2009.2
TV: UE46ES7000 - T-ECPDEUC-2009.2
SamyGO tool Right from USB - no develop account is needed
[APP] SamyGO oscam E/F (not for T-MST)
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libAirToSat D/E/F/H

Post by zoelechat »

rromcic wrote:Then I switch CABLE/SAT on my ES7000, "Weak or No Signal" appear, and need to zap up/down for ok signal
I also had that issue from the beginning, randomly and especially on first air/sat switch after TV boot. New version from 1st post should fix it :)
I do NOT receive any PM. Please use forum.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libAirToSat D/E/F/H

Post by zoelechat »

New version, now logging destination antenna name in local language, in case you want to parse it and display it with libAlert for example (sample script added to first post).

Code: Select all

[AirToSat] Switched to antenna 0: Hertzien
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”