epg>time GLOBAL

Got an idea, post it here

epg>time GLOBAL

Postby lar282 on Fri May 13, 2005 7:10 am

Please make epg>time GLOBAL. This way I can write a goto now plugin for the EPG.

I realize u (Steven) have alot to do and do not wanna add features to the epg so maybe this is a comprimize.

Thanks in advance


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby badubo on Fri May 13, 2005 7:59 am

I don't understand how a "epg>time" global will help to make a plugin :?:
What we need is a possibility to refresh the epg so that it is synchronized with the current time and not the startup time of xlobby
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby lar282 on Fri May 13, 2005 8:03 am

the epg>time is where in EPG Xlobby is(I hope) and if I have that I can move FF and RW to the point where epg>time is equal to current time and date


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby badubo on Fri May 13, 2005 8:08 am

I don't know if the epg has always a selection. But if yes, it can be a workaround.

You can already do that, throught the interface of the epg in the plugin (see the source of xltv)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby lar282 on Fri May 13, 2005 8:10 am

there is no interface for epg>time?

I do not mean epg channel time.
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby badubo on Fri May 13, 2005 8:39 am

Yes, I know
but how about getting the start and stop time of the selected program, and make change to the page of the epg until you have a selected program that is less than the current time (and that the next page is greater)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby lar282 on Fri May 13, 2005 10:02 am

that wont work if there is no program in the epg. There will be no programin the EPG if the user has not touched the epg for example 24 hours and there is only 12 hours of epg programs.

The only info there is avalably is epg>time and that is not global so I cannot push that info into a plugin.


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby JLF on Fri May 13, 2005 2:01 pm

//Lasse

Could you use a combination of the EPG>Refresh and then use badubo suggestion of matching the EPG>Time in the epg to the system time. Then move the page forward until the system time is less than the time displayed in the EPG. You say it can not be pushed to a plugin because it is not global, but how about an event?

JLF
JLF
 
Posts: 24
Joined: Thu Apr 07, 2005 10:20 pm
Location: Virginia, USA

Postby lar282 on Fri May 13, 2005 2:21 pm

I can do a plugin IF a EPG program is there and selected. this is not very usfull though

I cannot(maybe somebody else can) do it with epg>time cause I cannot pass it to the plugin code and therefor I cannot page till the correct time is acchived.

this is however really simple for steven to fix like he did with the rest of the epg data. they were not global before but then he fixed that. I also know he has alot going on since I aslo have 2 kids and one of them is only 11 weeks old.


//LAsse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden