View Full Version : Two SageTV 4.0 Program Guide Customization questions
mkanet
11-05-2005, 12:11 AM
I'm hoping somebody will be nice enough to explain how to do this to a total newbie.
Question #1
I currently have my video displayed in the background always. In the Program Guide, there's an area reserved for the description of the show. There's plenty of valuable empty space that's not being used for anything for people with small fonts. How can I allow the grid use more space on the screen to fit more rows (to take up most of the screen)? Take a look at the attached picture.
Question #2
For some reason the channel logos get squished and dont hold their aspect ratios when there are more than 4 or so rows. Where can I change it so ALL logos in the program guide will show the correct AR?
Thanks so much in advance!
Opus4
11-05-2005, 01:00 AM
Question #1
I currently have my video displayed in the background always. In the Program Guide, there's an area reserved for the description of the show. There's plenty of valuable empty space that's not being used for anything for people with small fonts. How can I allow the grid use more space on the screen to fit more rows (to take up most of the screen)?You would have to change the size/placement of a couple panels:
1) In the "LiveTVGuide w/ Optional Preview" menu, expand the "EPG Grid" panel once, then expand the "EPGGridArea" theme. Edit the "EPG Grid" panel below that theme -- change its Anchor Y to move the grid up, then increase its Fixed Height to fill the rest of the screen again.
2) In the same menu, expand the "GridEPGTheme" theme once, then double-click on the "EPGPreview THEME" menu reference to jump to that menu. Expand the menu once, then edit the "DetailArea" panel to reduce its Fixed Height.
One issue with doing this is that the "DetailArea" panel is used on multiple screens, so you've reduced its display area in many places, but I don't think the 1st edit will increase the lower area in all the same places -- you will probably need to edit some other places for it all to fit together smoothly again. So, you now get to play around to see how you want to resize things. :)
Question #2
For some reason the channel logos get squished and dont hold their aspect ratios when there are more than 4 or so rows. Where can I change it so ALL logos in the program guide will show the correct AR?Hmmm.. I could make it easy for you & tell you to search for "Channel Logo" & check-mark its "Preserve Aspect Ratio" option, but that's too easy. ;) You can find it by expanding the "EPG Grid" panel again, look under "AiringTable" to find all the table elements, then look for the image widget that is used to display those channel logos in the tree under the GetAllChannels() API call. You can explore the rest fo the table elements to see what else you can change & how it is all put together.
I didn't double-cjeck what I just wrote, so I hope there aren't any important typos. :)
- Andy
mkanet
11-05-2005, 02:26 AM
Thanks for taking the time to explain. However...
I couldn't find the image widget which control's the channel logo's aspect ratio. Do you mind showing me where specifically I can change the aspect ratio setting for the channel logos? Please? :)
"then look for the image widget that is used to display those channel logos in the tree under the GetAllChannels() API call"
Opus4
11-05-2005, 09:46 AM
I did tell you the easy way -- for #2, see the first sentence that says what to search for. (Use the 'Find All...' command; Ctrl+F) :)
- Andy
Kanati
11-05-2005, 10:01 AM
I think this is what you want...
http://www.obsidianobelisk.com/images/chanlogo2.jpg
Right click on Channel Logo and make sure preserve aspect ratios at the bottom of the popup window is checked. That should make them look correct.
mkanet
11-05-2005, 10:25 AM
It was already set to keep the aspect ratio... Maybe it's one of the other settings? Andy, does this look like a bug to you?
Kanati
11-05-2005, 10:31 AM
It was already set to keep the aspect ratio... Maybe it's one of the other settings? Andy, does this look like a bug to you?
Look at my picture again... I posted the wrong place the first time. I think you are looking at ChanLogo instead of the one I have in the picture now. My mistake at first. :blush:
On my default setup, it's not checked in the one I show in the picture. So yours is probably not checked as well.
Opus4
11-05-2005, 10:40 AM
It was already set to keep the aspect ratio... Maybe it's one of the other settings? Andy, does this look like a bug to you?You are definitely editing the wrong widget's properties. If you are using Ctrl+F to find it, make sure you are searching for "Channel Logo" (w/o the quotes). Note that it is case sensitive. (The image posted above is correct also.)
Also note that checking that box will not show an immediate change -- refresh the menu or simply go to the Main Menu and click on Program Guide again. (This is one of the times were a menu refresh is needed to see the change.)
- Andy
mkanet
11-05-2005, 10:58 AM
Thank you! The problem is fixed now. I wonder why it wasn't set to keep aspect ratio in the first place. I cant imagine why anyone would want to see their channel logos stretched out.
mkanet
11-05-2005, 12:16 PM
PS: Andy, thanks for explaining more about the using the find feature (the easy way). That was the first thing I tried, but it didnt work at first because I didnt realize it was case sensetive. You weren't kidding about it being the easy way :)
mkanet
11-05-2005, 05:30 PM
Andy, you'll be proud of me! :) Before you know it I'll be able to design my own stv's
Check out what I have so far in my attachments!
I need a little bit more guidance though...
1) I need to get rid of that big vertical scroll bar on the right all together. Basically removing that vertical empty space on the right to make more room for the program guide and details area.
2) Is there any way to change the transparency level on the Program Guide screen ONLY? If it's a global value where do I change it?
3) Lastly, where do I change the dimensions of the TV Preview Window? Can I change it just in the Program Guide screen only?
Thank a million for helping me out!!
stanger89
11-05-2005, 06:05 PM
Andy, you'll be proud of me! :) Before you know it I'll be able to design my own stv's
That's kind of the idea :D
Check out what I have so far in my attachments!
I need a little bit more guidance though...
1) I need to get rid of that big vertical scroll bar on the right all together. Basically removing that vertical empty space on the right to make more room for the program guide and details area.
The easiest way is to just turn of Mouse Icons in Detailed Setup.
Otherwise you can simply delete the "VPaging" panel in "AiringTable". Then you'll have to go to the "Airing" TableComponent (under GetAiringsOnChannelAtTime), and change it's size to make up the difference. You'll probably have to do the same for The TimeCol tablecomponent.
I'd just go with the easy way :D
2) Is there any way to change the transparency level on the Program Guide screen ONLY? If it's a global value where do I change it?
I think I found it, but I'll let andy take this one :)
3) Lastly, where do I change the dimensions of the TV Preview Window? Can I change it just in the Program Guide screen only?
Same with this one.
mkanet
11-05-2005, 07:09 PM
Thanks Stanger89!
I actually use those mouse shortcuts, all...except for that vertical scroll bar :)
Check out my EPG now!! I could only dream of customizing my Menus this way.
Only two questions remain for Andy :D
2) Is there any way to change the transparency level on the Program Guide screen ONLY? If it's a global value where do I change it?
3) Lastly, where do I change the dimensions of the TV Preview Window? Can I change it just in the Program Guide screen only?
Opus4
11-05-2005, 09:19 PM
2) Is there any way to change the transparency level on the Program Guide screen ONLY? If it's a global value where do I change it?What part of the screen are you trying to change? If you mean the top where the description is, then go back to the DetailArea panel & change its child background shape. If you mean the grid itself, then you would have to modify the shapes for all those cells in various places & that will affect more than just the grid.
3) Lastly, where do I change the dimensions of the TV Preview Window? Can I change it just in the Program Guide screen only?You would have to go back to the "EPGPreview THEME" and find the preview window code under the bolded If statement. That will affect the preview window in many places, since that is a theme used quite often.
- Andy
mkanet
11-06-2005, 02:29 PM
One last question. I promise! How can I display detailed info (star rating, year, etc.) in the TV Guide instead of the abbreviated info? Thanks so much for all your help!
Opus4
11-06-2005, 02:33 PM
View the details info for some show, use the Customize command to jump to that menu in Studio, then explore that menu's widgets to see how it uses API calls to get & display that info.
You would have to add additional info under the DetailArea panel, where the existing show info is retrieved & shown.
- Andy
mkanet
11-07-2005, 12:55 PM
I tried to copy the API calls I thought were responsible for addional movie details under the "DetailArea panel". I guess I'm either copying the wrong widgets or placing them in the wrong spot.
Maybe somebody wouldn't mind helping me find what specific objects need to be copied to the DetailArea panel to retrieve and display additional movie details.
If it's too difficult to explain or exceeds the level of support in this forum, I understand... But, I do feel like I'm very close!! :)
Opus4
11-07-2005, 01:25 PM
What kind of info are you trying to add? You should add additional info somewhere on or right after these lines, but before the ShowInfo text widget at the end of the tree:
-If(Size(GetShowEpisode(Airing)) > 0, "\"" + GetShowEpisode(Airing) + "\" - ", "")
|-this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "\n", "")
|-this + GetShowCategory(Airing) + If(Size(GetShowSubCategory(Airing)) > 0, "/" + GetShowSubCategory(Airing), "")
|-ShowInfo
- Andy
mkanet
11-07-2005, 03:39 PM
Hi Andy, I tried my very best (see below) with the limited experience I have. Would you be kind enough to take a look at my syntax and correct the errors I have? It should be pretty obvious what extra information I attempted to add to the "DetailArea" panel.
-If(Size(GetShowEpisode(Airing)) > 0, "\"" + GetShowEpisode(Airing) + "\" - ", "")
|-this + If(Size(GetShowDescription(Airing)) > 0, GetShowDescription(Airing) + "\n", "")
|-this + GetShowCategory(Airing) + If(Size(GetShowSubCategory(Airing)) > 0, "/" + GetShowSubCategory(Airing) + "\n", "")
|-this + If(Size(GetOriginalAiringDate(Airing)) > 0, GetOriginalAiringDate(Airing) + "\n", "")
|-this + If(Size(GetShowRated(Airing)) > 0, GetShowRated(Airing) + " for " + GetShowExpandedRatings(Airing) + "\n", "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Actor;LeadActor;Actress;LeadActress")) > 0, GetPeopleInShowInRoles(Airing, "Actor;LeadActor;Actress;LeadActress") + "\n", "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Supporting Actor;Supporting Actress")) > 0, GetPeopleInShowInRoles(Airing, "Supporting Actor;Supporting Actress"), "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Guest;Guest Star")) > 0, GetPeopleInShowInRoles(Airing, "Guest;Guest Star") + "\n", "")
|-ShowInfo
BTW: Your help is greatly appreciated; with this help, I will be able to help myself in the future and for others who are reading this thread :)
Opus4
11-07-2005, 03:44 PM
w/o checking any of the API calls, I see that you are adding a newline char ("\n") at the end of every added bit of info... it could just be extending down below the display area. There is limited space there, so try either not using so many newline characters or rewmove some of the extra info lines.
- Andy
mkanet
11-07-2005, 03:53 PM
Hi Andy, I purposefully added carriage returns so I can see each line displayed separately before trying to combine lines together. I also made room in the display area for testing so I can see all that I've added :)
Once I know the syntax is correct for the items I want added, I can try to start combining the displayed text with dashes, commas, etc.
Thanks!
Opus4
11-07-2005, 04:01 PM
I just realized that it is hard to tell from what you posted, but I'll bet all the new lines you added have a yellow indicator in the action widget icon. See p. 12 of the Studio manual for info on Widget Chain Types. Keep your new actions as part of the parent-child-child-text tree, so that each one is a child of the one above it.
Tutorial #7, p. 89, should also cover some of this info.
- Andy
mkanet
11-07-2005, 04:33 PM
Yes, I already have my new actions as part of the parent-child-child-text tree, so that each one is a child of the one above it as explained in the manual (Widget Chain Types).
I just need help with the syntax for the actual API calls with the conditions mentioned. I made my best guesses based on existing API calls/conditions mentioned elsewhere.
Any chance I could convince you to take a closer look to the lines I added? I basically typed from scratch my own conditions and just not sure if I did it correctly.
I also included an attachment in text format to make it easier to read...
...........................................................................................................................
|-this + If(Size(GetOriginalAiringDate(Airing)) > 0, GetOriginalAiringDate(Airing) + "\n", "")
|-this + If(Size(GetShowRated(Airing)) > 0, GetShowRated(Airing) + " for " + GetShowExpandedRatings(Airing) + "\n", "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Actor;LeadActor;Actress;LeadActress")) > 0, GetPeopleInShowInRoles(Airing, "Actor;LeadActor;Actress;LeadActress") + "\n", "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Supporting Actor;Supporting Actress")) > 0, GetPeopleInShowInRoles(Airing, "Supporting Actor;Supporting Actress"), "")
|-this + If(Size(GetPeopleInShowInRoles(Airing, "Guest;Guest Star")) > 0, GetPeopleInShowInRoles(Airing, "Guest;Guest Star") + "\n", "")
|-ShowInfo
.........................................................................................................................
I just realized that it is hard to tell from what you posted, but I'll bet all the new lines you added have a yellow indicator in the action widget icon. See p. 12 of the Studio manual for info on Widget Chain Types. Keep your new actions as part of the parent-child-child-text tree, so that each one is a child of the one above it.
Tutorial #7, p. 89, should also cover some of this info.
- Andy
Opus4
11-07-2005, 04:54 PM
Any chance I could convince you to take a closer look to the lines I added? I basically typed from scratch my own conditions and just not sure if I did it correctly.Maybe... but your text file still shows multiple actions all at the same level w/o any child widgets that lead to a text widget. That may or may not be how it is set uo in Studio, so post a screen shot of Studio with those added lines visible in the window so I can see what they actually look like.
You can also turn on Tools -> Notify on Errors to check syntax as it runs.
- Andy
mkanet
11-07-2005, 05:11 PM
Okay, this is how I have it. See the attached screenshot.
I guess, if I'm not even close, then I probably should give up trying. If I'm sort of close, maybe with a little bit of help I'll have the courage to move forward.
Opus4
11-07-2005, 05:13 PM
Take the minus signs off the start of those actions widgets.
... and turn on Notify on Errors.
- Andy
mkanet
11-07-2005, 11:48 PM
I did it Andy! :) I will always have you to thank for getting me started in Studio. I also now have to confidence to make more in depth changes.:clap:
Check out my final version of "MKANET LiveTV Guide" :D
I took a couple of screenshots...
Thanks again and sorry for being such a pain in the as. :)
vBulletin® v3.7.6, Copyright ©2000-2010, Jelsoft Enterprises Ltd.