SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 02-20-2006, 06:01 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
Is your EPG guide info coming from Zap2it?
Do you see the date for newer (after 1970) programs?
I believe you are using the same version I was when I did my initial testing and at that time I did not see a negative value being returned from the GetOriginalAiringDate in the ShowAPI. By the time Nielm posted above I was using a beta version which may have corrected that problem allowing the != change to work. If you upgrade to the most recent version of the the beta no changes to the STV are needed, the change was made in the released STV.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #22  
Old 02-20-2006, 06:56 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
I am not sure where my EPG data is coming from. I am using beta 4.1.6.

My EPG lineup says "Time Warner Cable".

When I am in the Program Guide and I select "View Program Information" , it shows the original air date with lots of information. What I am trying to get is that original air date to simply show up in the Program Guide upper window as I go scroll through the Program Guide listings. I am not sure if I am making sense?

Last edited by joe123; 02-21-2006 at 10:37 AM.
Reply With Quote
  #23  
Old 02-22-2006, 02:12 AM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
Quote:
Originally Posted by joe123
When I am in the Program Guide and I select "View Program Information" , it shows the original air date with lots of information. What I am trying to get is that original air date to simply show up in the Program Guide upper window as I go scroll through the Program Guide listings. I am not sure if I am making sense?
What you want to do is possible but you will need to write your own code to do it. The area you want to look at is at the following location:
ScheduleEPG THEME
DetailArea
Title & Info Area
ShowInfo
GetFocusContext

I did some quick and dirty testing for my own purposes by replacing the line:
this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "\n", "")

with
this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "\nOriginal Air Date: " + PrintDateFull(GetOriginalAiringDate(Airing)) + "\n" + GetShowExternalID(Airing) + " ", "")

The above is not good programing I do not check for empty or non-existent data. I only wanted to see what I could do.

Good Luck

edit: corrected slash to back slash
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.

Last edited by carlgar; 02-25-2006 at 02:16 PM.
Reply With Quote
  #24  
Old 02-22-2006, 10:46 AM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by carlgar
The above is not good programing I do not check for empty or non-existent data. I only wanted to see what I could do.

Good Luck
So with that modification, what did you get for output? It is not pbvious to me since I don't know what the fields actually represent.
Reply With Quote
  #25  
Old 02-22-2006, 01:31 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
For a show with a description I get the following:

General Hospital, Wed 2/22 2:00 PM - 3:PM
Sam is by Danny's side as he gently passes away; Jax and Carl learn
tjat John has the virus; Carly gives blood in the hope that it will lead to
developing a cure.
Original Air Date: Wednesday, February 22, 2006
EP0018070829 Soap

A Show with no description shows the following:

Talk of the Town, Wed 2/22 12:30 - 1:30 PM
Talk

A Movie shows the following:

Sharky's Machine, Wed 2/22 12:30 PM - 3PM
An Atlanta vice-squard detective )Burt Reynalds) loves a high-class
call girl (Rachel Ward) linked to politics and a mob boss (Vittorio
Gassman).
Original Air Date:Wednesday, December 31,1969
MV0074940000 Movie/Crime drama

The date for a movie requires different code to obtain the release date.
The lack of a description field prevent my quick and dirty code from displaying the Original Air date. It also appears like 6 lines of data is all that can be displayed in that area. If you attempt to display to much date the last 3 characters will be ... like the following line:

Original Air Date:Wednesday, February 22, 2006...

The ID and subtypes are not displayed, so if the Original Air Date is a must see item you should probably show it before the description field. Some descriptions can be very long.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #26  
Old 02-22-2006, 02:29 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Cool thanks. That's good enough for me.

One last question if I may. What are the steps needed to make those changes?
Reply With Quote
  #27  
Old 02-22-2006, 07:02 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
I thought I gave you all the needed information in post #23 above. You might want to review the original post #15.
You just need to locate the original line and edit it as I did. You can find the original line by finding each widget listed and then expanding it and then find the next widget in the provided list. After making the changes test and save your new STV. The information provided by me are based upon the original STV provided by Sage.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #28  
Old 02-22-2006, 07:06 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Ok thanks. I was not sure if it was the same steps or not.
Reply With Quote
  #29  
Old 02-24-2006, 04:22 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
To be able to see the movie release date after making the changes to see the OriginalAirDate then edit the same line replacing:
"\nOriginal Air Date: "
with
"\n" + GetShowYear(Airing) + " Original Air Date: "

This will result in a line likethe following for a movie:
1993 Original Air Date: Wednesday, December 31, 1969

or for a non-movie something like:
Original Air Date: Friday, October 6, 1995
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #30  
Old 02-25-2006, 12:23 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Quote:
Originally Posted by carlgar
What you want to do is possible but you will need to write your own code to do it. The area you want to look at is at the following location:
ScheduleEPG THEME
DetailArea
Title & Info Area
ShowInfo
GetFocusContext

I did some quick and dirty testing for my own purposes by replacing the line:
this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "/n", "")

with
this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "\nOriginal Air Date: " + PrintDateFull(GetOriginalAiringDate(Airing)) + "\n" + GetShowExternalID(Airing) + " ", "")

The above is not good programing I do not check for empty or non-existent data. I only wanted to see what I could do.

Good Luck
Well, I made the changes today, but I don't see the difference.

Also, since this is new to me, I am taking every character literally. I am assuming that the line:

this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing)+ "/n",

You really meant

this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing)+ "\n",

This looks like a C type of programming, newline, but again, since I don't know, I assumed as such. Correct me if I am wrong.
Reply With Quote
  #31  
Old 02-25-2006, 02:21 PM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
Yes, you are correct. I have corrected that in post #23.
I am a little confused as to what point you are currently at. Are you saying that you cannot get post number 23 to work or you cannot get post number 29 to work. I thought you had already had #23 implemented.
Note: the replacement text is just 1 line don't take it as multiple lines in post #23.

BTW: have you looked at the "Extra: Custom Menus"? I think they give you all the data you are looking for in the guide.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.

Last edited by carlgar; 02-25-2006 at 02:24 PM.
Reply With Quote
  #32  
Old 02-26-2006, 11:33 AM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
I never got any to work after all. In all honesty, I also got lost. Maybe you or someone can add a new post with all of the steps involved.

For newbies, it's too complicated to go back and forth in the posts trying to decipher the next step.

Don't get me wrong, I appreciate all of your help, but this thread needs a overall list of steps in one single post.

P.S. Regarding the "Extra: Custom Menus", Yes, it has all of the info I want, but I need that info in the Program Data Guide format of channels. I will post a seperate question about this.

Thanks Again!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.