EPG Question?

Help each other out

EPG Question?

Postby jmb295 on Thu Jun 09, 2005 3:31 pm

I am trying to get xlobby to control a myHD card from my PPC. I have the physical control of the card setup, and would like to get the EPG working. Is the following possible with xlobby, or should I not even waste my time.

I have the EPG setup and working to display the xmltv information. I want to setup a record button that will send the xmltv defined variables to girder for processing. I have already written a girder script to parse the xmltv definition and configure the recording with the myHD program. Is it possible to retrieve the xmltv variables from within xlobby, and if so is there a list of the available one?

Thanks!
jmb295
 
Posts: 69
Joined: Tue May 04, 2004 11:56 pm
Location: Sterling, Va

Postby lar282 on Fri Jun 10, 2005 6:27 am

yes its possible, depending on how much info u want. I did it from a plugin, but u can save to variable and then send the info to girder.

%epg>channel%
%epg>runtime:yyyy dd MM d HH:mm%
%epg>title%
%epg>runtime:yyyy%
%epg>description%
%epg>logo%


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

Postby jmb295 on Fri Jun 10, 2005 4:55 pm

Thanks Lasse!

Is the runtime variable the start time? I'll probably have to use the start time and the channel number from within girder to reparse the xml file to get all of the information I need.
jmb295
 
Posts: 69
Joined: Tue May 04, 2004 11:56 pm
Location: Sterling, Va

Postby lar282 on Sat Jun 11, 2005 6:49 am

Have u looked at the help section?
http://www.xlobby.incolby.com/EventVari ... htm#plugin


EPG
EPG>
logo
Displays the current epg station logo


EPG>
title
Displays the current epg program title


EPG>
runtime
Displays the current epg program’s running time


EPG>
description
Displays the description of the current epg program


EPG>
rating
Displays the current epg program’s rating


EPG>
channel
Displays the current epg channel


EPG>
time>
Displays the current epg date and/or time
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby bigtall on Mon Jun 13, 2005 4:34 pm

I would be interested in that girder myhd script that you have. I also have a myhd card and am trying to get that same functionality to work.

How are you doing the scheduled recordings?

Are you entering stuff into the registry and letting the myhd scheduler take care of them or are you writing your own scheduler within girder to turn on myhd and set the channel and hit record?

Thanks.
bigtall
 
Posts: 6
Joined: Tue Dec 02, 2003 9:42 pm
Location: Victoria, MN

Postby jmb295 on Mon Jun 13, 2005 10:01 pm

bigtall,

I'm going to have to modify an older script I've been using to schedule recordings from within myHD. What I think will happen is I'll use the xlobby epg, and have a record button on the screen. when you hit the record button it will send the time/channel info to girder. When girder receives the command it will parse the xmltv file to find all of the needed fields for myHD, and create a tvpi file. That file is handled automatically by the myHD program, and it will schedule the recording.

I already have everything working except for sending the program information to girder from xlobby. My goal is to schedule recordings from my ppc.
jmb295
 
Posts: 69
Joined: Tue May 04, 2004 11:56 pm
Location: Sterling, Va

Postby Atlas on Tue Jun 14, 2005 3:01 am

I would be interested too! I'm still using TitanTV, which I'm not a big fan of since it is web based. Been wanting to setup xlobby epg to use with myHD but haven't gotten around to it yet.
Atlas
 
Posts: 134
Joined: Wed Apr 14, 2004 3:43 am
Location: McKinney, TX

Postby vicom on Tue Jun 14, 2005 2:58 pm

%epg>logo%

how does one insert logos in the XMLTV xml file.. which tags should one use?
vicom
 
Posts: 206
Joined: Tue Apr 20, 2004 6:16 am
Location: South Africa

Postby lar282 on Wed Jun 15, 2005 1:34 pm

My tvguide.xml looks like this.

<channel id="10">
<display-name>Kanal 5</display-name>
<icon src="http://o2grabber.o2design.se/icons/Kanal 5.png" />
</channel>



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

Postby art on Mon Jun 20, 2005 12:26 am

jmb295 wrote:.....When girder receives the command it will parse the xmltv file to find all of the needed fields for myHD, and create a tvpi file.


Could you post a sample of tvpi and tvvi file? I'm writing a plugin for xl for EPG and MyHD. I can access epg data that xl provides and plugin works with xl nicely, but I'm not 100% sure how those files should look like and what format the data should be in. If you could help that would be great.
art
 
Posts: 284
Joined: Sat Mar 20, 2004 8:40 am
Location: Allen, TX

Postby jmb295 on Mon Jun 20, 2005 2:53 pm

art,

I am currently working to get the xschedule plugin in development to work with myHD, and I'm almost there. It looks like it will do exactly what I need, so I put on hold what I was planning to do. I do have the tvpi file definitions needed for myHD at home, and will post them this evening for you.
jmb295
 
Posts: 69
Joined: Tue May 04, 2004 11:56 pm
Location: Sterling, Va

Postby art on Mon Jun 20, 2005 5:09 pm

jmb295 wrote:....
I do have the tvpi file definitions needed for myHD at home, and will post them this evening for you.


Thanks! I appreciate that.
art
 
Posts: 284
Joined: Sat Mar 20, 2004 8:40 am
Location: Allen, TX

Postby jmb295 on Mon Jun 20, 2005 8:54 pm

Here is an example of a tvpi file that will work with the myHD card.

<tv-program-info version="1.0">
<program>
<station>WTTGDT1</station>
<tv-mode>digital</tv-mode>
<program-title>The Simpsons</program-title>
<program-description>Worst Episode Ever</program-description>
<start-date>20050620</start-date>
<start-time>21:00</start-time>
<end-date>20050620</end-date>
<end-time>21:30</end-time>
<duration>00:30</duration>
<rf-channel>36</rf-channel>
<psip-major>5</psip-major>
<psip-minor>1</psip-minor>
<stream-number>1</stream-number>
</program>
</tv-program-info>

For myHD the tv-mode needs to be set to digital, and on my computer it is case sensitive. The rf-channel is the actual digital channel, while the psip major/minor are the virtual channel mapping values. I have the stream number hardcoded to 1 in the scripts I have written. And if I remember correctly the time start/end values must be set to GMT time, not your time zone.
jmb295
 
Posts: 69
Joined: Tue May 04, 2004 11:56 pm
Location: Sterling, Va