Page 3 of 6

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

Posted: Thu Apr 23, 2015 1:19 pm
by geo650
Problem with B-series has been resolved by zoelechat. I have created simplified version for B-series only:
B-series example library with source
to be sure I can implement it in my PVR+ application.
So, after several coredumps :roll: , my thread is closed. Thank you all. :P
Cheers!

EDIT 2015-05-01 (I wrote it earlier, but you know what happened ;) ):
Maybe someone would be interested in values returned by TCWindow::GetSource() function, after my tests made on B650.

Code: Select all

// return values for TCWindow::GetSource (Internet@TV, Guide and teletext doesn't affect these values)
enum
{
   SOURCE_TUNER = 0,
   SOURCE_CVBS = 15,
   SOURCE_COMPONENT = 23,
   SOURCE_VGA = 27,
   SOURCE_HDMI1 = 31,
   SOURCE_HDMI2 = 32,
   SOURCE_HDMI3 = 33,
   SOURCE_HDMI4 = 34,
   SOURCE_EXT1 = 35,
   SOURCE_EXT2 = 36,
   SOURCE_WISELINK = 43
};

Re: [App] libLogChannel B/D/E/F/H

Posted: Sat Nov 14, 2015 12:48 pm
by hu8200
hi.
i need read all CAID's from sat channels readed from LogChannel.log by other script. can you add this feature? or maybe i can read CAID's in a different way?

Re: [App] libLogChannel B/D/E/F/H

Posted: Tue Nov 17, 2015 1:42 pm
by zoelechat
hu8200 wrote:i need read all CAID's from sat channels readed from LogChannel.log by other script. can you add this feature? or maybe i can read CAID's in a different way?
Check newest version of libChanList and use DETAILS arg :)

Re: [App] libLogChannel B/D/E/F/H

Posted: Tue Dec 29, 2015 1:46 pm
by mad_ady
I got a chance to try out your lib and it works as expected, thanks! I'd like to ask how can I determine if the TV panel is on at the time of injection (I'm using libSoftPowerOff as well)? Also, if I want to keep track of what is being watched, I'd need to periodically inject the lib and read/parse the output, right?
Thanks!

Re: [App] libLogChannel B/D/E/F/H

Posted: Tue Dec 29, 2015 2:18 pm
by zoelechat
Right, but better use libChanList which almost took place of current one, it reports more stuff (such as soft-off, recording state...). Use it with NOLIST arg if you don't want to parse a channel list on each injection :)

Re: [App] libLogChannel B/D/E/F/H

Posted: Tue Dec 29, 2015 2:23 pm
by mad_ady
Thanks, I'll take a look!

Re: [App] libLogChannel B/D/E/F/H

Posted: Sat Jan 16, 2016 10:43 pm
by wluczykijwf
@zoelechat You may know how to get from the TV program when active is different than the TV source e.g. Media source?
A output parameter Program name is empty.
SpoilerShow

Code: Select all

[LogChannel] SamyGO D/E/F/H libLogChannel v0.1.1 - (c) zoelechat 2015
[LogChannel] >>>
[LogChannel] Channel number: 35
[LogChannel] Channel name: AleKino+ HD
[LogChannel] Program name: 
[LogChannel] Source: Undefined (89)
[LogChannel] TV mode: Air (0)
[LogChannel] Volume: 5
[LogChannel] Resolution: 720x576
[LogChannel] <<<
Do I need to change the first argument in this function?

Code: Select all

hCTX.TCTvProxy_GetPresentProgram(hCTX.GetTv(), channel, 1, program);

Re: [App] libLogChannel B/D/E/F/H

Posted: Sat Jan 16, 2016 11:11 pm
by zoelechat
Never asked myself the question, but I just tried, I've got the right TV program name whatever is source. I know no other way.
However that lib was one of my first beta-tries (some practice :) ), it's full of bugs and it's not impossible that program is correctly retrieved but "accidentally" erased afterwards :D

Re: RE: Re: [App] libLogChannel B/D/E/F/H

Posted: Sat Jan 16, 2016 11:24 pm
by wluczykijwf
Ok. Thank you. I tried on.

Re: [App] libLogChannel B/D/E/F/H

Posted: Sun Jan 17, 2016 8:43 pm
by wluczykijwf

Code: Select all

TCTvProxy_GetPresentProgram(void *this, void *channel, unsigned int startTime,  void *program)
@zoelechat your app works for orginal EPG from a provider, but this function simply doesn't allow download of the program if EPG is injected through libEPG.