|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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) "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? |
#2
|
||||
|
||||
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) |
#3
|
|||
|
|||
Thanks for your quick answer.
|
#4
|
|||
|
|||
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 ?
|
#5
|
||||
|
||||
Using SearchSelectedFields should work for that. The team name will either be in the episode or the description.
__________________
Jeffrey Kardatzke Founder of SageTV |
#6
|
|||
|
|||
Thanks!
Awesome! Thank you !
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|