SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2005, 08:51 AM
ja305 ja305 is offline
Sage User
 
Join Date: Nov 2005
Posts: 8
What am I missing? (filtering upcoming airings)

I'm trying to modify the tutorial that lists upcoming movies to list upcoming football games instead.

The tutorial I'm referring to is at http://www.sagetv.com/sagetvstudioInt.htm

I'm trying to modify the following line
Code:
FutureAirings = FilterByMethod(FutureAirings, "GetShowCategory", "Movie", true)
by changing the "Movie" to other things. "Sports event" works, but gives me all sporting events.

"Sports event/Football" shows up under the show information for a football game when browsing the program guide, but that returns no results.

"Football" is one of the choices for category when browsing by categories, but that returns no results either.

Could someone let me know what I'm missing?
Reply With Quote
  #2  
Old 11-09-2005, 09:38 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Sports event/Football indicates that Football is a subcategory of the sports event category.

so you would need to use:
FutureAirings = FilterByMethod(FutureAirings, "GetShowSubCategory", "Football", true)

or you can cover both categories and subcategories by using

FutureAirings = FilterByMethod(FutureAirings, "GetShowCategory|GetShowSubCategory", "Football", true)
Reply With Quote
  #3  
Old 11-09-2005, 01:58 PM
ja305 ja305 is offline
Sage User
 
Join Date: Nov 2005
Posts: 8
Thanks for your quick answer.
Reply With Quote
  #4  
Old 11-26-2005, 09:47 AM
montgomeryt montgomeryt is offline
Sage User
 
Join Date: Nov 2005
Posts: 28
Sporting Events

Would there be a way to apply this same concept to only looking for a particular team ? I want a schedule for only NC State - basketball ?
Reply With Quote
  #5  
Old 11-26-2005, 02:33 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Using SearchSelectedFields should work for that. The team name will either be in the episode or the description.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #6  
Old 11-27-2005, 09:58 AM
montgomeryt montgomeryt is offline
Sage User
 
Join Date: Nov 2005
Posts: 28
Thanks!

Awesome! Thank you !
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 06:10 PM.


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